What does clf mean in machine learning?

Question:

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 stand for? I googled around but didn’t find any clues.

Asked By: cqcn1991

||

Answers:

In the link you provided, clf refers to classifier.

Answered By: el3ati2

In the scikit-learn tutorial, it’s short for classifier.:

We call our estimator instance clf, as it is a classifier.

Answered By: Chris

You can write svm_model or any easy name at place of of clf for better understanding.

Answered By: SWARNIM SINGH