Shafanda Nabil Sembodo commited on
Commit ·
c0cba50
1
Parent(s): 06c371b
trial
Browse files
app.py
CHANGED
|
@@ -40,7 +40,7 @@ result = prediction()
|
|
| 40 |
st.write(result)
|
| 41 |
|
| 42 |
# download the result
|
| 43 |
-
csv = convert_df(result)
|
| 44 |
-
if st.download_button('Download Prediction', csv, 'prediction.csv'):
|
| 45 |
-
|
| 46 |
|
|
|
|
| 40 |
st.write(result)
|
| 41 |
|
| 42 |
# download the result
|
| 43 |
+
# csv = convert_df(result)
|
| 44 |
+
# if st.download_button('Download Prediction', csv, 'prediction.csv'):
|
| 45 |
+
# st.write('Thanks for downloading!')
|
| 46 |
|
logs.log
CHANGED
|
@@ -211,3 +211,30 @@ Feature names unseen at fit time:
|
|
| 211 |
2023-08-04 07:23:22,157:INFO:Preloading libraries
|
| 212 |
2023-08-04 07:23:22,159:INFO:Set up data.
|
| 213 |
2023-08-04 07:23:22,167:INFO:Set up index.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 211 |
2023-08-04 07:23:22,157:INFO:Preloading libraries
|
| 212 |
2023-08-04 07:23:22,159:INFO:Set up data.
|
| 213 |
2023-08-04 07:23:22,167:INFO:Set up index.
|
| 214 |
+
2023-08-04 07:30:25,503:WARNING:
|
| 215 |
+
'cuml' is a soft dependency and not included in the pycaret installation. Please run: `pip install cuml` to install.
|
| 216 |
+
2023-08-04 07:30:25,503:WARNING:
|
| 217 |
+
'cuml' is a soft dependency and not included in the pycaret installation. Please run: `pip install cuml` to install.
|
| 218 |
+
2023-08-04 07:30:25,503:WARNING:
|
| 219 |
+
'cuml' is a soft dependency and not included in the pycaret installation. Please run: `pip install cuml` to install.
|
| 220 |
+
2023-08-04 07:30:25,503:WARNING:
|
| 221 |
+
'cuml' is a soft dependency and not included in the pycaret installation. Please run: `pip install cuml` to install.
|
| 222 |
+
2023-08-04 07:30:33,393:INFO:Initializing predict_model()
|
| 223 |
+
2023-08-04 07:30:33,393:INFO:predict_model(self=<pycaret.classification.oop.ClassificationExperiment object at 0x2847f71c0>, estimator=Pipeline(memory=FastMemory(location=/var/folders/vh/81ldn_315vdf1b2_lnntkb080000gn/T/joblib),
|
| 224 |
+
steps=[('combine',
|
| 225 |
+
TransformerWrapper(transformer=TransformerWrapper(include=['ed'],
|
| 226 |
+
transformer=Combine()))),
|
| 227 |
+
('remove outlier',
|
| 228 |
+
TransformerWrapper(transformer=TransformerWrapper(transformer=RemoveOutliers(random_state=42)))),
|
| 229 |
+
('normalize',
|
| 230 |
+
TransformerWrapper(transformer=TransformerWrapper(exclude=['ed',
|
| 231 |
+
'age'],
|
| 232 |
+
transformer=RobustScaler()))),
|
| 233 |
+
('actual_estimator',
|
| 234 |
+
LogisticRegression(C=8.956999999999999,
|
| 235 |
+
class_weight='balanced', max_iter=1000,
|
| 236 |
+
random_state=42))]), probability_threshold=None, encoded_labels=False, raw_score=False, round=4, verbose=True, ml_usecase=None, preprocess=True, encode_labels=<function _SupervisedExperiment.predict_model.<locals>.encode_labels at 0x2847c2550>)
|
| 237 |
+
2023-08-04 07:30:33,393:INFO:Checking exceptions
|
| 238 |
+
2023-08-04 07:30:33,393:INFO:Preloading libraries
|
| 239 |
+
2023-08-04 07:30:33,395:INFO:Set up data.
|
| 240 |
+
2023-08-04 07:30:33,403:INFO:Set up index.
|