concrete.ml.sklearn.rf.md
module concrete.ml.sklearn.rf
concrete.ml.sklearn.rf
Implement RandomForest models.
class RandomForestClassifier
RandomForestClassifier
Implements the RandomForest classifier.
method __init__
__init__
Initialize the RandomForestClassifier.
noqa: DAR101
property fhe_circuit
Get the FHE circuit.
The FHE circuit combines computational graph, mlir, client and server into a single object. More information available in Concrete documentation: https://docs.zama.ai/concrete/developer/terminology_and_structure#terminology Is None if the model is not fitted.
Returns:
Circuit
: The FHE circuit.
property is_compiled
Indicate if the model is compiled.
Returns:
bool
: If the model is compiled.
property is_fitted
Indicate if the model is fitted.
Returns:
bool
: If the model is fitted.
property onnx_model
Get the ONNX model.
Is None if the model is not fitted.
Returns:
onnx.ModelProto
: The ONNX model.
method dump_dict
dump_dict
classmethod load_dict
load_dict
method post_processing
post_processing
class RandomForestRegressor
RandomForestRegressor
Implements the RandomForest regressor.
method __init__
__init__
Initialize the RandomForestRegressor.
noqa: DAR101
property fhe_circuit
Get the FHE circuit.
The FHE circuit combines computational graph, mlir, client and server into a single object. More information available in Concrete documentation: https://docs.zama.ai/concrete/developer/terminology_and_structure#terminology Is None if the model is not fitted.
Returns:
Circuit
: The FHE circuit.
property is_compiled
Indicate if the model is compiled.
Returns:
bool
: If the model is compiled.
property is_fitted
Indicate if the model is fitted.
Returns:
bool
: If the model is fitted.
property onnx_model
Get the ONNX model.
Is None if the model is not fitted.
Returns:
onnx.ModelProto
: The ONNX model.
method dump_dict
dump_dict
classmethod load_dict
load_dict
Last updated