- Sort Score
- Result 10 results
- Languages All
- Labels All
Results 31 - 40 of 3,183 for 2 (1.14 sec)
-
KNeighborsRegressor — scikit-learn 1.7.2 docume...
array([[2]])) As you can see, it returns [[0.5]], and [[2]], which...float \(R^2\) of self.predict(X) w.r.t. y . Notes The \(R^2\) score...scikit-learn.org/stable/modules/generated/sklearn.neighbors.KNeighborsRegressor.html -
OPTICS — scikit-learn 1.7.2 documentation
2 (1999): 49-60. [ 2 ] Schubert, Erich, Michael...>>> X = np . array ([[ 1 , 2 ], [ 2 , 5 ], [ 3 , 6 ], ... [ 8...scikit-learn.org/stable/modules/generated/sklearn.cluster.OPTICS.html -
KBinsDiscretizer — scikit-learn 1.7.2 documenta...
[ 2., 2., 2., 1.], [ 2., 2., 2., 2.]]) Sometimes...>>> X = [[ - 2 , 1 , - 4 , - 1 ], ... [ - 1 , 2 , - 3 , - 0.5...scikit-learn.org/stable/modules/generated/sklearn.preprocessing.KBinsDiscretizer.html -
NearestNeighbors — scikit-learn 1.7.2 documenta...
2 , return_distance = False ) array([[2, 0]]...) >>>...array([[2]])) As you can see, it returns [[0.5]], and [[2]], which...scikit-learn.org/stable/modules/generated/sklearn.neighbors.NearestNeighbors.html -
ElasticNet — scikit-learn 1.7.2 documentation
function: 1 / ( 2 * n_samples ) * || y - Xw ||^ 2_2 + alpha * l1_ratio...it is: 1 / ( 2 * n_samples ) * || y - Xw ||^ 2_2 + alpha * l1_ratio...scikit-learn.org/stable/modules/generated/sklearn.linear_model.ElasticNet.html -
IncrementalPCA — scikit-learn 1.7.2 documentation
[ - 2 , - 1 ], [ - 3 , - 2 ], ... [ 1 , 1 ], [ 2 , 1 ], [...O(batch_size * n_features ** 2) , but only 2 * batch_size samples remain...scikit-learn.org/stable/modules/generated/sklearn.decomposition.IncrementalPCA.html -
PLSCanonical — scikit-learn 1.7.2 documentation
[ 2. , 2. , 2. ], [ 2. , 5. , 4. ]] >>> y =...= [[ 0.1 , - 0.2 ], [ 0.9 , 1.1 ], [ 6.2 , 5.9 ], [ 11.9 , 12.3...scikit-learn.org/stable/modules/generated/sklearn.cross_decomposition.PLSCanonical.html -
NearestCentroid — scikit-learn 1.7.2 documentation
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.neighbors.NearestCentroid.html -
LabelBinarizer — scikit-learn 1.7.2 documentation
2 , 6 , 4 , 2 ]) LabelBinarizer() >>>...array([0, 1, 2]) >>> lb . transform ([ 0 , 1 , 2 , 1 ]) array([[1,...scikit-learn.org/stable/modules/generated/sklearn.preprocessing.LabelBinarizer.html -
LassoCV — scikit-learn 1.7.2 documentation
is: ( 1 / ( 2 * n_samples )) * || y - Xw ||^ 2_2 + alpha * ||...is: ( 1 / ( 2 * n_samples )) * || y - Xw ||^ 2_2 + alpha * ||...scikit-learn.org/stable/modules/generated/sklearn.linear_model.LassoCV.html