NNN
NNN
@relation weather
@attribute outlook {sunny,rainy,overcast}
@attribute temparature numeric
@attribute humidity numeric
@attribute windy {true,false}
@attribute play {yes,no}
@data
sunny,85.0,85.0,false,no
overcast,80.0,90.0,true,no
sunny,83.0,86.0,false,yes
rainy,70.0,86.0,false,yes
rainy,68.0,80.0,false,yes
rainy,65.0,70.0,true,no
overcast,64.0,65.0,false,yes
sunny,72.0,95.0,true,no
sunny,69.0,70.0,false,yes
rainy,75.0,80.0,false,yes
18121A1275
Adding a Pre-Processing Technique:
Procedure:
1) Start Programs Weka-3-4 Weka-3-
4 2) Click on explorer. 3) Click on open file.
4) Select Weather.arff file and click on open.
5) Click on Choose button and select the Filters option.
6) In Filters, we have Supervised and Unsupervised data.
7) Click on Unsupervised data.
8) Select the attribute Add.
18121A1275
A new window is opened.
9) In that we enter attribute index, type, data format, nominal label values for storm.
10) Click on OK.
11) Press the Apply button, then a new attribute is added to the Weather Table.
12) Save the file.
13) Click on the Edit button, it shows a new Weather Table on Weka.
18121A1275
Removing a Pre-Processing Technique:
Procedure:
1) Start All Programs Weka-3-4
2) Click on Explorer.
3) Click on open file.
4) Select Weather.arff file and click on open.
5) Click on Choose button and select the Filters option.
6) In Filters, we have Supervised and Unsupervised data.
7) Click on Unsupervised data.
8) Select the attribute Remove.
18121A1275
10) Click Remove button and then Save.
11) Click on the Edit button, it shows a new Weather Table on Weka.
18121A1275
Normalize a Pre-Processing Technique:
Procedure:
1) Start Programs Weka-3-4
2) Click on explorer.
3) Click on open file.
4) Select Weather.arff file and click on open.
5) Click on Choose button and select the Filters option.
18121A1275
18121A1267
Procedure for Association Rules:
18121A1267
1) Open Start ->Programs -> Weka-3-4
2) Open explorer.
3) Click on open file and select weather.arff .
6) Click on Start button and output will be displayed on the right side of the window.
18121A1267
Procedure for Decision Trees:
18121A1267
1) Open Start ->Programs ->Weka-3-4 2)
Open explorer.
3) Click on open file and select weather.arff 4)
Select Classifier option on the top of the Menu
bar.
5) Select Choose button and click on Tree option.
6) Click on J48.
18121A1267
7) Click on Start button and output will be displayed on the right side of the window. 8)
18121A1267
Select the result list and right click on result list and select Visualize Tree option.
9) Then Decision Tree will be displayed on new window.
18121A1267
6) Click on Start button and output will be displayed on the right side of the window.
18121A1267
Implementing Simple Linear Regression on weather dataset:
1) Open Start ->Programs ->Weka-3-4
2) Open explorer.
3) Click on open file and select weather.arff
4) Select Classify option on the top of the Menu bar.
5) Select Choose button and click on weka->classifiers->functions->Linear Regression.
6) Click on Start button and output will be displayed on the right side of the window.
18121A1267
Implementing K-mean Clustering algorithm on weather dataset.
1) Open WEKA Tool.
2) Click on WEKA Explorer.
3) Click on open file and select weather.arff
4) Click on cluster tab and Choose k-mean and select use training set test option.
5) Click on start button.
18121A1267