Q. In order to assess how much information is brought by each component, and the correlation among them, a useful tool is the . . . . . . . .

  • (A) Concuttent matrix
  • (B) Convergance matrix
  • (C) Supportive matrix
  • (D) Covariance matrix
πŸ’¬ Discuss
βœ… Correct Answer: (D) Covariance matrix

Q. For a multiple regression model, SST = 200 and SSE = 50. The multiple coefficient of determination is

  • (A) 0.25
  • (B) 4
  • (C) 0.75
  • (D) none of the above
πŸ’¬ Discuss
βœ… Correct Answer: (B) 4

Q. Which of the following method(s) does not have closed form solution for its coefficients?

  • (A) ridge regression
  • (B) lasso
  • (C) both ridge and lasso
  • (D) none of both
πŸ’¬ Discuss
βœ… Correct Answer: (B) lasso

Q. Which of the following model model include a backwards elimination feature selection routine?

  • (A) mcv
  • (B) mars
  • (C) mcrs
  • (D) all above
πŸ’¬ Discuss
βœ… Correct Answer: (B) mars

Q. How is the model capacity affected with dropout rate (where model capacity means the ability of a neural network to approximate complex functions)?

  • (A) model capacity increases in increase in dropout rate
  • (B) model capacity decreases in increase in dropout rate
  • (C) model capacity is not affected on increase in dropout rate
  • (D) none of these
πŸ’¬ Discuss
βœ… Correct Answer: (B) model capacity decreases in increase in dropout rate

Q. During the treatement of cancer patients , the doctor needs to be very careful about which patients need to be given chemotherapy.Which metric should we use in order to decide the patients who should given chemotherapy?

  • (A) precision
  • (B) recall
  • (C) call
  • (D) score
πŸ’¬ Discuss
βœ… Correct Answer: (A) precision

Q. Consider the following statement containing regular expressions
var text = "testing: 1, 2, 3";
var pattern = /d+/g;
In order to check if the pattern matches, the statement is

  • (A) text==pattern
  • (B) text.equals(pattern)
  • (C) text.test(pattern)
  • (D) pattern.test(text)
πŸ’¬ Discuss
βœ… Correct Answer: (D) pattern.test(text)
Explanation: The given pattern is applied on the text given in the paranthesis.

Q. The regular expression to match any one character not between the brackets is

  • (A) […]
  • (B) [^]
  • (C) [^…]
  • (D) [D]
πŸ’¬ Discuss
βœ… Correct Answer: (C) [^…]
Explanation: The [^…] character class is used to match or draw any one character not between the brackets.

Q. What does /[^(]* regular expression indicate ?

  • (A) Match one or more characters that are not open paranthesis
  • (B) Match zero or more characters that are open paranthesis
  • (C) Match zero or more characters that are not open paranthesis
  • (D) Match one or more characters that are open paranthesis
πŸ’¬ Discuss
βœ… Correct Answer: (C) Match zero or more characters that are not open paranthesis
Explanation: We should always be careful while using * and ? as repetition characters as they may match zero instances of whatever precedes them, they are allowed to match nothing.

Q. What will be the result when non greedy repetition is used on the pattern /a+?b/ ?

  • (A) Matches the letter b preceded by the fewest number of a’s possible
  • (B) Matches the letter b preceded by any number of a
  • (C) Matches letter a preceded by letter b, in the stack order
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) Matches the letter b preceded by the fewest number of a’s possible
Explanation: Using non greedy repetition may not always produce the results you expect. /a+?b/ matches the letter b preceded by the fewest number of a’s possible.