File size: 1,749 Bytes
62aa3ac
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import streamlit as st

st.set_page_config(page_title="ML Algorithms Overview", page_icon="๐Ÿ“˜", layout="wide")

st.markdown("<h1 style='color:#4CAF50;'>๐Ÿ“˜ Machine Learning Algorithms - Overview</h1>", unsafe_allow_html=True)

st.markdown("""
Welcome to the **Machine Learning Algorithms Explorer**!

This app provides detailed, beginner-friendly explanations of popular ML algorithms.  
Each page will walk you through how the algorithm works, its use cases, formulas, evaluation metrics, and more. ๐Ÿš€

Hereโ€™s a quick snapshot of what's inside:
""")

# Overview list
st.markdown("### ๐Ÿง  Algorithms Covered")

st.markdown("""
#### ๐Ÿ”น Linear Regression
- Used to predict continuous numeric values (e.g., house prices).
- It draws a best-fit line based on the relationship between independent and dependent variables.

#### ๐Ÿ”น Logistic Regression
- Used for binary/multi-class classification (e.g., spam vs. not spam).
- Uses the sigmoid function to model probabilities.

#### ๐Ÿ”น Decision Tree
- Tree-like structure that splits data using feature values.
- Easy to visualize and interpret.

#### ๐Ÿ”น Random Forest
- An ensemble of decision trees.
- Improves accuracy and reduces overfitting through voting/averaging.

#### ๐Ÿ”น K-Nearest Neighbors (KNN)
- Lazy learner that classifies based on the 'K' nearest data points.
- No training phase; works well with low-dimensional data.

#### ๐Ÿ”น Support Vector Machine (SVM)
- Finds the optimal hyperplane to separate classes.
- Works well in high-dimensional and complex data using kernel tricks.

---

Each page contains:
- โœจ **Intuitive explanations**
- ๐Ÿงช **Mathematical equations**
- ๐Ÿ“Š **Visual insights**
- โš™๏ธ **Hyperparameter info**
- ๐Ÿ“ **Evaluation metrics**


""")