Linear Regression using Weka and Java 3

3 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€43.90
List Price:  €61.47
You save:  €17.56
£38.09
List Price:  £53.33
You save:  £15.24
CA$69.40
List Price:  CA$97.17
You save:  CA$27.76
A$80.21
List Price:  A$112.30
You save:  A$32.09
S$65.88
List Price:  S$92.24
You save:  S$26.35
HK$387.64
List Price:  HK$542.73
You save:  HK$155.08
CHF 40.90
List Price:  CHF 57.26
You save:  CHF 16.36
NOK kr531.73
List Price:  NOK kr744.47
You save:  NOK kr212.73
DKK kr327.87
List Price:  DKK kr459.05
You save:  DKK kr131.17
NZ$85.96
List Price:  NZ$120.35
You save:  NZ$34.39
د.إ183.61
List Price:  د.إ257.07
You save:  د.إ73.46
৳6,076.54
List Price:  ৳8,507.65
You save:  ৳2,431.10
₹4,301.24
List Price:  ₹6,022.08
You save:  ₹1,720.84
RM221.08
List Price:  RM309.53
You save:  RM88.45
₦79,750.54
List Price:  ₦111,657.14
You save:  ₦31,906.60
₨14,028.30
List Price:  ₨19,640.74
You save:  ₨5,612.44
฿1,681.80
List Price:  ฿2,354.65
You save:  ฿672.85
₺1,902.70
List Price:  ₺2,663.94
You save:  ₺761.23
B$294.23
List Price:  B$411.95
You save:  B$117.71
R963.66
List Price:  R1,349.21
You save:  R385.54
Лв85.71
List Price:  Лв120.01
You save:  Лв34.29
₩71,470.01
List Price:  ₩100,063.74
You save:  ₩28,593.72
₪186.03
List Price:  ₪260.46
You save:  ₪74.42
₱2,848.15
List Price:  ₱3,987.64
You save:  ₱1,139.49
¥7,124.54
List Price:  ¥9,974.92
You save:  ¥2,850.38
MX$1,021.46
List Price:  MX$1,430.13
You save:  MX$408.66
QR182.30
List Price:  QR255.24
You save:  QR72.93
P705.37
List Price:  P987.57
You save:  P282.20
KSh6,481.20
List Price:  KSh9,074.20
You save:  KSh2,593
E£2,566.18
List Price:  E£3,592.85
You save:  E£1,026.67
ብር6,595.27
List Price:  ብር9,233.91
You save:  ብር2,638.63
Kz45,790.84
List Price:  Kz64,110.84
You save:  Kz18,320
CLP$49,488.60
List Price:  CLP$69,288
You save:  CLP$19,799.40
CN¥365.12
List Price:  CN¥511.20
You save:  CN¥146.08
RD$3,096.95
List Price:  RD$4,335.98
You save:  RD$1,239.02
DA6,636.88
List Price:  DA9,292.17
You save:  DA2,655.28
FJ$114.18
List Price:  FJ$159.87
You save:  FJ$45.68
Q385.84
List Price:  Q540.21
You save:  Q154.36
GY$10,463.10
List Price:  GY$14,649.18
You save:  GY$4,186.07
ISK kr6,415.21
List Price:  ISK kr8,981.81
You save:  ISK kr2,566.60
DH473.46
List Price:  DH662.88
You save:  DH189.42
L886.03
List Price:  L1,240.52
You save:  L354.48
ден2,714.38
List Price:  ден3,800.36
You save:  ден1,085.97
MOP$399.77
List Price:  MOP$559.71
You save:  MOP$159.94
N$971.63
List Price:  N$1,360.37
You save:  N$388.73
C$1,837.63
List Price:  C$2,572.83
You save:  C$735.20
रु6,891.16
List Price:  रु9,648.17
You save:  रु2,757.01
S/185.86
List Price:  S/260.22
You save:  S/74.36
K203.61
List Price:  K285.08
You save:  K81.46
SAR187.66
List Price:  SAR262.74
You save:  SAR75.07
ZK1,410.06
List Price:  ZK1,974.20
You save:  ZK564.14
L218.56
List Price:  L306
You save:  L87.44
Kč1,104.22
List Price:  Kč1,546
You save:  Kč441.77
Ft18,011.49
List Price:  Ft25,217.53
You save:  Ft7,206.03
SEK kr487.02
List Price:  SEK kr681.87
You save:  SEK kr194.85
ARS$53,811.05
List Price:  ARS$75,339.78
You save:  ARS$21,528.72
Bs345.57
List Price:  Bs483.83
You save:  Bs138.25
COP$210,073.83
List Price:  COP$294,120.18
You save:  COP$84,046.34
₡25,715.41
List Price:  ₡36,003.63
You save:  ₡10,288.22
L1,295.71
List Price:  L1,814.10
You save:  L518.38
₲400,564.53
List Price:  ₲560,822.40
You save:  ₲160,257.86
$U2,148.14
List Price:  $U3,007.57
You save:  $U859.42
zł188.63
List Price:  zł264.10
You save:  zł75.46
Already have an account? Log In

Transcript

Okay so after I create these our linear model here, so we cover some errors so according to the website he the Randy's co here run this code now we will get this error here. So we either put in or this job or this job pass or we use these are victory points since they are the country play. So a Google search on a lie I can toggle these are victory points is Java here. So I can remove the Java and I in new Java. So for myself I download Isa 3.6. Here in this IP in this Id try I open case To use the classification method I can do something is classification okay trainees will be the ah should be cpu.ai and testing session will be the CPU underscore test talk and then the algorithm will be linear the algorithm will be linear and then the train that's testing So, for linear regressions, I will not be using this Iris dataset, because in this Iris data cause variable a is actually a categorical variable for linear regression We only pre do we only predict those on numeric variables or continuous variables.

So for regressions I will be using the CPU data Okay, so I said a class variable class index, so 0123456 Okay, so I will set a class index to be six, six and then six for data for testing data. So, I will run the program I know okay library contest I run this fire okay rah rah rah rah rah Okay, so I have some predictions here. So this is the rows and then this is the prediction, rows prediction rows prediction rows prediction, rows prediction and prediction. So these are obviously not simple linear regression This is a normal linear regression or multiple linear regressions because we have a few variable size

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.