concrete.ml.sklearn.md

module concrete.ml.sklearn

Import sklearn models.

Global Variables

  • qnn_module

  • tree_to_numpy

  • base

  • glm

  • linear_model

  • qnn

  • rf

  • svm

  • tree

  • xgb


function get_sklearn_models

get_sklearn_models()

Return the list of available models in Concrete ML.

Returns: the lists of models in Concrete ML


function get_sklearn_linear_models

get_sklearn_linear_models(
    classifier: bool = True,
    regressor: bool = True,
    str_in_class_name: str = None
)

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


function get_sklearn_tree_models

get_sklearn_tree_models(
    classifier: bool = True,
    regressor: bool = True,
    str_in_class_name: str = None
)

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


function get_sklearn_neural_net_models

get_sklearn_neural_net_models(
    classifier: bool = True,
    regressor: bool = True,
    str_in_class_name: str = None
)

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