sree4411 commited on
Commit
62aa3ac
ยท
verified ยท
1 Parent(s): 0a8122d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +54 -0
app.py CHANGED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ st.set_page_config(page_title="ML Algorithms Overview", page_icon="๐Ÿ“˜", layout="wide")
4
+
5
+ st.markdown("<h1 style='color:#4CAF50;'>๐Ÿ“˜ Machine Learning Algorithms - Overview</h1>", unsafe_allow_html=True)
6
+
7
+ st.markdown("""
8
+ Welcome to the **Machine Learning Algorithms Explorer**!
9
+
10
+ This app provides detailed, beginner-friendly explanations of popular ML algorithms.
11
+ Each page will walk you through how the algorithm works, its use cases, formulas, evaluation metrics, and more. ๐Ÿš€
12
+
13
+ Hereโ€™s a quick snapshot of what's inside:
14
+ """)
15
+
16
+ # Overview list
17
+ st.markdown("### ๐Ÿง  Algorithms Covered")
18
+
19
+ st.markdown("""
20
+ #### ๐Ÿ”น Linear Regression
21
+ - Used to predict continuous numeric values (e.g., house prices).
22
+ - It draws a best-fit line based on the relationship between independent and dependent variables.
23
+
24
+ #### ๐Ÿ”น Logistic Regression
25
+ - Used for binary/multi-class classification (e.g., spam vs. not spam).
26
+ - Uses the sigmoid function to model probabilities.
27
+
28
+ #### ๐Ÿ”น Decision Tree
29
+ - Tree-like structure that splits data using feature values.
30
+ - Easy to visualize and interpret.
31
+
32
+ #### ๐Ÿ”น Random Forest
33
+ - An ensemble of decision trees.
34
+ - Improves accuracy and reduces overfitting through voting/averaging.
35
+
36
+ #### ๐Ÿ”น K-Nearest Neighbors (KNN)
37
+ - Lazy learner that classifies based on the 'K' nearest data points.
38
+ - No training phase; works well with low-dimensional data.
39
+
40
+ #### ๐Ÿ”น Support Vector Machine (SVM)
41
+ - Finds the optimal hyperplane to separate classes.
42
+ - Works well in high-dimensional and complex data using kernel tricks.
43
+
44
+ ---
45
+
46
+ Each page contains:
47
+ - โœจ **Intuitive explanations**
48
+ - ๐Ÿงช **Mathematical equations**
49
+ - ๐Ÿ“Š **Visual insights**
50
+ - โš™๏ธ **Hyperparameter info**
51
+ - ๐Ÿ“ **Evaluation metrics**
52
+
53
+
54
+ """)