Dataset Viewer
Auto-converted to Parquet
id
stringlengths
1
3
question
stringlengths
22
1.87k
choices
sequencelengths
4
4
answer
stringclasses
4 values
0
Suppose a file system used only for reading immutable files in random fashion. What is the best block allocation strategy?
[ "Linked-list allocation", "Continuous allocation", "Index allocation with B-tree", "Index allocation with Hash-table" ]
B
1
Suppose a file system used only for reading immutable files in random fashion. What is the best block allocation strategy? Question Options: 1. Linked-list allocation 2. Continuous allocation 3. Index allocation with B-tree 4. Index allocation with Hash-table
[ "Linked-list allocation", "Continuous allocation", "Index allocation with B-tree", "Index allocation with Hash-table" ]
B
2
Which flag prevents user programs from reading and writing kernel data?
[ "PTE_P", "PTE_U", "PTE_D", "PTE_W" ]
B
3
Which of the execution of an application are possible on a single-core machine?
[ "Concurrent execution", "Parallel execution", "Both concurrent and parallel execution", "Neither concurrent or parallel execution" ]
A
4
Which of the execution of an application are possible on a single-core machine? Question Options: 1. Concurrent execution 2. Parallel execution 3. Both concurrent and parallel execution 4. Neither concurrent or parallel execution
[ "Concurrent execution", "Parallel execution", "Both concurrent and parallel execution", "Neither concurrent or parallel execution" ]
A
5
In JOS, suppose a value is passed between two Envs. What is the minimum number of executed system calls?
[ "1", "2", "3", "4" ]
B
6
What strace tool does?
[ "It prints out system calls for given program. These system calls are always called when executing the program.", "It prints out system calls for given program. These systems calls are called only for that particular instance of the program.", "To trace a symlink. I.e. to find where the symlink points to.", "To remove wildcards from the string." ]
B
7
What is a good distance metric to be used when you want to compute the similarity between documents independent of their length?A penalty will be applied for any incorrect answers.
[ "Cosine similarity", "Euclidean distance", "Manhattan distance", "Chi-squared distance" ]
A
8
Consider a matrix factorization problem of the form $\mathbf{X}=\mathbf{W Z}^{\top}$ to obtain an item-user recommender system where $x_{i j}$ denotes the rating given by $j^{\text {th }}$ user to the $i^{\text {th }}$ item . We use Root mean square error (RMSE) to gauge the quality of the factorization obtained. Select the correct option.
[ "Given a new item and a few ratings from existing users, we need to retrain the already trained recommender system from scratch to generate robust ratings for the user-item pairs containing this item.", "Regularization terms for $\\mathbf{W}$ and $\\mathbf{Z}$ in the form of their respective Frobenius norms are added to the RMSE so that the resulting objective function becomes convex.", "For obtaining a robust factorization of a matrix $\\mathbf{X}$ with $D$ rows and $N$ elements where $N \\ll D$, the latent dimension $\\mathrm{K}$ should lie somewhere between $D$ and $N$.", "None of the other options are correct." ]
D
9
You are doing your ML project. It is a regression task under a square loss. Your neighbor uses linear regression and least squares. You are smarter. You are using a neural net with 10 layers and activations functions $f(x)=3 x$. You have a powerful laptop but not a supercomputer. You are betting your neighbor a beer at Satellite who will have a substantially better scores. However, at the end it will essentially be a tie, so we decide to have two beers and both pay. What is the reason for the outcome of this bet?
[ "Because we use exactly the same scheme.", "Because it is almost impossible to train a network with 10 layers without a supercomputer.", "Because I should have used more layers.", "Because I should have used only one layer." ]
A
10
Let the first four retrieved documents be N N R R, where N denotes a non-relevant and R a relevant document. Then the MAP (Mean Average Precision) is:
[ "1/2", "5/12", "3/4", "7/24" ]
B
11
The inverse document frequency of a term can increase
[ "by adding the term to a document that contains the term", "by removing a document from the document collection that does not contain the term", "by adding a document to the document collection that contains the term", "by adding a document to the document collection that does not contain the term" ]
D
12
Which of the following is wrong regarding Ontologies?
[ "We can create more than one ontology that conceptualize the same real-world entities", "Ontologies help in the integration of data expressed in different models", "Ontologies support domain-specific vocabularies", "Ontologies dictate how semi-structured data are serialized" ]
D
13
In a Ranked Retrieval result, the result at position k is non-relevant and at k+1 is relevant. Which of the following is always true (P@k and R@k are the precision and recall of the result set consisting of the k top ranked documents)?
[ "P@k-1 > P@k+1", "P@k-1 = P@k+1", "R@k-1 < R@k+1", "R@k-1 = R@k+1" ]
C
14
What is true regarding Fagin's algorithm?
[ "It performs a complete scan over the posting files", "It provably returns the k documents with the largest aggregate scores", "Posting files need to be indexed by TF-IDF weights", "It never reads more than (kn)½ entries from a posting list" ]
B
15
Which of the following is WRONG for Ontologies?
[ "Different information systems need to agree on the same ontology in order to interoperate.", "They help in the integration of data expressed in different models.", "They give the possibility to specify schemas for different domains.", "They dictate how semi-structured data are serialized." ]
D
16
Which of the following is WRONG for Ontologies?
[ "Different information systems need to agree on the same ontology in order to interoperate.", "They help in the integration of data expressed in different models.", "They give the possibility to specify schemas for different domains.", "They dictate how semi-structured data are serialized." ]
D
17
Maintaining the order of document identifiers for vocabulary construction when partitioning the document collection is important
[ "in the index merging approach for single node machines", "in the map-reduce approach for parallel clusters", "in both", "in neither of the two" ]
A
18
Which of the following is correct regarding Crowdsourcing?
[ "Random Spammers give always the same answer for every question", "It is applicable only for binary classification problems", "Honey Pot discovers all the types of spammers but not the sloppy workers", "The output of Majority Decision can be equal to the one of Expectation-Maximization" ]
D
19
When computing PageRank iteratively, the computation ends when...
[ "The difference among the eigenvalues of two subsequent iterations falls below a predefined threshold", "The norm of the difference of rank vectors of two subsequent iterations falls below a predefined threshold", "All nodes of the graph have been visited at least once", "The probability of visiting an unseen node falls below a predefined threshold" ]
B
20
How does LSI querying work?
[ "The query vector is treated as an additional term; then cosine similarity is computed", "The query vector is transformed by Matrix S; then cosine similarity is computed", "The query vector is treated as an additional document; then cosine similarity is computed", "The query vector is multiplied with an orthonormal matrix; then cosine similarity is computed" ]
C
21
Suppose that an item in a leaf node N exists in every path. Which one is correct?
[ "N co-occurs with its prefix in every transaction.", "For every node P that is a parent of N in the fp tree, confidence(P->N) = 1", "N’s minimum possible support is equal to the number of paths.", "The item N exists in every candidate set." ]
C
22
In a Ranked Retrieval result, the result at position k is non-relevant and at k+1 is relevant. Which of the following is always true (P@k and R@k are the precision and recall of the result set consisting of the k top ranked documents)? Question Options: 1. P@k-1 > P@k+1 2. P@k-1 = P@k+1 3. R@k-1 < R@k+ 4. R@k-1 = R@k+1
[ "P@k-1 > P@k+1", "P@k-1 = P@k+1", "R@k-1 < R@k+", "R@k-1 = R@k+1" ]
C
23
For the number of times the apriori algorithm and the FPgrowth algorithm for association rule mining are scanning the transaction database the following is true
[ "fpgrowth has always strictly fewer scans than apriori", "fpgrowth and apriori can have the same number of scans", "apriori cannot have fewer scans than fpgrowth", "all three above statements are false" ]
B
24
Given the following teleporting matrix (Ε) for nodes A, B and C:[0    ½    0][0     0    0][0    ½    1]and making no assumptions about the link matrix (R), which of the following is correct:(Reminder: columns are the probabilities to leave the respective node.)
[ "A random walker can never reach node A", "A random walker can never leave node A", "A random walker can always leave node C", "A random walker can always leave node B" ]
D
25
Given the following teleporting matrix (?) for nodes A, B and C:[0??? ???? 0][0???? 0??? 0][0??? ???? 1]and making no assumptions about the link matrix (R), which of the following is correct:(Reminder: columns are the probabilities to leave the respective node.)
[ "A random walker can never reach node A", "A random walker can never leave node A", "A random walker can always leave node C", "A random walker can always leave node B" ]
D
26
Given the following teleporting matrix (\u0395) for nodes A, B and C:[0 ½ 0][0 0 0][0 ½ 1]and making no assumptions about the link matrix (R), which of the following is correct:(Reminder: columns are the probabilities to leave the respective node.)
[ "A random walker can never reach node A", "A random walker can never leave node A", "A random walker can always leave node C", "A random walker can always leave node B" ]
D
27
Given the following teleporting matrix (Ε) for nodes A, B and C:[0    ½    0][0     0    0][0    ½    1]and making no assumptions about the link matrix (R), which of the following is correct:(Reminder: columns are the probabilities to leave the respective node.)
[ "A random walker can never reach node A", "A random walker can never leave node A", "A random walker can always leave node C", "A random walker can always leave node B" ]
D
28
Which of the following methods does not exploit statistics on the co-occurrence of words in a text?
[ "Word embeddings\n\n\n", "Transformers\n\n\n", "Vector space retrieval\n\n\n", "Fasttext" ]
C
29
Which attribute gives the best split?A1PNa44b44A2PNx51y33A3PNt61j23
[ "A1", "A3", "A2", "All the same" ]
B
30
Suppose that q is density reachable from p. The chain of points that ensure this relationship are {t,u,g,r} Which one is FALSE?
[ "{t,u,g,r} have to be all core points.", "p and q will also be density-connected", "p has to be a core point", "q has to be a border point" ]
D
31
The term frequency of a term is normalized
[ "by the maximal frequency of all terms in the document", "by the maximal frequency of the term in the document collection", "by the maximal frequency of any term in the vocabulary", "by the maximal term frequency of any document in the collection" ]
A
32
When compressing the adjacency list of a given URL, a reference list
[ "Is chosen from neighboring URLs that can be reached in a small number of hops", "May contain URLs not occurring in the adjacency list of the given URL", "Lists all URLs not contained in the adjacency list of given URL", "All of the above" ]
B
33
Data being classified as unstructured or structured depends on the:
[ "Degree of abstraction", "Level of human involvement", "Type of physical storage", "Amount of data " ]
A
34
Data being classified as unstructured or structured depends on the: Question Options: 1. Degree of abstraction 2. Level of human involvement 3. Type of physical storage 4. Amount of data
[ "Degree of abstraction", "Level of human involvement", "Type of physical storage", "Amount of data " ]
A
35
Suppose you have a search engine that retrieves the top 100 documents and achieves 90% precision and 20% recall. You modify the search engine to retrieve the top 200 and mysteriously, the precision stays the same. Which one is CORRECT?
[ "The recall becomes 10%", "The number of relevant documents is 450", "The F-score stays the same", "This is not possible" ]
B
36
In the χ2 statistics for a binary feature, we obtain P(χ2 | DF = 1) > 0.05. This means in this case, it is assumed:
[ "That the class labels depends on the feature", "That the class label is independent of the feature", "That the class label correlates with the feature", "None of the above" ]
B
37
Which of the following is correct regarding the use of Hidden Markov Models (HMMs) for entity recognition in text documents? Question Options: 1. The cost of learning the model is quadratic in the lengths of the text. 2. The cost of predicting a word is linear in the lengths of the text preceding the word. 3. An HMM model can be built using words enhanced with morphological features as input. 4. The label of one word is predicted based on all the previous labels
[ "The cost of learning the model is quadratic in the lengths of the text.", "The cost of predicting a word is linear in the lengths of the text preceding the word.", "An HMM model can be built using words enhanced with morphological features as input.", "The label of one word is predicted based on all the previous labels" ]
C
38
Which of the following is correct regarding the use of Hidden Markov Models (HMMs) for entity recognition in text documents?
[ "The cost of learning the model is quadratic in the lengths of the text.", "The cost of predicting a word is linear in the lengths of the text preceding the word.", "An HMM model can be built using words enhanced with morphological features as input.", "The label of one word is predicted based on all the previous labels" ]
C
39
10 itemsets out of 100 contain item A, of which 5 also contain B. The rule A -> B has:
[ "5% support and 10% confidence", "10% support and 50% confidence", "5% support and 50% confidence", "10% support and 10% confidence" ]
C
40
A basic statement in RDF would be expressed in the relational data model by a table
[ "with one attribute", "with two attributes", "with three attributes", "cannot be expressed in the relational data model" ]
B
41
Which of the following statements is wrong regarding RDF?
[ "An RDF statement would be expressed in SQL as a tuple in a table", "Blank nodes in RDF graphs correspond to the special value NULL in SQL", "The object value of a type statement corresponds to a table name in SQL", "RDF graphs can be encoded as SQL databases" ]
B
42
The number of non-zero entries in a column of a term-document matrix indicates:
[ "how many terms of the vocabulary a document contains", "how often a term of the vocabulary occurs in a document", "how relevant a term is for a document ", "none of the other responses is correct" ]
A
43
A false negative in sampling can only occur for itemsets with support smaller than
[ "the threshold s", "p*s", "p*m", "None of the above" ]
D
44
Why is XML a document model?
[ "It supports application-specific markup", "It supports domain-specific schemas", "It has a serialized representation", "It uses HTML tags" ]
C
45
A retrieval model attempts to capture
[ "the interface by which a user is accessing information", "the importance a user gives to a piece of information for a query", "the formal correctness of a query formulation by user", "the structure by which a document is organised" ]
B
46
When computing HITS, the initial values
[ "Are set all to 1", "Are set all to 1/n", "Are set all to 1/sqrt(n)", "Are chosen randomly" ]
C
47
When indexing a document collection using an inverted file, the main space requirement is implied by
[ "The access structure", "The vocabulary", "The index file", "The postings file" ]
D
48
Which statement is correct?
[ "The Viterbi algorithm works because words are independent in a sentence", "The Viterbi algorithm works because it is applied to an HMM model that makes an independence assumption on the word dependencies in sentences", "The Viterbi algorithm works because it makes an independence assumption on the word dependencies in sentences", "The Viterbi algorithm works because it is applied to an HMM model that captures independence of words in a sentence" ]
B
49
Which of the following is WRONG about inverted files? (Slide 24,28 Week 3)
[ "The space requirement for the postings file is O(n)", "Variable length compression is used to reduce the size of the index file", "The index file has space requirement of O(n^beta), where beta is about 1⁄2", "Storing differences among word addresses reduces the size of the postings file" ]
B
50
Which of the following is WRONG about inverted files?
[ "The space requirement for the postings file is O(n)", "Variable length compression is used to reduce the size of the index file", "The index file has space requirement of O(n^beta), where beta is about 1⁄2", "Storing differences among word addresses reduces the size of the postings file" ]
B
51
In User-Based Collaborative Filtering, which of the following is TRUE?
[ "Pearson Correlation Coefficient and Cosine Similarity have the same value range and return the same similarity ranking for the users.", "Pearson Correlation Coefficient and Cosine Similarity have different value ranges and can return different similarity rankings for the users", "Pearson Correlation Coefficient and Cosine Similarity have different value ranges, but return the same similarity ranking for the users", "Pearson Correlation Coefficient and Cosine Similarity have the same value range but can return different similarity rankings for the users" ]
B
52
Which of the following is TRUE for Recommender Systems (RS)?
[ "The complexity of the Content-based RS depends on the number of users", "Item-based RS need not only the ratings but also the item features", "Matrix Factorization is typically robust to the cold-start problem.", "Matrix Factorization can predict a score for any user-item combination in the dataset." ]
D
53
When using bootstrapping in Random Forests, the number of different data items used to construct a single tree is:
[ "Smaller than the size of the training data set with high probability", "Of order square root of the size of the training set with high probability", "The same as the size of the training data set", "Depends on the outcome of the sampling process, and can be both smaller or larger than the training set" ]
A
54
To constrain an object of an RDF statement from being of an atomic type (e.g., String), one has to use the following RDF/RDFS property:
[ "rdf:type", "rdfs:range", "rdfs:domain", "rdfs:subClassOf" ]
B
55
What is a correct pruning strategy for decision tree induction?
[ "Apply Maximum Description Length principle", "Stop partitioning a node when either positive or negative samples dominate the samples of the other class", "Choose the model that maximizes L(M) + L(M|D)", "Remove attributes with lowest information gain" ]
B
56
In the first pass over the database of the FP Growth algorithm
[ "Frequent itemsets are extracted", "A tree structure is constructed", "The frequency of items is computed", "Prefixes among itemsets are determined" ]
C
57
Your input is "Distributed Information Systems". Your model tries to predict "Distributed" and "Systems" by leveraging the fact that these words are in the neighborhood of "Information". This model can be:
[ "Bag of Words", "Word Embeddings", "LDA", "kNN" ]
B
58
Considering the transaction below, which one is WRONG? |Transaction ID |Items Bought| |--|--| |1|Tea| |2|Tea, Yoghurt| |3|Tea, Yoghurt, Kebap| |4 |Kebap | |5|Tea, Kebap|
[ "{Yoghurt} -> {Kebab} has 50% confidence", "{Yoghurt, Kebap} has 20% support", "{Tea} has the highest support", "{Yoghurt} has the lowest support among all itemsets" ]
D
59
Which is an appropriate method for fighting skewed distributions of class labels in classification?
[ "Include an over-proportional number of samples from the larger class", "Use leave-one-out cross validation", "Construct the validation set such that the class label distribution approximately matches the global distribution of the class labels", "Generate artificial data points for the most frequent classes" ]
C
60
Which of the following is true in the context of inverted files?
[ "Index merging compresses an inverted file index on disk and reduces the storage cost", "The trie structure used for index construction is also used as a data access structure to terms in the vocabulary", "The finer the addressing granularity used in documents, the smaller the posting file becomes", "Inverted files are optimized for supporting search on dynamic text collections" ]
B
61
The type statement in RDF would be expressed in the relational data model by a table
[ "with one attribute", "with two attributes", "with three attributes", "cannot be expressed in the relational data model" ]
A
62
Given graph 1→2, 1→3, 2→3, 3→2, switching from Page Rank to Teleporting PageRank will have an influence on the value(s) of: Question Options: 1. All the nodes 2. Node 1 3. Node 2 and 3 4. No nodes. The values will stay unchanged.
[ "All the nodes", "Node 1", "Node 2 and 3", "No nodes. The values will stay unchanged." ]
A
63
Given graph 1→2, 1→3, 2→3, 3→2, switching from Page Rank to Teleporting PageRank will have an influence on the value(s) of:
[ "All the nodes", "Node 1", "Node 2 and 3", "No nodes. The values will stay unchanged." ]
A
64
Given graph 1→2, 1→3, 2→3, 3→2, switching from Page Rank to Teleporting PageRank will have an influence on the value(s) of:
[ "All the nodes", "Node 1", "Node 2 and 3", "No nodes. The values will stay unchanged." ]
A
65
Which of the following is true regarding the random forest classification algorithm?
[ "It is not suitable for parallelization.", "It uses only a subset of features for learning in each weak learner.", "We compute a prediction by randomly selecting the decision of one weak learner.", "It produces a human interpretable model." ]
B
66
How does matrix factorization address the issue of missing ratings?
[ "It uses regularization of the rating matrix", "It performs gradient descent only for existing ratings", "It sets missing ratings to zero", "It maps ratings into a lower-dimensional space" ]
B
67
When constructing a word embedding, negative samples are
[ "word - context word combinations that are not occurring in the document collection", "context words that are not part of the vocabulary of the document collection", "all less frequent words that do not occur in the context of a given word", "only words that never appear as context word" ]
A
68
Which of the following tasks would typically not be solved by clustering?
[ "Community detection in social networks", "Discretization of continuous features", "Spam detection in an email system", "Detection of latent topics in a document collection" ]
C
69
In general, what is true regarding Fagin's algorithm?
[ "It performs a complete scan over the posting files", "It provably returns the k documents with the largest aggregate scores", "Posting files need to be indexed by the TF-IDF weights", "It never reads more than (kn)½ entries from a posting list" ]
B
70
Which of the following statements is correct in the context of  information extraction?
[ "A confidence measure that prunes too permissive patterns discovered with bootstrapping can help reducing semantic drift", "The bootstrapping technique requires a dataset where statements are labelled", "Distant supervision typically uses low-complexity features only, due to the lack of training data", "For supervised learning, sentences in which NER has detected no entities are used as negative samples" ]
A
71
Which of the following statements is correct in the context of  information extraction?
[ "A confidence measure that prunes too permissive patterns discovered with bootstrapping can help reducing semantic drift", "The bootstrapping technique requires a dataset where statements are labelled", "Distant supervision typically uses low-complexity features only, due to the lack of training data", "For supervised learning, sentences in which NER has detected no entities are used as negative samples" ]
A
72
In vector space retrieval each row of the matrix M corresponds to
[ "A document", "A concept", "A query", "A term" ]
D
73
Applying SVD to a term-document matrix M. Each concept is represented in K
[ "as a singular value", "as a linear combination of terms of the vocabulary", "as a linear combination of documents in the document collection", "as a least squares approximation of the matrix M" ]
B
74
An HMM model would not be an appropriate approach to identify
[ "Named Entities", "Part-of-Speech tags", "Concepts", "Word n-grams" ]
D
75
Which of the following is NOT an (instance-level) ontology?
[ "Wordnet", "WikiData", "Schema.org", "Google Knowledge Graph" ]
C
76
What is our final goal in machine learning? (One answer)
[ " Generalize ", " Underfit", " Overfit ", " Megafit " ]
A
77
A model predicts $\mathbf{\hat{y}} = [1, 0, 1, 1, 1]$. The ground truths are $\mathbf{y} = [1, 0, 0, 1, 1]$. What is the accuracy?
[ "0.5", "0.75", "0.8", "0.875" ]
C
78
You write a Python code to optimize the weights of your linear regression with 10 features \textbf{using gradient descent} for 500 epochs. What is the minimum number of for-loops you need to perform your optimization?
[ "Two for-loops, one to iterate over the weights and the other to iterate over the epochs", "Only one for-loop to iterate over the epochs.", "Only one for-loop to iterate over the weights.", "No for-loop is really necessary. Everything can be vectorized" ]
B
79
Fill the missing line of code: (one answer)\\ \hspace*{.5cm} \#code missing\\ \hspace*{.5cm} np.mean(np.random.randn(1000))\\ Question Options: 1. import np 2. import numpy 3. import numpy as np 4. import np.mean\\ import np.random
[ "import np", "import numpy", "import numpy as np", "import np.mean\\\\\n\t\timport np.random" ]
C
80
Fill the missing line of code: (one answer)\\ \hspace*{.5cm} \#code missing\\ \hspace*{.5cm} np.mean(np.random.randn(1000))\\
[ "import np", "import numpy", "import numpy as np", "import np.mean\\\\\n\t\timport np.random" ]
C
81
What is the output of the following block of Python code? (one answer) \\ \verb|my_string = `computational'| \\ \verb|print(my_string[1])|\\ \verb|print(my_string[3:5])| \vspace{0.25cm}
[ "c\\\\mpu", "c\\\\mp", "o\\\\put", "o\\\\pu" ]
D
82
You are using a 3-layer fully-connected neural net with \textbf{ReLU activations}. Your input data has components in [0, 1]. \textbf{You initialize all your weights to -10}, and set all the bias terms to 0. You start optimizing using SGD. What will likely happen?
[ "The gradient is 0 so nothing happens", "The gradient is very large so the model can't converge", "Training is fine, but our neural net does only as well as a linear model", "Everything is fine" ]
A
83
Mean Square Error loss:
[ "Minimizing the distance between the predicted point and the true point", "Maximizing the probability of the correct class", "Minimizing the score of false classes when they are close, or bigger than, the score of the true class", "Maximizing the accuracy" ]
A
84
Mean Square Error loss: Question Options: 1. Minimizing the distance between the predicted point and the true point 2. Maximizing the probability of the correct class 3. Minimizing the score of false classes when they are close, or bigger than, the score of the true class 4. Maximizing the accuracy
[ "Minimizing the distance between the predicted point and the true point", "Maximizing the probability of the correct class", "Minimizing the score of false classes when they are close, or bigger than, the score of the true class", "Maximizing the accuracy" ]
A
85
Consider the following PyTorch code: class ThreeLayerNet (nn.Module): def __init__(): super().__init__() def forward(x): x = nn.Linear(100, 10)(x) x = nn.ReLU()(x) x = nn.Linear(10, 200)(x) x = nn.ReLU()(x) x = nn.Linear(200, 1)(x) return x Suppose that inputs are 100-dimensional, and outputs are 1-dimensional. What will happen if we try to train this network?
[ "There will be an error because we are re-using the variable x throughout the forward() method.", "There will be an error because the second layer has more neurons than the first. The number of neurons must never increase from one layer to the next.", "The model will not train properly. The performance will be the same at the beginning of the first epoch and at the end of the last epoch.", "Everything is fine." ]
C
86
You are using a 3-layer fully-connected neural net with \textbf{ReLU activations}. Your input data has components in [0, 1]. \textbf{You initialize your weights by sampling from $\mathcal{N}(-10, 0.1)$ (Gaussians of mean -10 and variance 0.1)}, and set all the bias terms to 0. You start optimizing using SGD. What will likely happen?
[ "The gradient is 0 so nothing happens", "The gradient is very large so the model can't converge", "Training is fine, but our neural net does only as well as a linear model", "Everything is fine" ]
A
87
The \textbf{parameters} (weights \textbf{W}) are learned with ... (One answer)
[ " training ", " validation ", " test ", " all the data together " ]
A
88
The \textbf{hyperparameters} are learned with ... (One answer)
[ " training ", " validation ", " test ", " all the data together " ]
B
89
We report the final performance (e.g., accuracy) on the ... (One answer)
[ " training ", " validation ", " test ", " all the data together " ]
C
90
Consider the function $f(x)=-x^{2}$. Which of the following statements are true regarding subgradients of $f(x)$ at $x=0$ ?
[ "A subgradient does not exist as $f(x)$ is differentiable at $x=0$.", "A subgradient exists but is not unique.", "A subgradient exists and is unique.", "A subgradient does not exist even though $f(x)$ is differentiable at $x=0$." ]
D
91
When constructing a word embedding, what is true regarding negative samples?
[ "They are words that do not appear as context words", "They are selected among words which are not stop words", "Their frequency is decreased down to its logarithm", "They are oversampled if less frequent" ]
D
92
If the top 100 documents contain 50 relevant documents
[ "the precision of the system at 50 is 0.25", "the precision of the system at 100 is 0.5", "the recall of the system is 0.5", "All of the above" ]
B
93
What is WRONG regarding the Transformer model?
[ "It uses a self-attention mechanism to compute representations of the input and output.", "Its computation cannot be parallelized compared to LSTMs and other sequential models.", "Its complexity is quadratic to the input size.", "It captures the semantic context of the input." ]
B
94
Suppose that in a given FP Tree, an item in a leaf node N exists in every path. Which of the following is true?
[ "N co-occurs with its prefixes in every transaction", "{N}’s minimum possible support is equal to the number of paths", "For every node P that is a parent of N in the FP tree, confidence(P->N) = 1", "The item N exists in every candidate set" ]
B
95
Modularity of a social network always:
[ "Increases with the number of communities", "Increases when an edge is added between two members of the same community", "Decreases when new nodes are added to the social network that form their own communities", "Decreases if an edge is removed" ]
B
96
Which of the following statements is correct concerning the use of Pearson’s Correlation for user- based collaborative filtering?
[ "It measures whether different users have similar preferences for the same items", "It measures how much a user’s ratings deviate from the average ratings I", "t measures how well the recommendations match the user’s preferences", "It measures whether a user has similar preferences for different items" ]
A
97
Which of the following statements is correct concerning the use of Pearson’s Correlation for user- based collaborative filtering?
[ "It measures whether different users have similar preferences for the same items", "It measures how much a user’s ratings deviate from the average ratings I", "t measures how well the recommendations match the user’s preferences", "It measures whether a user has similar preferences for different items" ]
A
98
Which is true about the use of entropy in decision tree induction?
[ "The entropy of the set of class labels of the samples from the training set at the leaf level is always 0", "We split on the attribute that has the highest entropy", "The entropy of the set of class labels of the samples from the training set at the leaf level can be 1", "We split on the attribute that has the lowest entropy" ]
C
99
Modularity clustering will end up always with the same community structure?
[ "True", "Only for connected graphs", "Only for cliques", "False" ]
D
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
6