week 07 classification algorithms in rapidminerec/files_1112/lab07-1r-nb.pdf ·...
TRANSCRIPT
![Page 1: Week 07 Classification algorithms in Rapidminerec/files_1112/lab07-1R-NB.pdf · RapidMiner@feup-1023 Eile Edit Erocess 1001S View Help R Parameters w-zeroR ... Apply Association Rules](https://reader031.vdocuments.net/reader031/viewer/2022022506/5ac0f8017f8b9aca388c8444/html5/thumbnails/1.jpg)
Week 07
Classification algorithms in
Rapidminer
� Dataset: playtennis and risk
week 07 – datasets.xls
� Algorithms: Zero-R, One-R, NaiveBayes, K-NN
1
![Page 2: Week 07 Classification algorithms in Rapidminerec/files_1112/lab07-1R-NB.pdf · RapidMiner@feup-1023 Eile Edit Erocess 1001S View Help R Parameters w-zeroR ... Apply Association Rules](https://reader031.vdocuments.net/reader031/viewer/2022022506/5ac0f8017f8b9aca388c8444/html5/thumbnails/2.jpg)
2
run in
debug
mode?
![Page 3: Week 07 Classification algorithms in Rapidminerec/files_1112/lab07-1R-NB.pdf · RapidMiner@feup-1023 Eile Edit Erocess 1001S View Help R Parameters w-zeroR ... Apply Association Rules](https://reader031.vdocuments.net/reader031/viewer/2022022506/5ac0f8017f8b9aca388c8444/html5/thumbnails/3.jpg)
3
Indicates if the
votes should
be weighted by
similarity.
Try with k=1
![Page 4: Week 07 Classification algorithms in Rapidminerec/files_1112/lab07-1R-NB.pdf · RapidMiner@feup-1023 Eile Edit Erocess 1001S View Help R Parameters w-zeroR ... Apply Association Rules](https://reader031.vdocuments.net/reader031/viewer/2022022506/5ac0f8017f8b9aca388c8444/html5/thumbnails/4.jpg)
4
unlabled
data
In this example we are
using the same data so we
need to duplicate the
node.
![Page 5: Week 07 Classification algorithms in Rapidminerec/files_1112/lab07-1R-NB.pdf · RapidMiner@feup-1023 Eile Edit Erocess 1001S View Help R Parameters w-zeroR ... Apply Association Rules](https://reader031.vdocuments.net/reader031/viewer/2022022506/5ac0f8017f8b9aca388c8444/html5/thumbnails/5.jpg)
5
![Page 6: Week 07 Classification algorithms in Rapidminerec/files_1112/lab07-1R-NB.pdf · RapidMiner@feup-1023 Eile Edit Erocess 1001S View Help R Parameters w-zeroR ... Apply Association Rules](https://reader031.vdocuments.net/reader031/viewer/2022022506/5ac0f8017f8b9aca388c8444/html5/thumbnails/6.jpg)
6
risk dataset
![Page 7: Week 07 Classification algorithms in Rapidminerec/files_1112/lab07-1R-NB.pdf · RapidMiner@feup-1023 Eile Edit Erocess 1001S View Help R Parameters w-zeroR ... Apply Association Rules](https://reader031.vdocuments.net/reader031/viewer/2022022506/5ac0f8017f8b9aca388c8444/html5/thumbnails/7.jpg)
7
Why is this so accurate? What is wrong here?
![Page 8: Week 07 Classification algorithms in Rapidminerec/files_1112/lab07-1R-NB.pdf · RapidMiner@feup-1023 Eile Edit Erocess 1001S View Help R Parameters w-zeroR ... Apply Association Rules](https://reader031.vdocuments.net/reader031/viewer/2022022506/5ac0f8017f8b9aca388c8444/html5/thumbnails/8.jpg)
8
double click
![Page 9: Week 07 Classification algorithms in Rapidminerec/files_1112/lab07-1R-NB.pdf · RapidMiner@feup-1023 Eile Edit Erocess 1001S View Help R Parameters w-zeroR ... Apply Association Rules](https://reader031.vdocuments.net/reader031/viewer/2022022506/5ac0f8017f8b9aca388c8444/html5/thumbnails/9.jpg)
9
![Page 10: Week 07 Classification algorithms in Rapidminerec/files_1112/lab07-1R-NB.pdf · RapidMiner@feup-1023 Eile Edit Erocess 1001S View Help R Parameters w-zeroR ... Apply Association Rules](https://reader031.vdocuments.net/reader031/viewer/2022022506/5ac0f8017f8b9aca388c8444/html5/thumbnails/10.jpg)
10
![Page 11: Week 07 Classification algorithms in Rapidminerec/files_1112/lab07-1R-NB.pdf · RapidMiner@feup-1023 Eile Edit Erocess 1001S View Help R Parameters w-zeroR ... Apply Association Rules](https://reader031.vdocuments.net/reader031/viewer/2022022506/5ac0f8017f8b9aca388c8444/html5/thumbnails/11.jpg)
11
![Page 12: Week 07 Classification algorithms in Rapidminerec/files_1112/lab07-1R-NB.pdf · RapidMiner@feup-1023 Eile Edit Erocess 1001S View Help R Parameters w-zeroR ... Apply Association Rules](https://reader031.vdocuments.net/reader031/viewer/2022022506/5ac0f8017f8b9aca388c8444/html5/thumbnails/12.jpg)
12
![Page 13: Week 07 Classification algorithms in Rapidminerec/files_1112/lab07-1R-NB.pdf · RapidMiner@feup-1023 Eile Edit Erocess 1001S View Help R Parameters w-zeroR ... Apply Association Rules](https://reader031.vdocuments.net/reader031/viewer/2022022506/5ac0f8017f8b9aca388c8444/html5/thumbnails/13.jpg)
13
results with k-nn
![Page 14: Week 07 Classification algorithms in Rapidminerec/files_1112/lab07-1R-NB.pdf · RapidMiner@feup-1023 Eile Edit Erocess 1001S View Help R Parameters w-zeroR ... Apply Association Rules](https://reader031.vdocuments.net/reader031/viewer/2022022506/5ac0f8017f8b9aca388c8444/html5/thumbnails/14.jpg)
14
results with the Naive Bayes model
![Page 15: Week 07 Classification algorithms in Rapidminerec/files_1112/lab07-1R-NB.pdf · RapidMiner@feup-1023 Eile Edit Erocess 1001S View Help R Parameters w-zeroR ... Apply Association Rules](https://reader031.vdocuments.net/reader031/viewer/2022022506/5ac0f8017f8b9aca388c8444/html5/thumbnails/15.jpg)
15
results with the oneR model