Spaces:
Sleeping
Sleeping
Update pages/8Model Training.py
Browse files- pages/8Model Training.py +75 -1
pages/8Model Training.py
CHANGED
|
@@ -89,4 +89,78 @@ st.markdown("""
|
|
| 89 |
|
| 90 |
<p>Common ways to split the data include: 80% training & 20% testing, 70% training & 30% testing, or 60% training & 40% testing.</p>
|
| 91 |
<p>The split should be random so that every data point has a fair chance. A data point should appear in only one of the two sets.</p>
|
| 92 |
-
""", unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
|
| 90 |
<p>Common ways to split the data include: 80% training & 20% testing, 70% training & 30% testing, or 60% training & 40% testing.</p>
|
| 91 |
<p>The split should be random so that every data point has a fair chance. A data point should appear in only one of the two sets.</p>
|
| 92 |
+
""", unsafe_allow_html=True)
|
| 93 |
+
|
| 94 |
+
st.markdown("<h3 style='color:#2a52be;'>Types of Machine Learning Algorithms</h3>", unsafe_allow_html=True)
|
| 95 |
+
|
| 96 |
+
# 4-column layout
|
| 97 |
+
col1, col2, col3, col4 = st.columns(4)
|
| 98 |
+
|
| 99 |
+
with col1:
|
| 100 |
+
st.markdown("""
|
| 101 |
+
<div style="background-color: #f9f9f9; padding: 15px; border-radius: 10px; height: 100%;">
|
| 102 |
+
<h4 style='color:#BB3385; text-align:center;'>Supervised</h4>
|
| 103 |
+
<p>- Linear Regression</p>
|
| 104 |
+
<p>- Logistic Regression</p>
|
| 105 |
+
<p>- Decision Tree</p>
|
| 106 |
+
<p>- Random Forest</p>
|
| 107 |
+
<p>- Extra Trees</p>
|
| 108 |
+
<p>- K-Nearest Neighbors (KNN)</p>
|
| 109 |
+
<p>- Support Vector Machine (SVM)</p>
|
| 110 |
+
<p>- Naive Bayes</p>
|
| 111 |
+
<p>- Gradient Boosting</p>
|
| 112 |
+
<p>- XGBoost</p>
|
| 113 |
+
<p>- AdaBoost</p>
|
| 114 |
+
<p>- CatBoost</p>
|
| 115 |
+
<p>- LightGBM</p>
|
| 116 |
+
</div>
|
| 117 |
+
""", unsafe_allow_html=True)
|
| 118 |
+
|
| 119 |
+
with col2:
|
| 120 |
+
st.markdown("""
|
| 121 |
+
<div style="background-color: #f9f9f9; padding: 15px; border-radius: 10px; height: 100%;">
|
| 122 |
+
<h4 style='color:#BB3385; text-align:center;'>Unsupervised</h4>
|
| 123 |
+
<p>- K-Means Clustering</p>
|
| 124 |
+
<p>- Hierarchical Clustering</p>
|
| 125 |
+
<p>- DBSCAN</p>
|
| 126 |
+
<p>- OPTICS</p>
|
| 127 |
+
<p>- Mean Shift</p>
|
| 128 |
+
<p>- Gaussian Mixture Models</p>
|
| 129 |
+
<p>- Principal Component Analysis (PCA)</p>
|
| 130 |
+
<p>- t-SNE</p>
|
| 131 |
+
<p>- Autoencoders (unsupervised use)</p>
|
| 132 |
+
<p>- Apriori Algorithm</p>
|
| 133 |
+
<p>- Eclat Algorithm</p>
|
| 134 |
+
</div>
|
| 135 |
+
""", unsafe_allow_html=True)
|
| 136 |
+
|
| 137 |
+
with col3:
|
| 138 |
+
st.markdown("""
|
| 139 |
+
<div style="background-color: #f9f9f9; padding: 15px; border-radius: 10px; height: 100%;">
|
| 140 |
+
<h4 style='color:#BB3385; text-align:center;'>Semi-Supervised</h4>
|
| 141 |
+
<p>- Self-Training</p>
|
| 142 |
+
<p>- Label Propagation</p>
|
| 143 |
+
<p>- Label Spreading</p>
|
| 144 |
+
<p>- Semi-Supervised Support Vector Machine (S3VM)</p>
|
| 145 |
+
<p>- Graph-Based Methods</p>
|
| 146 |
+
<p>- Semi-Supervised K-Means</p>
|
| 147 |
+
</div>
|
| 148 |
+
""", unsafe_allow_html=True)
|
| 149 |
+
|
| 150 |
+
with col4:
|
| 151 |
+
st.markdown("""
|
| 152 |
+
<div style="background-color: #f9f9f9; padding: 15px; border-radius: 10px; height: 100%;">
|
| 153 |
+
<h4 style='color:#BB3385; text-align:center;'>Reinforcement</h4>
|
| 154 |
+
<p>- Q-Learning</p>
|
| 155 |
+
<p>- SARSA</p>
|
| 156 |
+
<p>- Deep Q-Network (DQN)</p>
|
| 157 |
+
<p>- Double DQN</p>
|
| 158 |
+
<p>- Dueling DQN</p>
|
| 159 |
+
<p>- REINFORCE Algorithm</p>
|
| 160 |
+
<p>- Actor-Critic Methods</p>
|
| 161 |
+
<p>- Proximal Policy Optimization (PPO)</p>
|
| 162 |
+
<p>- Deep Deterministic Policy Gradient (DDPG)</p>
|
| 163 |
+
<p>- Advantage Actor Critic (A2C)</p>
|
| 164 |
+
<p>- Soft Actor Critic (SAC)</p>
|
| 165 |
+
</div>
|
| 166 |
+
""", unsafe_allow_html=True)
|