Pushing model and README files to the repo!
Browse files
README.md
CHANGED
|
@@ -23,11 +23,20 @@ This is a regression model trained on the Dynamic Pricing Dataset. It was optimi
|
|
| 23 |
|
| 24 |
## Intended uses & limitations
|
| 25 |
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
## Training Procedure
|
| 29 |
|
| 30 |
-
|
| 31 |
|
| 32 |
### Hyperparameters
|
| 33 |
|
|
@@ -170,23 +179,6 @@ If you use this model, please cite it as follows:
|
|
| 170 |
}
|
| 171 |
```
|
| 172 |
|
| 173 |
-
# Intended Uses & Limitations
|
| 174 |
-
|
| 175 |
-
This regression model is designed to predict the cost of rides based on various features such as expected ride duration, number of drivers, and time of booking.
|
| 176 |
-
|
| 177 |
-
**Intended Uses**:
|
| 178 |
-
- **Dynamic Pricing Analysis**: Helps optimize pricing strategies for ride-hailing platforms.
|
| 179 |
-
- **Demand Forecasting**: Supports business decisions by estimating cost trends based on ride-specific parameters.
|
| 180 |
-
|
| 181 |
-
**Limitations**:
|
| 182 |
-
- **Feature Dependence**: The model's accuracy is highly dependent on the input features provided.
|
| 183 |
-
- **Dataset Specificity**: Performance may degrade if applied to datasets with significantly different distributions.
|
| 184 |
-
- **Outlier Sensitivity**: Predictions can be affected by extreme values in the dataset.
|
| 185 |
-
|
| 186 |
-
# Training Procedure
|
| 187 |
-
|
| 188 |
-
The model was trained using grid search to optimize hyperparameters. Cross-validation (5-fold) was performed to ensure robust evaluation. The best model was selected based on the lowest Mean Absolute Error (MAE) on the validation set.
|
| 189 |
-
|
| 190 |
# Hyperparameters
|
| 191 |
|
| 192 |
### Hyperparameters:
|
|
@@ -202,7 +194,13 @@ The model was trained using grid search to optimize hyperparameters. Cross-valid
|
|
| 202 |
- tol: 0.0001
|
| 203 |
- warm_start: False
|
| 204 |
|
| 205 |
-
# Evaluation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 206 |
|
| 207 |
## Model Coefficients
|
| 208 |
|
|
@@ -237,11 +235,3 @@ The following plot shows the relationship between the actual and predicted value
|
|
| 237 |

|
| 238 |
|
| 239 |
The scatter plot above shows the predicted values against the actual values. The dashed line represents the ideal predictions where the predicted values are equal to the actual values.
|
| 240 |
-
|
| 241 |
-
# Evaluation Results
|
| 242 |
-
|
| 243 |
-
The model achieved the following results on the test set:
|
| 244 |
-
- **Mean Absolute Error (MAE)**: 50.32
|
| 245 |
-
- **R² Score**: 0.89
|
| 246 |
-
|
| 247 |
-
Refer to the plots and tables for detailed performance insights.
|
|
|
|
| 23 |
|
| 24 |
## Intended uses & limitations
|
| 25 |
|
| 26 |
+
This regression model is designed to predict the cost of rides based on various features such as expected ride duration, number of drivers, and time of booking.
|
| 27 |
+
|
| 28 |
+
**Intended Uses**:
|
| 29 |
+
- **Dynamic Pricing Analysis**: Helps optimize pricing strategies for ride-hailing platforms.
|
| 30 |
+
- **Demand Forecasting**: Supports business decisions by estimating cost trends based on ride-specific parameters.
|
| 31 |
+
|
| 32 |
+
**Limitations**:
|
| 33 |
+
- **Feature Dependence**: The model's accuracy is highly dependent on the input features provided.
|
| 34 |
+
- **Dataset Specificity**: Performance may degrade if applied to datasets with significantly different distributions.
|
| 35 |
+
- **Outlier Sensitivity**: Predictions can be affected by extreme values in the dataset.
|
| 36 |
|
| 37 |
## Training Procedure
|
| 38 |
|
| 39 |
+
The model was trained using grid search to optimize hyperparameters. Cross-validation (5-fold) was performed to ensure robust evaluation. The best model was selected based on the lowest Mean Absolute Error (MAE) on the validation set.
|
| 40 |
|
| 41 |
### Hyperparameters
|
| 42 |
|
|
|
|
| 179 |
}
|
| 180 |
```
|
| 181 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 182 |
# Hyperparameters
|
| 183 |
|
| 184 |
### Hyperparameters:
|
|
|
|
| 194 |
- tol: 0.0001
|
| 195 |
- warm_start: False
|
| 196 |
|
| 197 |
+
# Evaluation Results
|
| 198 |
+
|
| 199 |
+
The model achieved the following results on the test set:
|
| 200 |
+
- **Mean Absolute Error (MAE)**: 50.32
|
| 201 |
+
- **R² Score**: 0.89
|
| 202 |
+
|
| 203 |
+
Refer to the plots and tables for detailed performance insights.
|
| 204 |
|
| 205 |
## Model Coefficients
|
| 206 |
|
|
|
|
| 235 |

|
| 236 |
|
| 237 |
The scatter plot above shows the predicted values against the actual values. The dashed line represents the ideal predictions where the predicted values are equal to the actual values.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|