MCPcopy
hub / github.com/scikit-learn/scikit-learn / format

Method format

sklearn/utils/_pprint.py:189–192  ·  view source on GitHub ↗
(self, object, context, maxlevels, level)

Source from the content-addressed store, hash-verified

187 self.n_max_elements_to_show = n_max_elements_to_show
188
189 def format(self, object, context, maxlevels, level):
190 return _safe_repr(
191 object, context, maxlevels, level, changed_only=self._changed_only
192 )
193
194 def _pprint_estimator(self, object, stream, indent, allowance, context, level):
195 stream.write(object.__class__.__name__ + "(")

Callers 15

partial_fitMethod · 0.80
partial_fitMethod · 0.80
_check_method_paramsMethod · 0.80
get_feature_names_outMethod · 0.80
scoreMethod · 0.80
fitMethod · 0.80
__init__Method · 0.80
n_features_in_Method · 0.80
evaluate_candidatesMethod · 0.80
_iter_test_indicesMethod · 0.80

Calls 1

_safe_reprFunction · 0.85

Tested by 15

fitMethod · 0.64
test_2d_yFunction · 0.64
test_repeated_cv_reprFunction · 0.64
test_novelty_errorsFunction · 0.64
test_verboseFunction · 0.64
my_cbFunction · 0.64
test_callbackFunction · 0.64
test_convergence_warningFunction · 0.64
test_summarizeFunction · 0.64
ignore_warningsFunction · 0.64