Update pages/Algorithms.py
Browse files- pages/Algorithms.py +2 -2
pages/Algorithms.py
CHANGED
|
@@ -25,7 +25,7 @@ if algorithm == "Linear Regression":
|
|
| 25 |
|
| 26 |
st.markdown("""
|
| 27 |
## π What is Linear Regression?
|
| 28 |
-
Linear Regression is a **supervised learning algorithm** used for predicting **continuous numerical values**. It models the relationship between one or more input features (independent variables) and a target variable (dependent variable) by fitting a **linear equation** to the observed data.
|
| 29 |
Types of Linear Regression:
|
| 30 |
- **Simple Linear Regression**: One feature (X) and one target (y)
|
| 31 |
- **Multiple Linear Regression**: Multiple features (X1, X2, ..., Xn) and one target (y)
|
|
@@ -98,7 +98,7 @@ elif algorithm == "Logistic Regression":
|
|
| 98 |
|
| 99 |
st.markdown("""
|
| 100 |
## π What is Logistic Regression?
|
| 101 |
-
Logistic Regression is a **supervised learning** algorithm used for **binary or multi-class classification** tasks. Despite the name, it's a classification algorithm (not regression).
|
| 102 |
It predicts the **probability** of a class label using the **logistic (sigmoid)** function.
|
| 103 |
---
|
| 104 |
## π Mathematical Formulation
|
|
|
|
| 25 |
|
| 26 |
st.markdown("""
|
| 27 |
## π What is Linear Regression?
|
| 28 |
+
##### Linear Regression is a **supervised learning algorithm** used for predicting **continuous numerical values**. It models the relationship between one or more input features (independent variables) and a target variable (dependent variable) by fitting a **linear equation** to the observed data.
|
| 29 |
Types of Linear Regression:
|
| 30 |
- **Simple Linear Regression**: One feature (X) and one target (y)
|
| 31 |
- **Multiple Linear Regression**: Multiple features (X1, X2, ..., Xn) and one target (y)
|
|
|
|
| 98 |
|
| 99 |
st.markdown("""
|
| 100 |
## π What is Logistic Regression?
|
| 101 |
+
###### Logistic Regression is a **supervised learning** algorithm used for **binary or multi-class classification** tasks. Despite the name, it's a classification algorithm (not regression).
|
| 102 |
It predicts the **probability** of a class label using the **logistic (sigmoid)** function.
|
| 103 |
---
|
| 104 |
## π Mathematical Formulation
|