-
Notifications
You must be signed in to change notification settings - Fork 0
/
Readme.txt
44 lines (26 loc) · 1.24 KB
/
Readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
----------------------------------------------------------------
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
----------------------------------------------------------------------