Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

UNIT II Supervised Learning QUIZ Part 1

Total questions: 55

Worksheet time: 58mins

Name
Class
Date
1.

Suppose you are working on weather prediction, and use a learning algorithm to predict tomorrow's temperature (in degrees Centigrade/Fahrenheit). Would you treat this as a classification or a regression problem?

a)

Regression

b)

Classification

c)

None of the Above

2.

What is the main goal of machine learning?

a)

To make computers intelligent

b)

To automate manual tasks

c)

To enable computers to learn from data

d)

To create self-aware machines

3.

What is the purpose of regularization in linear regression?

a)

To make the model more complex

b)

To avoid underfitting

c)

To encourage overfitting

d)

To reduce the complexity of the model

4.

What is the primary goal of feature engineering in supervised machine learning?

a)

To reduce model complexity 

b)

To improve model interpretability 

c)

To enhance model performance

d)

To increase the number of training samples

5.

For the Given Dataset the Covariance and correlation values are

a)

136, 0.996

b)

137, 0.771

c)

152, 0.521

d)

142, 0.996

6.

For the given dataset the values of regression parameters are

a)

15.509, 4.162

b)

13.209, 3.502, 7.239

c)

17.532, 15.102, 16.772

d)

19.762, 15.302

7.

The t test value of a slope parameter of hypothesis H: B = 0 is

a)

1.24

b)

30.71

c)

14.57

d)

11.52

8.

The t test value of slope parameter for the Hypothesis H:B = 12 is

a)

17.57

b)

15.19

c)

11.57

d)

6.94

9.

What are the SSE, SSR and SST Values of the given data set respectively

a)

7.156, 5.147, 12.313

b)

10.156, 9.147, 19.313

c)

348.848, 27419.500 ,27768.348

d)

350.848, 27450.500, 27801.348

10.

What is the R-square value of the given dataset

a)

0.897

b)

0.787

c)

0.987

d)

0.657

11.

What are the types of Supervised Learning?

a)

Classification

b)

Clustering

c)

Regression

d)

Data Validation

e)

None of the above

12.
  1. Match the following

  2. 1.Univariate

  3. 2.Multivariate

  4. 3.Simple

    4.Multiple

    5.Linear

    6.Logistic

A.Only one quantitative response variable

B.Only one predictor variable

C.The response variable is qualitative

D.All parameters enter the equation linearly, possibly after transformation of the data   

E.Two or more quantitative response variables

F.Two or more predictor variables

a)

1-A, 2-B, 3-C, 4-D, 5-E, 6-F

b)

1-A, 2-E, 3-B, 4-F, 5-D, 6-C

c)

1-B, 2-A, 3-C, 4-F, 5-E, 6-D

d)

1-B, 2-D, 3-E, 4-C, 5-F, 6-A

13.

SSE(RM) = 1254.65 and SSE(FM) = 1149.00 with degree of freedom 4 and 23 respectively. Hence the F-Test has a value of

a)

0.528

b)

0.627

c)

0.567

d)

0.573

14.

What is the fundamental principle behind Bayesian algorithms?

a)

Minimizing error

b)

Maximizing accuracy

c)

Incorporating prior knowledge

d)

Optimizing computational complexity

15.

Which probability distribution is often used for modeling continuous variables in Bayesian algorithms?

a)

Bernoulli distribution

b)

Gaussian distribution

c)

Poisson distribution

d)

Exponential distribution

16.

In Bayesian Linear Regression, what is the role of the prior distribution?

a)

It represents the uncertainty in the dependent variable

b)

It represents the uncertainty in the independent variables

c)

It represents the prior knowledge about the relationship between variables

d)

It represents the noise in the data

17.

Which algorithm is used for updating beliefs in Bayesian inference?

a)

Forward-Backward Algorithm

b)

Markov Chain Monte Carlo (MCMC)

c)

Expectation-Maximization (EM)

d)

Bayes' Theorem

18.

In Bayesian inference, what does the posterior distribution represent?

a)

The prior distribution

b)

The likelihood function

c)

The joint distribution

d)

The updated belief after incorporating new evidence

19.

In Bayesian decision theory, what is the role of the loss function?

a)

To measure the accuracy of predictions

b)

To measure the uncertainty in the data

c)

To measure the cost of different decisions

d)

To measure the complexity of the model

20.

Which algorithm is used for estimating the parameters of a Bayesian non-parametric model?

a)

Variational Inference

b)

Markov Chain Monte Carlo (MCMC)

c)

Expectation-Maximization (EM)

d)

Gaussian Processes

21.

Gradient Descent is an optimization algorithm used for,

a)
  • Certain Changes in algorithm

b)
  • minimizing the cost function in various machine learning algorithms

c)
  • maximizing the cost function in various machine learning algorithms

d)
  • remaining same the cost function in various machine learning algorithms

22.

_____processes all the training examples for each iteration of gradient descent.

a)
  • Stochastic Gradient Descent

b)
  • Batch Gradient Descent

c)
  • Mini Batch gradient descent

d)
  • None of the above

23.

There are how many types of Gradient Descent?

a)

4

b)

3

c)

2

d)

1

24.

_____is a type of gradient descent which processes 1 training example per iteration.

a)
  • Batch Gradient Descent

b)
  • Stochastic Gradient Descent

c)
  • Mini Batch gradient descent

d)
  • none of these

25.

If the cost function is convex, then it converges to a _____

a)
  • global maximum

b)
  • global minimum

c)
  • local minimum

d)
  • local maximum

26.

Which is the fastest gradient descent?

a)
  • Batch Gradient Descent

b)
  • Stochastic Gradient Descent

c)
  • Mini Batch gradient descent

d)
  • none of these

27.

____________ controls the magnitude of a step taken during Gradient Descent.

a)

Parameter

b)

Step Rate

c)

Momentum

d)

Learning Rate

28.

What is the advantage of using an iterative algorithm like gradient descent ?

a)

For Nonlinear regression problems, there is no close form solutions

b)

Linear regression problems have multiple solutions

c)

Linear regression problem there is no closed form solution

29.

For ____________, the error is calculated by finding the sum of squared distance between actual and predicted values.

a)

Regression

b)

Classification

c)

Clustering

d)

None of the Above

30.

In a multiple regression model, the following statistics are given: SSE = 100, R-square = 0.995, k = 5, and n = 15. Then, the multiple coefficient of determination adjusted for degrees of freedom is

a)

0.955

b)

0.930

c)

0.900

d)

0.855

31.

In a multiple regression analysis, if the model provides a poor fit, this indicates that:

a)

the sum of squares for error will be large

b)

the standard error of estimate will be large

c)

the multiple coefficient of determination will be close to zero

d)

All of the above

32.

In a multiple regression model, the mean of the probability distribution of the error variable is assumed to be:

a)

1.0

b)

0.0

c)

Any value greater than 1

d)

k, where k is the number of independent variables included in the model

33.

To test the validity of a multiple regression model, we test the null hypothesis that the regression coefficients are all zero by applying the:

a)

t-test

b)

z-test

c)

F-test

d)

All of the Above

34.

When the independent variables are correlated with one another in a multiple regression analysis, this condition is called:

a)

heteroscedasticity

b)

homoscedasticity

c)

multicollinearity

d)

elasticity

35.

In a multiple regression analysis involving 6 independent variables, the sum of squares are calculated as: Total variation in Y = SSY = 900, SSR = 600 and SSE = 300. Then, the value of the F-test statistic for this model is:

a)

150

b)

100

c)

50

d)

None of the above

36.

In multiple regression models, the values of the error variable  are assumed to be:

a)

autocorrelated

b)

dependent of each other

c)

independent of each other

d)

always positive

37.

In a multiple regression analysis involving k independent variables and n data points, the number of degrees of freedom associated with the sum of squares for error is:

a)

k-1

b)

n-k

c)

n-1

d)

n-k-1

38.

In a multiple regression model, the probability distribution of the error variable is assumed to be:

a)

normal

b)

non-normal

c)

positively skewed

d)

negatively skewed

39.

If the regression equation is equal to y=23.6−54.2x, then 23.6 is the _____ while -54.2 is the ____ of the regression line.

a)

Slope, intercept

b)

Slope, regression coefficient

c)

Intercept, slope

d)

Radius, intercept

40.

The correct relationship between SST, SSR, and SSE is given by

a)

SSR = SST + SSE

b)

SST = SSR + SSE

c)

SSE = SSR – SST

d)

all of the above

41.

A residual is defined as

a)

The difference between the actual Y values and the mean of Y.

b)

The difference between the actual Y values and the predicted Y values.

c)

The predicted value of Y for the average X value.

d)

The square root of the slope.

42.

Which one is the least square method formula

a)

min ∑(yi - ŷi) 2

b)

min ∑(ŷi -yi)

c)

min ∑(yi - ŷi) 2

d)

min ∑(yi - ŷi)

43.

If the slope of the regression equation y = bo + b1x is positive, then

a)

as x increases y decreases

b)

as x increases so does y

c)

Either a or b is correct

d)

as x decreases y increases

44.

Least square method calculates the best-fitting line for the observed data by minimizing the sum of the squares of the _______ deviations.

a)

Vertical

b)

Horizontal

c)

Both of these

d)

None of these

45.

In regression analysis, the variable that is being predicted is

a)

the independent variable

b)

the dependent variable

c)

usually denoted by x

d)

usually denoted by r

46.

A regression analysis is inappropriate when

a)

you have two variables that are measured on an interval or ratio scale

b)

you want to make predictions for one variable based on information about another variable

c)

the pattern of data points forms a reasonably straight line.

d)

there is heteroscedasticity in the scatter plot.

47.

A multiple regression model has the form . As  increases by one unit, with  and  held constant, the y on average is expected to:

a)

increase by 1 unit

b)

increase by 12 units

c)

decrease by 4 units

d)

decrease by 16 units

48.

If multicollinearity exists among the independent variables included in a multiple regression  model, then:

a)

regression coefficients will be difficult to interpret

b)

standard errors of the regression coefficients for the correlated independent variables will increase

c)

multiple coefficient of determination will assume a value close to zero

d)

both (a) and (b) are correct statements

49.

The coefficient of multiple determination ranges from:

a)

1.0 to Infinity

b)

0.0 to 1.0

c)

1.0 to k, where k is the number of independent variables in the model

d)

1.0 to n, where n is the number of observations in the dependent variable

50.

In a simple linear regression problem, the following pairs of () are given: (6.75, 7.42), (8.96, 8.06), (10.30, 11.65), and (13.24, 12.15).  Then, the sum of squares for error is

a)

39.2500

b)

-0.0300

c)

4.2695

d)

39.2800

51.

In a multiple regression model, the value of the coefficient of multiple determination has to fall between

a)

– 1 and + 1

b)

0 and + 1

c)

– 1 and 0

d)

Any pair of real numbers

52.

In a multiple regression model, which of the following is correct regarding the value of the value of  adjusted for the degrees of freedom?

a)

It can be negative

b)

It has to be positive

c)

It has to be larger than the coefficient of multiple determination

d)

It can be larger than 1

53.

From the given data set is it true that Cor(Y, X) = Cor(Y, Y') = 0

a)

Yes

b)

No

54.

what is the t-test values for the provided coefficients 20009.5, 0.935253, 0.224337 and s.e 0.8244, 0.0500, 0.4681 respectively.

a)

24012, 25, 0.54

b)

24271, 18.7, 0.479

c)

17542, 24.5, 0.724

d)

14524, 89, 25.05

55.

what is the t-test values for the provided coefficients -16744.4, 0.850979, 0.836991 and s.e 896.4, 0.4349, 0.0448 respectively.

a)

20.07, 14.05, 7.47

b)

15.23, 9.29, 5.25

c)

-18.7, 1.96, 18.7

d)

17.7, 2.47, 19.3