Search Options

Results per page
Sort
Preferred Languages
Labels
Advance

Results 81 - 90 of 3,269 for 2 (0.08 sec)

  1. 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
    Wed Sep 24 16:15:26 UTC 2025
      151.8K bytes
      Cache
     
  2. 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
    Fri Sep 26 00:57:38 UTC 2025
      116.4K bytes
      Cache
     
  3. 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
    Wed Sep 24 16:15:25 UTC 2025
      125.3K bytes
      Cache
     
  4. 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
    Wed Sep 24 16:15:24 UTC 2025
      146.1K bytes
      Cache
     
  5. 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...
    Fri Sep 26 00:57:37 UTC 2025
      141.5K bytes
      Cache
     
  6. 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
    Fri Sep 26 00:57:37 UTC 2025
      126.9K bytes
      Cache
     
  7. 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
    Fri Sep 26 00:57:38 UTC 2025
      176.5K bytes
      Cache
     
  8. 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
    Wed Sep 24 16:15:25 UTC 2025
      139K bytes
      Cache
     
  9. 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
    Fri Sep 26 00:57:37 UTC 2025
      145.7K bytes
      Cache
     
  10. 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
    Wed Sep 24 16:15:25 UTC 2025
      118.3K bytes
      Cache
     
Back to top