CoreHRx Jobs

Apply in one click, save jobs and take free mock tests.

Register free Log in
Hiring? Post jobs with CoreHRx
My account
user

View & update profile

Machine Learning mock test: free online practice

15 to 30 random questions in 15 to 30 minutes, by the level you choose: regression, trees, svm, clustering, metrics, tuning and deployment. After you submit you get your score, your strong and weak topics, and the right answer with an explanation for every question.

Want to revise first? Read the Machine Learning interview questions and answers.

Choose your experience

Free with a CoreHRx Jobs account: you will be asked to sign in or create one first.

What does the Machine Learning mock test cover?

The test covers 13 topics across three levels. Each attempt picks 15 to 30 questions at random, by the level you choose, so every attempt is different.

  • Decision Trees and Ensembles
  • Evaluation Metrics
  • Cross-Validation and Tuning
  • Feature Engineering
  • Clustering and PCA
  • Linear Regression
  • Logistic Regression and Classification
  • Overfitting and Regularization
  • SVM and KNN
  • ML in Production
  • Imbalanced Data
  • Neural Network Basics
  • ML Basics

Sample Machine Learning mock test questions

One question from each level, the way they appear in the test. A new set comes on the 1st of every month. Try it, then open the answer.

  1. FresherLinear Regression

    A model predicts flat prices in lakh rupees. What is the mean absolute error (MAE)?

    actual    = [50, 60, 80]
    predicted = [55, 58, 71]
    • 6.06
    • 16.00
    • 5.33
    • 36.67
    Show the answer

    Answer: 5.33. The absolute errors are 5, 2 and 9 lakh, so MAE = 16 / 3 = 5.33 lakh. 36.67 is the MSE (squares 25, 4 and 81 averaged), and MAE stays in the same unit as the target, which makes it easy to explain.

  2. Intermediate (1-5 years)SVM and KNN

    Ankit calls predict_proba on SVC() and gets an AttributeError. Why?

    • SVC can never return probabilities, whatever you set
    • He must call decision_function first to unlock it
    • It needs SVC(probability=True)
    • predict_proba is available only when the SVC is created with kernel="linear"
    Show the answer

    Answer: It needs SVC(probability=True). By default SVC gives only decision_function scores. With probability=True it fits Platt scaling with internal cross-validation, which makes fit slower and the probabilities may not match predict exactly.

  3. Experienced (5+ years)Overfitting and Regularization

    Why does adding many noise features hurt KNN more than an L1-regularised linear model?

    • Noise features speed up KNN, which lowers its accuracy
    • L1 zeroes noise weights; KNN uses every feature
    • KNN detects the noise features and drops them before it predicts anything
    • L1 models can use at most ten features, so noise is cut
    Show the answer

    Answer: L1 zeroes noise weights; KNN uses every feature. Lasso learns a weight per feature and can set useless ones to exactly 0. KNN has no weights: every noise column adds random distance and blurs who the real neighbours are.

Take the full Machine Learning mock test: 15 to 30 questions and 15 to 30 minutes, by level.

How is the Machine Learning mock test scored?

A question counts as right only when you pick exactly the right option, or all the right options where it says so; a question left blank counts as wrong. Your score is the share of the test's questions you got right (15 to 30, by level). The result also scores every topic, so you know what to revise before the interview.

  • 75% or more in a topica strength
  • 50% to 74%worth a revision
  • Under 50%a topic to work on

Machine Learning mock test: questions people ask

Is the Machine Learning mock test free?

Yes. The Machine Learning mock test is free. You need a free CoreHRx Jobs account to start it, so your score and the topics to work on are saved.

How many questions are in the Machine Learning mock test?

It depends on the level: Fresher has 15 questions in 15 minutes, Intermediate has 20 questions in 20 minutes, Experienced has 30 questions in 30 minutes. They are multiple-choice questions picked at random from a larger bank of Machine Learning questions at your level, so every attempt is different.

Which Machine Learning topics does the test cover?

The questions cover Decision Trees and Ensembles, Evaluation Metrics, Cross-Validation and Tuning, Feature Engineering, Clustering and PCA, Linear Regression, Logistic Regression and Classification, Overfitting and Regularization, SVM and KNN, ML in Production, Imbalanced Data, Neural Network Basics, ML Basics. Your result shows how you did in each topic.

Which level should I choose?

Fresher if you are a student or have less than a year of experience, Intermediate for 1 to 5 years at work, and Experienced for 5 years or more.

Can employers see my Machine Learning score?

Only your best Machine Learning score, and only when it is 60% or more. It shows on the job applications you send on CoreHRx. Lower scores stay private.

Can I take the Machine Learning mock test again?

Yes, up to 10 tests a day. Each attempt picks questions you have not seen recently first.

All mock tests