MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

MACHINE LEARNING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Train in machine learning
A
all the data collected
B
measure the accuracy of your model, create the model
C
test the accuracy of your model
D
learning new and different skills
Explanation: 

Detailed explanation-1: -Accuracy is defined as the percentage of correct predictions for the test data. It can be calculated easily by dividing the number of correct predictions by the number of total predictions.

Detailed explanation-2: -You can get the training set predictions as y train pred = clf. predict(X train) where clf is your fitted RandomForestClassifier . After that you can use metrics. accuracy score(y train, y train pred) to get the training accuracy.

Detailed explanation-3: -Training a model simply means learning (determining) good values for all the weights and the bias from labeled examples. In supervised learning, a machine learning algorithm builds a model by examining many examples and attempting to find a model that minimizes loss; this process is called empirical risk minimization.

There is 1 question to complete.