Spaces:
Build error
Build error
Download pages/machinelearning.py from bhuvi06/MachineLearning: direct link, hf CLI and curl.
- Browser
- Download file 869 Bytes
-
https://huggingface.co/spaces/bhuvi06/MachineLearning/resolve/main/pages/machinelearning.py
- Command line
-
hf download hf://spaces/bhuvi06/MachineLearning/pages/machinelearning.py
-
curl -L -o machinelearning.py https://huggingface.co/spaces/bhuvi06/MachineLearning/resolve/main/pages/machinelearning.py
869 Bytes
| import streamlit as st | |
| import pandas as pd | |
| # Title | |
| st.title(" Machine Learning") | |
| st.write("ML are used to mimic or copy the learning ability of biological neurons.") | |
| # Data for the table | |
| data = { | |
| "Criteria": [ | |
| "Learning Approach", | |
| "Data Requirements", | |
| "Data Type", | |
| "Memory Usage", | |
| "Training Time", | |
| "Computational Requirements" | |
| ], | |
| "Machine Learning (ML)": [ | |
| "Uses statistical concepts to mimic learning abilities.", | |
| "Requires less data to train but performance may saturate with small data.", | |
| "Works on structured data; unstructured data needs conversion, causing data loss.", | |
| "Low memory usage.", | |
| "Takes less time to train.", | |
| "Can work on a low-end computer/PC." | |
| ],} | |
| # Create a DataFrame | |
| df = pd.DataFrame(data) | |
| st.table(df) |