Hi everyone,
I am facing an issue with Concrete ML when trying to convert a machine learning model that uses the RandomForestClassifier from scikit-learn. The model conversion process results in the following error message:
Error: Unsupported algorithm or invalid parameters for conversion.
my setup details -
Concrete ML version: 3.x (latest version)
scikit-learn version: 1.2.3
Python version: 3.9.7
Model code snippet:
from sklearn.ensemble import RandomForestClassifier
from concrete.ml.sklearn import convert
Define and train the model
model = RandomForestClassifier(n_estimators=100, max_depth=10)
model.fit(X_train, y_train)
Attempt to convert the model
concrete_model = convert(model)
I have verified that both Concrete ML and scikit-learn are up to date. Iām particularly interested in any known limitations or recommended workarounds for using RandomForestClassifier with Concrete ML.
Has anyone else faced this issue ; have suggestions on how to address it? Any guidance ; advice would be greatly appreciated.
Thanks in advance for your help!
Best regards,