Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/scikit-learn/scikit-learn
/ take
Method
take
sklearn/utils/_mocking.py:64–65 ·
view source on GitHub ↗
(self, indices, axis=0)
Source
from the content-addressed store, hash-verified
62
return
not self == other
63
64
def
take(self, indices, axis=0):
65
return
MockDataFrame(self.array.take(indices, axis=axis))
66
67
68
class
CheckingClassifier(ClassifierMixin, BaseEstimator):
Callers
15
predict
Method · 0.80
cross_val_predict
Function · 0.80
_iter_indices
Method · 0.80
test_stratified_kfold_label_invariance
Function · 0.80
extract
Function · 0.80
predict
Method · 0.80
predict
Method · 0.80
svd_flip
Function · 0.80
stable_cumsum
Function · 0.80
_array_indexing
Function · 0.80
_pandas_indexing
Function · 0.80
compute_sample_weight
Function · 0.80
Calls
1
MockDataFrame
Class · 0.85
Tested by
4
test_stratified_kfold_label_invariance
Function · 0.64
test_continuous_metric_permutation_invariance
Function · 0.64
test_probability_log
Function · 0.64
test_strings_dtype
Function · 0.64