Update app.py
Browse files
app.py
CHANGED
|
@@ -50,8 +50,7 @@ st.markdown(generate_ml_blog())
|
|
| 50 |
# Display interactive elements if needed
|
| 51 |
st.sidebar.header("Contents")
|
| 52 |
st.sidebar.markdown("""
|
| 53 |
-
- [Introduction](#Introduction-to-Machine-Learning-ML)
|
| 54 |
-
- [Types of Machine Learning](#Types-of-Machine-Learning)""")
|
| 55 |
# Nested sidebar for "Types of Machine Learning"
|
| 56 |
with st.sidebar.expander("Types of Machine Learning"):
|
| 57 |
st.markdown("""
|
|
@@ -59,28 +58,16 @@ with st.sidebar.expander("Types of Machine Learning"):
|
|
| 59 |
- [Unsupervised Learning](#Unsupervised-Learning)
|
| 60 |
- [Reinforcement Learning](#Reinforcement-Learning)
|
| 61 |
""")
|
| 62 |
-
# Sidebar for Popular Machine Learning Algorithms
|
| 63 |
st.sidebar.header("Popular Machine Learning Algorithms")
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
st.write("A tree-like model used for both classification and regression tasks.")
|
| 73 |
-
|
| 74 |
-
with st.sidebar.expander("K-Nearest Neighbors (KNN)"):
|
| 75 |
-
st.write("A non-parametric method used for classification and regression.")
|
| 76 |
-
|
| 77 |
-
with st.sidebar.expander("Support Vector Machines (SVM)"):
|
| 78 |
-
st.write("A powerful classifier that works well for high-dimensional spaces.")
|
| 79 |
-
|
| 80 |
-
with st.sidebar.expander("Neural Networks"):
|
| 81 |
-
st.write("A set of algorithms, modeled after the human brain, that are used for complex tasks like image and speech recognition.")
|
| 82 |
st.sidebar.markdown("""
|
| 83 |
-
- [Popular ML Algorithms](#Popular-Machine-Learning-Algorithms)
|
| 84 |
- [Applications](#Applications-of-Machine-Learning)
|
| 85 |
- [Conclusion](#Conclusion)
|
| 86 |
""")
|
|
|
|
| 50 |
# Display interactive elements if needed
|
| 51 |
st.sidebar.header("Contents")
|
| 52 |
st.sidebar.markdown("""
|
| 53 |
+
- [Introduction](#Introduction-to-Machine-Learning-ML)""")
|
|
|
|
| 54 |
# Nested sidebar for "Types of Machine Learning"
|
| 55 |
with st.sidebar.expander("Types of Machine Learning"):
|
| 56 |
st.markdown("""
|
|
|
|
| 58 |
- [Unsupervised Learning](#Unsupervised-Learning)
|
| 59 |
- [Reinforcement Learning](#Reinforcement-Learning)
|
| 60 |
""")
|
|
|
|
| 61 |
st.sidebar.header("Popular Machine Learning Algorithms")
|
| 62 |
+
st.sidebar.markdown("""
|
| 63 |
+
- [Linear Regression](#Linear-Regression)
|
| 64 |
+
- [Logistic Regression](#Logistic-Regression)
|
| 65 |
+
- [Decision Trees](#Decision-Trees)
|
| 66 |
+
- [K-Nearest Neighbors (KNN)](#K-Nearest-Neighbors-KNN)
|
| 67 |
+
- [Support Vector Machines (SVM)](#Support-Vector-Machines-SVM)
|
| 68 |
+
- [Neural Networks](#Neural-Networks)
|
| 69 |
+
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
st.sidebar.markdown("""
|
|
|
|
| 71 |
- [Applications](#Applications-of-Machine-Learning)
|
| 72 |
- [Conclusion](#Conclusion)
|
| 73 |
""")
|