Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.31 KB

File metadata and controls

40 lines (30 loc) · 1.31 KB

Linear Regression

linear regression is a linear approach to modelling the relationship between a scalar response and one or more explanatory variables (also known as dependent and independent variables).

Dataset

The NASA data set comprises different size NACA 0012 airfoils at various wind tunnel speeds and angles of attack. The span of the airfoil and the observer position were the same in all of the experiments.

Data set Attribute Information:

This problem has the following inputs:

  1. Frequency, in Hertzs.
  2. Angle of attack, in degrees.
  3. Chord length, in meters.
  4. Free-stream velocity, in meters per second.
  5. Suction side displacement thickness, in meters.

The only output is:

  1. Scaled sound pressure level, in decibels.

(https://archive.ics.uci.edu/ml/datasets/Airfoil+Self-Noise#)

Project Highlight

  • Load the data
  • Data Cleaning
  • Model Design
    • Intilized the weights and biase vector
    • Model function
    • Loss function
    • Compute gradients
    • Adjust weights and biases to reduce the loss
    • Train the model using gradient descent
  • Evaluate the Model performance base on RMSE

Model

  • Designed the Linear Regression From scratch
  • Pythorch Bulid in Linear Regression

How to Run The Code

All the code and comments are listed in above jupyter notbooks for your understanding.