Top Banner
Linear Regression Linear Regression Demo using PolyAnalyst Demo using PolyAnalyst Generating Linear Regression Generating Linear Regression Formula Formula Generating Regression Rules for Generating Regression Rules for Categorical classification Categorical classification
15

Linear Regression Demo using PolyAnalyst Generating Linear Regression Formula Generating Regression Rules for Categorical classification.

Dec 19, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Linear Regression Demo using PolyAnalyst Generating Linear Regression Formula Generating Regression Rules for Categorical classification.

Linear RegressionLinear Regression

Demo using PolyAnalystDemo using PolyAnalyst

Generating Linear Regression Generating Linear Regression FormulaFormula

Generating Regression Rules for Generating Regression Rules for Categorical classificationCategorical classification

Page 2: Linear Regression Demo using PolyAnalyst Generating Linear Regression Formula Generating Regression Rules for Categorical classification.

CPU DataCPU Data

vendovendorr MYCTMYCT MMINMMIN MMAXMMAX CACHCACH

CHMICHMINN

CHMACHMAXX classclass

adviseadviserr 125125 256256 60006000 256256 1616 128128 199199

amdaamdahlhl 2929 80008000 3200032000 3232 88 3232 253253

amdaamdahlhl 2929 80008000 3200032000 3232 88 3232 253253

amdaamdahlhl 2929 80008000 3200032000 3232 88 3232 253253

amdaamdahlhl 2929 80008000 1600016000 3232 88 1616 132132

amdaamdahlhl 2626 80008000 3200032000 6464 88 3232 290290

amdaamdahlhl 2323 1600016000 3200032000 6464 1616 3232 381381

amdaamdahlhl 2323 1600016000 3200032000 6464 1616 3232 381381

amdaamdahlhl 2323 1600016000 6400064000 6464 1616 3232 749749

amdaamdahlhl 2323 3200032000 6400064000 128128 3232 6464 12381238

Page 3: Linear Regression Demo using PolyAnalyst Generating Linear Regression Formula Generating Regression Rules for Categorical classification.

Select Data Source TypeSelect Data Source Type

Page 4: Linear Regression Demo using PolyAnalyst Generating Linear Regression Formula Generating Regression Rules for Categorical classification.

Select Source FileSelect Source File

Page 5: Linear Regression Demo using PolyAnalyst Generating Linear Regression Formula Generating Regression Rules for Categorical classification.

Edit ProjectEdit Project

Page 6: Linear Regression Demo using PolyAnalyst Generating Linear Regression Formula Generating Regression Rules for Categorical classification.

Explore by Linear Explore by Linear RegressionRegression

Page 7: Linear Regression Demo using PolyAnalyst Generating Linear Regression Formula Generating Regression Rules for Categorical classification.

Select Independent Fields & Select Independent Fields & TargetTarget

Page 8: Linear Regression Demo using PolyAnalyst Generating Linear Regression Formula Generating Regression Rules for Categorical classification.

Linear RegressionLinear Regression

class = -65.4261 +0.0644143*MYCT class = -65.4261 +0.0644143*MYCT +0.0142251*MMIN +0.0142251*MMIN +0.00655274*MMAX +0.00655274*MMAX +0.485249*CACH +1.18320*CHMAX +0.485249*CACH +1.18320*CHMAX

Page 9: Linear Regression Demo using PolyAnalyst Generating Linear Regression Formula Generating Regression Rules for Categorical classification.

Gain ChartGain Chart

Page 10: Linear Regression Demo using PolyAnalyst Generating Linear Regression Formula Generating Regression Rules for Categorical classification.

Classification RuleClassification Rule

Demo using PolyAnalystDemo using PolyAnalyst

Page 11: Linear Regression Demo using PolyAnalyst Generating Linear Regression Formula Generating Regression Rules for Categorical classification.

Weather DataWeather Dataoutlookoutlook temperaturetemperature humidityhumidity windywindy playplay

sunnysunny 8585 8585 FALSEFALSE nono

sunnysunny 8080 9090 TRUETRUE nono

overcastovercast 8383 8686 FALSEFALSE yesyes

rainyrainy 7070 9696 FALSEFALSE yesyes

rainyrainy 6868 8080 FALSEFALSE yesyes

rainyrainy 6565 7070 TRUETRUE nono

overcastovercast 6464 6565 TRUETRUE yesyes

sunnysunny 7272 9595 FALSEFALSE nono

sunnysunny 6969 7070 FALSEFALSE yesyes

rainyrainy 7575 8080 FALSEFALSE yesyes

sunnysunny 7575 7070 TRUETRUE yesyes

overcastovercast 7272 9090 TRUETRUE yesyes

overcastovercast 8181 7575 FALSEFALSE yesyes

rainyrainy 7171 9191 TRUETRUE nono

Page 12: Linear Regression Demo using PolyAnalyst Generating Linear Regression Formula Generating Regression Rules for Categorical classification.

Working with AttributesWorking with Attributes

Page 13: Linear Regression Demo using PolyAnalyst Generating Linear Regression Formula Generating Regression Rules for Categorical classification.

ClassifyClassify

Page 14: Linear Regression Demo using PolyAnalyst Generating Linear Regression Formula Generating Regression Rules for Categorical classification.

Prediction RulePrediction Rule

0.6224 < (+2.00797 0.6224 < (+2.00797 +0.474537*if(outlook='overcast',1,0) +0.474537*if(outlook='overcast',1,0)

-0.0165110*humidity -0.0165110*humidity -0.356277*if(windy,1,0)) -0.356277*if(windy,1,0))

Page 15: Linear Regression Demo using PolyAnalyst Generating Linear Regression Formula Generating Regression Rules for Categorical classification.

Confusion MatrixConfusion Matrix

real\real\pred pred No No Yes Yes

No No 5 5 0 0 Yes Yes 2 2 7 7

True Negative

True Positive

False Positive

False Negative