/regression_polynomial

Supervised Learning - Regression Algorithm

Primary LanguageJupyter Notebook

Polynomial Regression Model Exploration

Objective

This project explores the relationship between model complexity and generalization performance, using polynomial regression models of varying degrees. It involves feature engineering, model training, and performance analysis using R2 scores.

Key Learnings

  • Generation of synthetic data points.
  • Feature engineering by adding polynomial features of different degrees.
  • Training Linear Regression models with polynomial features.
  • Evaluating model performance using R2 score.
  • Visualizing training, test data, and model predictions.
  • Analysis of overfitting, well-generalization, and underfitting based on R2 scores.

Results