concrete.ml.sklearn.md

arrow-up-right

module concrete.ml.sklearn

Import sklearn models.

Global Variables

  • qnn_module

  • tree_to_numpy

  • base

  • glm

  • linear_model

  • qnn

  • rf

  • svm

  • tree

  • xgb


arrow-up-right

function get_sklearn_models

Return the list of available models in Concrete ML.

Returns: the lists of models in Concrete ML


arrow-up-right

function get_sklearn_linear_models

Return the list of available linear models in Concrete ML.

Args:

  • classifier (bool): whether you want classifiers or not

  • regressor (bool): whether you want regressors or not

  • str_in_class_name (str): if not None, only return models with this as a substring in the class name

Returns: the lists of linear models in Concrete ML


arrow-up-right

function get_sklearn_tree_models

Return the list of available tree models in Concrete ML.

Args:

  • classifier (bool): whether you want classifiers or not

  • regressor (bool): whether you want regressors or not

  • str_in_class_name (str): if not None, only return models with this as a substring in the class name

Returns: the lists of tree models in Concrete ML


arrow-up-right

function get_sklearn_neural_net_models

Return the list of available neural net models in Concrete ML.

Args:

  • classifier (bool): whether you want classifiers or not

  • regressor (bool): whether you want regressors or not

  • str_in_class_name (str): if not None, only return models with this as a substring in the class name

Returns: the lists of neural net models in Concrete ML

Last updated

Was this helpful?