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.
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.
matplotlib.pyplot.clf() Function. The clf() function in pyplot module of matplotlib library is used to clear the current figure. Syntax: matplotlib.pyplot.clf()
A clf (classifier) is a word which accompanies a noun in certain grammatical contexts. The most canonical use is numeral classifiers, where the word is used with a number for counting objects.
imveranice. 4264. 🤠✌️ (cfl means close friends list -> for insta story)
In the scikit-learn
tutorial, it's short for classifier.:
We call our estimator instance
clf
, as it is a classifier.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With