Install weka explorer
Please go through the attachment
Write a report. Include the screenshots of your result, and compare the performance of these 3 classifiers. Which one of them has the best accuracy? Which one of them is the fastest?
Use Weka 3 in Data Mining
1. Download
(1) Please go to
https://www.cs.waikato.ac.nz/ml/weka/
Follow the instructions to download and install Weka 3.
(2) Goto:
http://storm.cis.fordham.edu/~gweiss/data-mining/datasets.html
Download these datasets:
· soybean.arff
· iris.arff
· segmentchallenge.arff
· segmenttest.arff
2. Use
After you install Weka 3, run the program. You will see this window:
Click “Explorer”. You will see this window:
Click “Open file”, and open one of your arff files, for example, “iris.arff”.
Click on the tab “classify”. Then you can click the button “choose” to choose a classifier.
Here we first choose “trees -> J48”, which is the C4.5 Decision Tree.
Then you can choose the number of folds of cross validation. Let’s change it to 5.
Then we can click “Start” to test the classifier using cross validation.
Here you can see a Confusion Matrix. Each row of the matrix shows the labels given to the instances of a particular class.
In this table, we can see that
· There are 50 instances of class “a”. 49 of them were correctly labelled as “a”, while 1 of them was incorrectly labelled as “b”.
· There are 50 instances of class “b”. 47 of them were correctly labelled as “b”, while 3 of them were incorrectly labelled as “c”.
· There are 50 instances of class “c”. 48 of them were correctly labelled as “c”, while 2 of them were incorrectly labelled as “b”.
The Confusion Matrix provides a good illustration of the correctness of the classification. In the classifier output, you can also find other stats such as the error rate.
We may also try other classifiers. You will find these classifiers:
· lazy -> IBk is the KNN classifier.
· functions -> SMO is the SVM classifier.
There are also a lot of other classifiers you can use. Let’s try KNN first.
After you choose IBk, you may click the textbox to modify its parameters.
In the pop-up window, you can set the value of each parameter. For example, the first value “KNN” specifies the number of neighbors K. By default, it’s 1, which means it a simple Nearest Neighbor classifier. Let’s change it to 3 and click ok.
Then we can click “start” to test it. We will see a new Confusion Matrix.
Similarly, you can try other classifiers, such as SVM. If you do not know the meaning of the parameters of a classifier, you may leave them as the default values.
Now let’s see how we can train a classifier using a training dataset, and test it with a different test dataset.
Go back to the tab “Preprocess” and open “segment-challenge.arff”. Then go to “Classify”.
Choose any classifier, for example SVM (functions -> SMO).
In Test options, choose “Supplied test set”, and click “Set…”.
Browse and open “segment-test.arff”. Then click “Start” to test it. You will see the result in the classifier output.
For more information on Weka, please refer to its documentation:
https://www.cs.waikato.ac.nz/ml/weka/documentation.html
Please try these classifiers on these data:
· Use C4.5 Decision Tree on “iris.arff”. Test the accuracy using 5 fold cross validation.
· Use SVM on “iris.arff”. Test the accuracy using 5 fold cross validation.
· Use KNN on “iris.arff”. Try K = 1. Test the accuracy using 5 fold cross validation.
· Use KNN on “iris.arff”. Try K = 3. Test the accuracy using 5 fold cross validation.
· Use C4.5 Decision Tree on “soybean.arff”. Test the accuracy using 5 fold cross validation.
· Use SVM on “soybean.arff”. Test the accuracy using 5 fold cross validation.
· Use KNN on “soybean.arff”. Try K = 1. Test the accuracy using 5 fold cross validation.
· Use KNN on “soybean.arff”. Try K = 3. Test the accuracy using 5 fold cross validation.
· Use C4.5 Decision Tree on “segment-challenge.arff”. Test the accuracy using “segment-test.arff”.
· Use SVM on “segment-challenge.arff”. Test the accuracy using “segment-test.arff”.
· Use KNN on “segment-challenge.arff”. Try K = 1. Test the accuracy using “segment-test.arff”.
· Use KNN on “segment-challenge.arff”. Try K = 3. Test the accuracy using “segment-test.arff”.
Write a report. Include the screenshots of your result, and compare the performance of these 3 classifiers. Which one of them has the best accuracy? Which one of them is the fastest?
Upload your report to the submission folder by the due date.
We provide professional writing services to help you score straight A’s by submitting custom written assignments that mirror your guidelines.
Get result-oriented writing and never worry about grades anymore. We follow the highest quality standards to make sure that you get perfect assignments.
Our writers have experience in dealing with papers of every educational level. You can surely rely on the expertise of our qualified professionals.
Your deadline is our threshold for success and we take it very seriously. We make sure you receive your papers before your predefined time.
Someone from our customer support team is always here to respond to your questions. So, hit us up if you have got any ambiguity or concern.
Sit back and relax while we help you out with writing your papers. We have an ultimate policy for keeping your personal and order-related details a secret.
We assure you that your document will be thoroughly checked for plagiarism and grammatical errors as we use highly authentic and licit sources.
Still reluctant about placing an order? Our 100% Moneyback Guarantee backs you up on rare occasions where you aren’t satisfied with the writing.
You don’t have to wait for an update for hours; you can track the progress of your order any time you want. We share the status after each step.
Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.
Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.
From brainstorming your paper's outline to perfecting its grammar, we perform every step carefully to make your paper worthy of A grade.
Hire your preferred writer anytime. Simply specify if you want your preferred expert to write your paper and we’ll make that happen.
Get an elaborate and authentic grammar check report with your work to have the grammar goodness sealed in your document.
You can purchase this feature if you want our writers to sum up your paper in the form of a concise and well-articulated summary.
You don’t have to worry about plagiarism anymore. Get a plagiarism report to certify the uniqueness of your work.
Join us for the best experience while seeking writing assistance in your college life. A good grade is all you need to boost up your academic excellence and we are all about it.
We create perfect papers according to the guidelines.
We seamlessly edit out errors from your papers.
We thoroughly read your final draft to identify errors.
Work with ultimate peace of mind because we ensure that your academic work is our responsibility and your grades are a top concern for us!
Dedication. Quality. Commitment. Punctuality
Here is what we have achieved so far. These numbers are evidence that we go the extra mile to make your college journey successful.
We have the most intuitive and minimalistic process so that you can easily place an order. Just follow a few steps to unlock success.
We understand your guidelines first before delivering any writing service. You can discuss your writing needs and we will have them evaluated by our dedicated team.
We write your papers in a standardized way. We complete your work in such a way that it turns out to be a perfect description of your guidelines.
We promise you excellent grades and academic excellence that you always longed for. Our writers stay in touch with you via email.