(a) (10 Points) Assume that you are trying to get an algorithm which is supposed to...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
(a) (10 Points) Assume that you are trying to get an algorithm which is supposed to generate legit words. In default, any letter from the English alphabet is equally likely to occur right after any English letter (including itself). Now you introduce your name and last- name as separate samples to your algorithm. The algorithm will learn some information about legit words from these samples and accordingly, it will adjust the probabilities by an additive fixed value p. For example, if your name is EDA, then the algorithm adjust itself by setting the probability of having D right after E as p+1/28 similarly probability of having A right after D as p+1/28. Of course, in that case the probabilities of having other letters right after E and D will be adjusted accordingly. Algorithm works only on pairs, so the triple orders do not matter for the algorithm. For all other details, by aiming to maximize the learning capability of your algorithm, you are free to decide on the new strategies. So, what new information will the algorithm get from your name and last-name. With what probability your algorithm could generate the word MEDIPOL. With what probability your algorithm could generate your last-name. (b) (5 Points) Assume you are trying to choose 5 letters from your name and surname altogether. By using the permutation rule, find how many different selection could be made if replacement is allowed and order is not important. By using the combination rule, find how many different selection could be made if replacement is allowed and order is not important. Repeat the same process once for the case when the order is important. Even if you use the formulas we covered during the lecture, interpret all factors of the formula and explain everything you do in details. (c) (5 Points) Prove that P(EUFUG) = P(E) + P(F)+ P(G) – P(ENFNG)- P(En FENG) - P(EnFnG)- 2P(ENFOG) holds for any three sets E, F,G. (d) (5 Points) An urn contains X blue and Y black balls. If a random sample size of n is chosen, what is the probability that it contains exactly m blue balls? (e) (5 Points) X, Y, Z are three sets in a sample space S. Find P(X|YnZ) if P(X|Y) = 0.1 and P(X|Z) = 0.35 are given. (a) (10 Points) Assume that you are trying to get an algorithm which is supposed to generate legit words. In default, any letter from the English alphabet is equally likely to occur right after any English letter (including itself). Now you introduce your name and last- name as separate samples to your algorithm. The algorithm will learn some information about legit words from these samples and accordingly, it will adjust the probabilities by an additive fixed value p. For example, if your name is EDA, then the algorithm adjust itself by setting the probability of having D right after E as p+1/28 similarly probability of having A right after D as p+1/28. Of course, in that case the probabilities of having other letters right after E and D will be adjusted accordingly. Algorithm works only on pairs, so the triple orders do not matter for the algorithm. For all other details, by aiming to maximize the learning capability of your algorithm, you are free to decide on the new strategies. So, what new information will the algorithm get from your name and last-name. With what probability your algorithm could generate the word MEDIPOL. With what probability your algorithm could generate your last-name. (b) (5 Points) Assume you are trying to choose 5 letters from your name and surname altogether. By using the permutation rule, find how many different selection could be made if replacement is allowed and order is not important. By using the combination rule, find how many different selection could be made if replacement is allowed and order is not important. Repeat the same process once for the case when the order is important. Even if you use the formulas we covered during the lecture, interpret all factors of the formula and explain everything you do in details. (c) (5 Points) Prove that P(EUFUG) = P(E) + P(F)+ P(G) – P(ENFNG)- P(En FENG) - P(EnFnG)- 2P(ENFOG) holds for any three sets E, F,G. (d) (5 Points) An urn contains X blue and Y black balls. If a random sample size of n is chosen, what is the probability that it contains exactly m blue balls? (e) (5 Points) X, Y, Z are three sets in a sample space S. Find P(X|YnZ) if P(X|Y) = 0.1 and P(X|Z) = 0.35 are given.
Expert Answer:
Answer rating: 100% (QA)
a The algorithm will learn that certain letters are more likely to occur after certain other letters ... View the full answer
Related Book For
Posted Date:
Students also viewed these general management questions
-
The Constitution in Your Community Assume that you are working as a legal assistant in a law firm. Your firm has just been retained by Bob Stanton, a local man whose wife, Freda, is suffering from a...
-
Assume that you are Jackson Companys accountant. Company owner Abel Terrio has reviewed the 2011 financial statements you prepared and questions the $6,000 loss reported on the sale of its investment...
-
Assume that you are Jolee Companys accountant. Company owner Mary Jolee has reviewed the 2013 financial statements you prepared and questions the $ 6,000 loss reported on the sale of its investment...
-
A curve has equation y = x 2 ln 3x. Find the value of dy/dx and d 2 y/dx2 at the point where x = 2.
-
Refer to Exercise 8.S.16. Analyze these data using a Wilcoxon signed - rank test. Exercise 8.S.16 Aldosterone is a hormone involved in maintaining fluid balance in the body. In a veterinary study,...
-
If the heat of combustion of urea, (NH2)2CO(s), at 25(C is 631 660 J mol-1 when the products are CO2(g), H2O(l), and N2(g), what is (H((298 for urea?
-
Suppose that revenue has the form where \(h\) can be chosen and \(x\) and \(y\) are random variables. The distribution of \(x\) and \(y\) is symmetric about \((0,0)\); that is, \(-x,-y\) has the same...
-
Planning Procurement. An automobile manufacturer wants to award contracts for the supply of five different engine components. Some of the components are used in most models, while other components...
-
In 2023, Kathleen Tweardy incurs $30,000 of interest expense related to her investments. Her investment income includes $7,500 of interest, $6,000 of qualified dividends, and a $12,000 net capital...
-
The following table shows the cost of tuition at Jensen University for the years 2002-2016. Year, t Cost ($), C 2002 2004 C. 2006 2008 5000 5250 5450 5750 2010 a. Explain why the cost of tuition not...
-
Indicate the tax implications for the respective partners of the transactions for the 2018 year of assessment. INFORMATION: Pall and Mall were partners in a partnership business and share profits...
-
A $ 1 3 , 1 7 6 par - value bond is purchased at a coupon rate of 5 % . If interest payments are to be made semiannually ( every six months ) , how much will each interest payment be ? Round your...
-
W hat is the total asset turn over and return on equity for a company with an ROA of 1 3 % profit margin of 4 % and a debt ratio of 4 5 % ?
-
What did John B . Watson and Rosalie Rayner demonstrate with their studies of Little Albert?
-
What is organizational behaviour? What are the factors influencing it ?
-
To analyze the issue of poor leadership in organizations, which research paradigm works best: Interpretivism or constructivism?
-
Assume the following inputs for parts a, b, and c below. The market portfolio has an expected return of 12% and a standard deviation of returns of 20%. The risk-free rate is 5%. a) The stock ABC has...
-
Suppose that a flow network G = (V, E) violates the assumption that the network contains a path s t for all vertices V. Let u be a vertex for which there is no path s u t. Show that there must...
-
Consider the steganographic system of Fig. 9-14. Each pixel can be represented in a color space by a point in the three-dimensional system with axes for the R, G, and B values. Using this space,...
-
After the system call of the previous problem has been executed, the call munmap(65536, 8192) is carried out. Does it succeed? If so, which bytes of the file remain mapped? If not, why does it fail?
-
Does the busy waiting solution using the turn variable (Fig. 2-23) work when the two processes are running on a shared-memory multiprocessor, that is, two CPUs sharing a common memory?
-
As problems 5.18 and 5.19 reflect, the air temperature in the test section of conventional hypersonic wind tunnels is low. In reality, air liquefies at a temperature of about \(50 \mathrm{~K}\)...
-
The reservoir temperature calculated in problem 5.20 is beyond the capabilities of heaters in the reservoir of continuous-flow wind tunnels using air. This is why you do not see a Mach 20...
-
Write the \(y\) component of Eq. (6.7), and use it to derive Eq. (6.12). Equation 6.12: \(\frac{\partial(ho v)}{\partial t}+abla \cdot(ho v \mathbf{V})=-\frac{\partial p}{\partial y}+ho f_y\) V pfd7...
Study smarter with the SolutionInn App