Coder Social home page Coder Social logo

sid230798 / predict_age_of_abalone_linear_regression Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 998 KB

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

Python 100.00%
machine-learning linear-regression abalone-dataset age-prediction

predict_age_of_abalone_linear_regression's Introduction

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

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

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.