For the function represented by the following truth table:
Vir die funksie what deur die volgende waarheidstabel vertoon word:
Find the minimum-cost product-of-sums expression.
(Hint: Begin with the product-of-maxterms and use algebraic manipulation.)
----------------------------------------------------------------------------------
Bepaal die minimum-koste produk-van-somme uidtrukking.
(Wenk: begin met die produk-van-maksterme en gebruik algebraïese manipulering.)
Identify the logical expression that corresponds to the following Venn diagram (blue = true):
Identifiseer die logiese uitdrukking wat met die volgende Venn-diagram ooreenstem (blou = waar):
Which of the following forms of gradient descent updates the weight after computing the gradient over the entire dataset ?
Given a sentence with k tokens, how many n-grams with frequency greater than zero can be obtained from the sentence where n is an arbitrary natural number ?
Naive Bayes is a generative model. Let P(d | c) be the probability of observing a document d given that it belongs to c. P(c) represents the fraction of documents belonging to class c. What are P(d|c) and P(c) respectively called ?
A spam filter classifies emails as Spam (S) or Not Spam (¬S) using the Naïve Bayes algorithm. Given a dataset, the following probabilities are known:
P(S)=0.4 (40 % of emails are spam)
P(¬S)=0.6 (60% of emails are not spam).
70% of spam emails contain "offer" and 10% of non-spam emails contain "offer".
If a new email contains the word offer, find the probability that it is spam.
Consider three language models, A, B and C. Upon evaluating each of their performances on a test set we observe that A obtains a perplexity score of 962, B a perplexity score of 170 and C a perplexity score of 109. Which of the following is most likely to be the rationale behind the difference in performance between the three.