Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Machine Learning by (19k points)

When doing fitting, I always come across code like

clf = svm.SVC(kernel='linear', C=1).fit(X_train, y_train)

(from http://scikit-learn.org/stable/modules/cross_validation.html#k-fold)

What does clf stands for? I googled around but didn't find any clues.

1 Answer

0 votes
by (33.1k points)

In terms of machine learning, Clf is an estimator instance, which is used to store model.

We use clf to store trained model values, which are further used to predict value, based on the previously stored weights.

You can check out this tutorial for more information.

To learn more about Machine learning, you can join Intellipaat's Machine learning course.

I hope this answer helps.


 

Browse Categories

...