streamlit-demo icon indicating copy to clipboard operation
streamlit-demo copied to clipboard

Build an interactive web app with streamlit and scikit-learn

Results 3 streamlit-demo issues
Sort by recently updated
recently updated
newest added

how about this? this way adding new dataset options will be much easier and you'll not fall into an endless "if-elif-else" loop. the code would be more readable as well....

File "C:\Users\mouli.bhaskaran\Desktop\Python\Digital Clock\venv\lib\site-packages\streamlit\scriptrunner\script_runner.py", line 475, in _run_script exec(code, module.__dict__) File "C:\Users\mouli.bhaskaran\Desktop\Python\Digital Clock\ml_app.py", line 80, in clf.fit(X_train, y_train) File "C:\Users\mouli.bhaskaran\Desktop\Python\Digital Clock\venv\lib\site-packages\sklearn\neighbors\_classification.py", line 200, in fit return self._fit(X, y) File "C:\Users\mouli.bhaskaran\Desktop\Python\Digital Clock\venv\lib\site-packages\sklearn\neighbors\_base.py",...