module benchmark.sklearn_helper
¶
Short summary¶
module pymlbenchmark.benchmark.sklearn_helper
Helpers about scikit-learn.
Functions¶
function |
truncated documentation |
---|---|
Returns the number of scikit-learn BaseEstimator including in a pipeline. The function assumes the pipeline … |
Documentation¶
Helpers about scikit-learn.
- pymlbenchmark.benchmark.sklearn_helper.get_nb_skl_base_estimators(obj, fitted=True)¶
Returns the number of scikit-learn BaseEstimator including in a pipeline. The function assumes the pipeline is not recursive.
- Parameters:
obj – object to walk through
fitted – count the number of fitted object
- Returns:
number of base estimators including this one