Functions

Summary

function class parent truncated documentation
_assert_dict_equal    
_assert_list_equal    
_assert_tuple_equal    
_combinations_poly   Computes all polynomial features combinations.
_decision_function_piecewise_estimator    
_fit_piecewise_estimator    
_pipeline_info   Internal function to convert a pipeline into some graph.
_predict_piecewise_estimator    
_predict_proba_piecewise_estimator    
_setup_hook   if this function is added to the module, the help automation and unit tests call it first before anything goes on …
_transform_iall   Computes the polynomial features
_transform_ionly   Computes the polynomial features
absolute_loss   Computes the absolute loss for regression. Parameters ———- y_true : array-like or label indicator matrix …
assert_estimator_equal   Checks that two models are equal.
check   Checks the library is working. It raises an exception. If you want to disable the logs:
clone_with_fitted_parameters   Clones an estimator with the fitted results.
float_sign   Returns 1 if a > 0, otherwise -1
format_function_call   Formats a function call with named parameters.
format_parameters   Formats a list of parameters.
format_value   Formats a value to be included in a string.
is_vector   Tells if X is a vector.
model_featurizer   Converts a machine learned model into a function which converts a vector into features produced by the model. It …
model_featurizer_keras   Builds a featurizer from a keras model It returns a function which returns the output of one particular …
model_featurizer_lr   Builds a featurizer from a :epkg:`scikit-learn:linear_model:LogisticRegression`. It returns a function which returns …
model_featurizer_rfc   Builds a featurizer from a :epkg:`scikit-learn:ensemble:RandomForestClassifier`. It returns a function which returns …
model_featurizer_torch   Builds a featurizer from a :epkg:`torch` model It returns a function which returns the output of one particular …
non_linear_correlations   Computes non linear correlations.
pipeline2dot   Exports a scikit-learn pipeline to DOT language. See Visualize a scikit-learn pipeline for an example.
plot_gallery_images   Plots a gallery of images using matplotlib.
test_sklearn_clone   Tests that a cloned model is similar to the original one.
test_sklearn_grid_search_cv   Creates a model, checks that a grid search works with it.
test_sklearn_pickle   Creates a model, fit, predict and check the prediction are similar after the model was pickled, unpickled.
train_test_split_with_none   Splits into train and test data even if they are None.
wrap_predict_keras   Checks types and dimension. Calls fct and returns the approriate type. A vector if X is a vector, the raw output …
wrap_predict_sklearn   Checks types and dimension. Calls fct and returns the approriate type. A vector if X is a vector, the raw output …
wrap_predict_torch   Checks types and dimension. Calls fct and returns the approriate type. A vector if X is a vector, the raw output …