Shafanda Nabil Sembodo
commited on
Commit
·
5a55bb1
1
Parent(s):
c3fac0b
update
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ def run():
|
|
| 34 |
st.write(prediction)
|
| 35 |
|
| 36 |
# download the result
|
| 37 |
-
csv = convert_df(
|
| 38 |
if st.download_button('Download Prediction', csv, 'prediction.csv'):
|
| 39 |
st.write('Thanks for downloading!')
|
| 40 |
|
|
|
|
| 34 |
st.write(prediction)
|
| 35 |
|
| 36 |
# download the result
|
| 37 |
+
csv = convert_df(prediction)
|
| 38 |
if st.download_button('Download Prediction', csv, 'prediction.csv'):
|
| 39 |
st.write('Thanks for downloading!')
|
| 40 |
|
logs.log
CHANGED
|
@@ -284,3 +284,57 @@ Feature names unseen at fit time:
|
|
| 284 |
2023-08-08 22:27:05,992:INFO:Preloading libraries
|
| 285 |
2023-08-08 22:27:05,992:INFO:Set up data.
|
| 286 |
2023-08-08 22:27:05,998:INFO:Set up index.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 284 |
2023-08-08 22:27:05,992:INFO:Preloading libraries
|
| 285 |
2023-08-08 22:27:05,992:INFO:Set up data.
|
| 286 |
2023-08-08 22:27:05,998:INFO:Set up index.
|
| 287 |
+
2023-08-08 22:45:35,556:WARNING:
|
| 288 |
+
'cuml' is a soft dependency and not included in the pycaret installation. Please run: `pip install cuml` to install.
|
| 289 |
+
2023-08-08 22:45:35,556:WARNING:
|
| 290 |
+
'cuml' is a soft dependency and not included in the pycaret installation. Please run: `pip install cuml` to install.
|
| 291 |
+
2023-08-08 22:45:35,556:WARNING:
|
| 292 |
+
'cuml' is a soft dependency and not included in the pycaret installation. Please run: `pip install cuml` to install.
|
| 293 |
+
2023-08-08 22:45:35,556:WARNING:
|
| 294 |
+
'cuml' is a soft dependency and not included in the pycaret installation. Please run: `pip install cuml` to install.
|
| 295 |
+
2023-08-08 22:45:36,129:INFO:Initializing load_model()
|
| 296 |
+
2023-08-08 22:45:36,129:INFO:load_model(model_name=model, platform=None, authentication=None, verbose=True)
|
| 297 |
+
2023-08-08 22:45:39,904:INFO:Initializing load_model()
|
| 298 |
+
2023-08-08 22:45:39,905:INFO:load_model(model_name=model, platform=None, authentication=None, verbose=True)
|
| 299 |
+
2023-08-08 22:45:39,951:INFO:Initializing predict_model()
|
| 300 |
+
2023-08-08 22:45:39,951:INFO:predict_model(self=<pycaret.classification.oop.ClassificationExperiment object at 0x281b923d0>, estimator=Pipeline(memory=FastMemory(location=/var/folders/vh/81ldn_315vdf1b2_lnntkb080000gn/T/joblib),
|
| 301 |
+
steps=[('combine',
|
| 302 |
+
TransformerWrapper(transformer=TransformerWrapper(include=['ed'],
|
| 303 |
+
transformer=Combine()))),
|
| 304 |
+
('remove outlier',
|
| 305 |
+
TransformerWrapper(transformer=TransformerWrapper(transformer=RemoveOutliers(random_state=42)))),
|
| 306 |
+
('normalize',
|
| 307 |
+
TransformerWrapper(transformer=TransformerWrapper(exclude=['ed',
|
| 308 |
+
'age'],
|
| 309 |
+
transformer=RobustScaler()))),
|
| 310 |
+
('actual_estimator',
|
| 311 |
+
LogisticRegression(C=8.956999999999999,
|
| 312 |
+
class_weight='balanced', max_iter=1000,
|
| 313 |
+
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 0x281bb7f70>)
|
| 314 |
+
2023-08-08 22:45:39,952:INFO:Checking exceptions
|
| 315 |
+
2023-08-08 22:45:39,952:INFO:Preloading libraries
|
| 316 |
+
2023-08-08 22:45:39,954:INFO:Set up data.
|
| 317 |
+
2023-08-08 22:45:39,960:INFO:Set up index.
|
| 318 |
+
2023-08-08 22:46:02,637:INFO:Initializing load_model()
|
| 319 |
+
2023-08-08 22:46:02,638:INFO:load_model(model_name=model, platform=None, authentication=None, verbose=True)
|
| 320 |
+
2023-08-08 22:46:05,250:INFO:Initializing load_model()
|
| 321 |
+
2023-08-08 22:46:05,250:INFO:load_model(model_name=model, platform=None, authentication=None, verbose=True)
|
| 322 |
+
2023-08-08 22:46:05,281:INFO:Initializing predict_model()
|
| 323 |
+
2023-08-08 22:46:05,281:INFO:predict_model(self=<pycaret.classification.oop.ClassificationExperiment object at 0x133e7d250>, estimator=Pipeline(memory=FastMemory(location=/var/folders/vh/81ldn_315vdf1b2_lnntkb080000gn/T/joblib),
|
| 324 |
+
steps=[('combine',
|
| 325 |
+
TransformerWrapper(transformer=TransformerWrapper(include=['ed'],
|
| 326 |
+
transformer=Combine()))),
|
| 327 |
+
('remove outlier',
|
| 328 |
+
TransformerWrapper(transformer=TransformerWrapper(transformer=RemoveOutliers(random_state=42)))),
|
| 329 |
+
('normalize',
|
| 330 |
+
TransformerWrapper(transformer=TransformerWrapper(exclude=['ed',
|
| 331 |
+
'age'],
|
| 332 |
+
transformer=RobustScaler()))),
|
| 333 |
+
('actual_estimator',
|
| 334 |
+
LogisticRegression(C=8.956999999999999,
|
| 335 |
+
class_weight='balanced', max_iter=1000,
|
| 336 |
+
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 0x133e57ca0>)
|
| 337 |
+
2023-08-08 22:46:05,281:INFO:Checking exceptions
|
| 338 |
+
2023-08-08 22:46:05,281:INFO:Preloading libraries
|
| 339 |
+
2023-08-08 22:46:05,282:INFO:Set up data.
|
| 340 |
+
2023-08-08 22:46:05,286:INFO:Set up index.
|