- Sort Score
- Result 10 results
- Languages All
- Labels All
Results 81 - 90 of 3,269 for 2 (0.08 sec)
-
MultinomialNB — scikit-learn 1.7.2 documentation
2. Changed in version 1.4: The default...)) >>> y = np . array ([ 1 , 2 , 3 , 4 , 5 , 6 ]) >>> from sklearn.naive_bayes...scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.MultinomialNB.html -
accuracy_score — scikit-learn 1.7.2 documentation
2 , 1 , 3 ] >>> y_true = [ 0 , 1 , 2 , 3 ] >>> accuracy_score...], [ 1 , 1 ]]), np . ones (( 2 , 2 ))) 0.5 Gallery examples # Plot...scikit-learn.org/stable/modules/generated/sklearn.metrics.accuracy_score.html -
f1_score — scikit-learn 1.7.2 documentation
2 , 0 , 1 , 2 ] >>> y_pred = [ 0 , 2 , 1 , 0 , 0...is: \[\text{F1} = \frac{2 * \text{TP}}{2 * \text{TP} + \text{FP}...scikit-learn.org/stable/modules/generated/sklearn.metrics.f1_score.html -
KNeighborsTransformer — scikit-learn 1.7.2 docu...
array([[2]])) As you can see, it returns [[0.5]], and [[2]], which..., metric = 'minkowski' , p = 2 , metric_params = None , n_jobs...scikit-learn.org/stable/modules/generated/sklearn.neighbors.KNeighborsTransformer.html -
QuadraticDiscriminantAnalysis — scikit-learn 1....
2 ]]) >>> y = np . array ([ 1 , 1 , 1 , 2 , 2 , 2 ]) >>>...- 1 ], [ - 2 , - 1 ], [ - 3 , - 2 ], [ 1 , 1 ], [ 2 , 1 ], [ 3...scikit-learn.org/stable/modules/generated/sklearn.discriminant_analysis.QuadraticDiscriminantAnal... -
Matern — scikit-learn 1.7.2 documentation
\frac{1}{\Gamma(\nu)2^{\nu-1}}\Bigg( \frac{\sqrt{2\nu}}{l} d(x_i ,...the RBF kernel. When \(\nu = 1/2\) , the Matérn kernel becomes...scikit-learn.org/stable/modules/generated/sklearn.gaussian_process.kernels.Matern.html -
SVC — scikit-learn 1.7.2 documentation
[ - 2 , - 1 ], [ 1 , 1 ], [ 2 , 1 ]]) >>> y = np...np . array ([ 1 , 1 , 2 , 2 ]) >>> from sklearn.svm import SVC...scikit-learn.org/stable/modules/generated/sklearn.svm.SVC.html -
QuantileRegressor — scikit-learn 1.7.2 document...
float \(R^2\) of self.predict(X) w.r.t. y . Notes The \(R^2\) score...n_samples , n_features = 10 , 2 >>> rng = np . random . RandomState...scikit-learn.org/stable/modules/generated/sklearn.linear_model.QuantileRegressor.html -
IsotonicRegression — scikit-learn 1.7.2 documen...
float \(R^2\) of self.predict(X) w.r.t. y . Notes The \(R^2\) score...Operations Research Vol. 14, No. 2 (May, 1989), pp. 303-308 Isotone...scikit-learn.org/stable/modules/generated/sklearn.isotonic.IsotonicRegression.html -
Bunch — scikit-learn 1.7.2 documentation
b = 2 ) >>> b [ 'b' ] 2 >>> b . b 2 >>> b . a = 3 >>>...return a (key, value) pair as a 2-tuple. Pairs are returned in LIFO...scikit-learn.org/stable/modules/generated/sklearn.utils.Bunch.html