Evaluate your implementations using provided training set

Assignment Help Computer Engineering
Reference no: EM131880922

Assignment: Decision Tree and Naive Bayesian Classifier

Your task for this assignment is to implement and evaluate the C4.5 decision tree classifier and Naïve Bayesian classifier.

1. Implement the C4.5 classifier and Naïve Bayesian classifier.

· You can use any programming language that you are familiar with.

· The program should be executable with 3 command-line parameters: the name of the training dataset file, the name of the test dataset file, and the name of the output file.

· The program should output a file that contains the class labels for all the records in the test dataset and the classification accuracy computed as the percentage of correctly classified records in the test dataset.

· You are only required to handle categorical attributes (numerical attributes are not required).

2. Evaluate your implementations using the provided training set and test set (mushroom.training, mushroom.test). The provided dataset were created using the original mushroom dataset from UCI repository, with one attribute with missing values removed. The training dataset contains 7423 records and the test dataset 701 records. The first attribute is the class of each record and the rest 21 attributes are categorical attributes. You can also test your programs with other datasets using cross-validations.

3. Write a brief report in PDF presenting your results on the provided dataset and other datasets if you have tried. Discuss the experiences and lessons you have learned from the implementation and experimentation.

4. You can work as a team of up to two. If you work on your own, you get 5 bonus points. If you work as a team of two, please explain the contribution of each team member in your report. The grading of the implementation will be based on correctness and not on the performance.

5. Submission. You (or your partner) will upload two items to Canvas: your PDF report and a zip or tar file.

This zip/tar file must contain:

Your source files (include your name(s) in commented form at the top of all source files), the executable,

a README file explaining how to compile/run your program, the output file for the test dataset.

Name your programs c45.py (c45.java, etc.) and bayes.java (bayes.py, etc.) and name your folder PersonOnePersonTwoHW2.

Reference no: EM131880922

Questions Cloud

Calculate actual aoutcome based on figures : Prepare company's Plan P/L based on following estimates: The company plan to hire new employee that receives as commission 100 EUR for each sold laptop.
Identify key features of different components in an os : You have to identify key features of different components in an Operating system. Master important operating system concepts such as memory and process.
Do you have any personal issues with these practices : Many organizations have started using behavioral targeting in order to capture your website visitor movements.
Ira invest in portfolio of common stock on nasdaq : You put $2000 at age 20 into an IRA for future retirement. Your IRA invest in a portfolio of common stock on NASDAQ.
Evaluate your implementations using provided training set : Evaluate your implementations using the provided training set and test set (mushroom.training, mushroom.test).
Bond valuation-calculate the value of the bond : Calculate the value of the bond. How does the value change if your required rate of return? (1) increases to 14 percent or? (2) decreases to 8 ?percent?
Is the applied overhead over or under absorbed : If actual production overhead costs incurred in May were $10,900, calculate the applied overhead for the month. Is the applied overhead over or under absorbed?
What major structures are included in taste organ : What major structures are included in taste organ? What are the specialized sensory receptor cells for smell
Discuss algorithms and methods introduced in the paper : What does the paper mainly talk about? Briefly discuss algorithms and methods introduced in the paper and the contribution of the paper to the literature.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd