Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ print("\nThe accuracy of decisiontreelassifier on Heart disease prediction datas
|
|
80 |
|
81 |
joblib.dump(dt, 'heart_disease_dt_model.pkl')
|
82 |
|
83 |
-
from concrete.ml.sklearn.
|
84 |
|
85 |
fhe_compatible = ConcreteXGBClassifier.from_sklearn_model(dt, x_train, n_bits = 10)
|
86 |
fhe_compatible.compile(x_train)
|
|
|
80 |
|
81 |
joblib.dump(dt, 'heart_disease_dt_model.pkl')
|
82 |
|
83 |
+
from concrete.ml.sklearn.xgb import XGBClassifier as ConcreteXGBClassifier
|
84 |
|
85 |
fhe_compatible = ConcreteXGBClassifier.from_sklearn_model(dt, x_train, n_bits = 10)
|
86 |
fhe_compatible.compile(x_train)
|