sid230798 / Predict_Age_Of_Abalone_Linear_Regression

Taken dataset from UC for above task used Linear Ridge Regression for Performing it. Normalisation, Debugging, Plotting Graphs .

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

----------------------------------------------------------------

Name :- Siddharth Nahar
Entry No :- 2016csb1043
Date :- 27/8/18

Sys Requirement :- Python 3.x,Anaconda 3.x

----------------------------------------------------------------

/* To Run the Code */

Usr:/~Dir cd LinearRegression
Usr:/~Dir python linearRegression.py

---------------------------------------------------------------

*Output :-

*It chosses 100 Fractions and 20 lambda values

For Task 7 : 

	-It creates 100 graph corresponding to each fraction and each graph plots Test Error and Train error for each lambda
	- It saves the plots in directory

For Task 8 :

	-It calculates minimum Test Error for each Fraction and Plots the graph
	-It also stores alpha corresonding to minimum error and plots fraction vs Lambda value

	-It creates two graphs as described and stores in directory

For Task 9 :

	-It plots Predicted vs Actual Values for best model
	-Best Model is chosen as pair of fraction and lambda for which TrainError is minimum

	-All points comes across 45 degree lines
	-It creates two grah for training and Test and Stores it.

*Many different Graphs are observed for Task 8 and Task 7 shown in Report

----------------------------------------------------------------------

About

Taken dataset from UC for above task used Linear Ridge Regression for Performing it. Normalisation, Debugging, Plotting Graphs .


Languages

Language:Python 100.0%