Cancelado

WEKA Perceptron Classifier

You must develop a classifier that implements the Perceptron learning algorithm. The classifier must be written in Java and must extend Weka’s Classifier class so it can be invoked from within the Weka framework to exercise and evaluate its performance. It will need to implement only a few skeletal methods, as described below.

The classifier will be tested against several test cases, each with a specific data file in Weka’s ARFF format, a number of training epochs, and a learning constant. These values will be furnished as command line parameters when the program is run. All data files will involve decimal real feature values and nominal (i.e., enumerated) binary classifications. They will be drawn from the sample data files that you can see in the data folder in your Weka installation.

You will be provided with the [url removed, login to view] driver program for exercising the classifier and obtaining results. The driver class will instantiate your classifier and pass the command line arguments as Weka options. The driver will also invoke the Weka evaluation methods for assessing performance. Each run of the program will exercise one test case.

You will find helpful information in the “Writing a New Classifier” section in the “Extending Weka” chapter in the Weka manual that is included in your Weka distribution. There is also much material online about Weka and how to use it.

With the above in mind, here are the specific requirements:

1. Your zip file must contain only your Java source files, including the version of [url removed, login to view] that you wish us to use with your classifier, even if you have not modified it. Do NOT include any class files, [url removed, login to view], or any IDE project files.

2. You must use the [url removed, login to view] driver file to exercise your program. The program entry point MUST BE the Main method in this class and it must take the following three command line parameters, in the following order: (a) the data file name (a String), (b) the number of training epochs (an integer), and (c) the learning constant (a decimal real value).

3. Your classifier must be defined in a class called “Perceptron”, which must extend the [url removed, login to view] class and implement the [url removed, login to view] interface, which are in the [url removed, login to view] file that came with your Weka distribution. You will need to add [url removed, login to view] to your IDE project classpath, but do not include it in the zip file. This class must explicitly implement the Perceptron training algorithm.

4. A minimal set of methods that your classifier must implement is: (a) buildClassifier, (b) distributionForInstance, (c) setOptions, and (d) toString. The buildClassifier method will train the classifier using the Perceptron algorithm for the number of epochs, using the learning rate constant, and against the data set, all as specified by by the values retrieved by the setOptions method. The distributionForInstance method will simply specify the zero or one values for each classification class, depending on the predicted classification for an instance.

5. The buildClassifier method must report intermediate results as shown in the [url removed, login to view] file furnished with this assignment. Specifically, for each training epoch, the classifier must report the epoch number (e.g., “Iteration 0:”) followed by a binary string containing a value of 1 for each data instance that is successfully classified, or a value of 0 if classification is unsuccessful, requiring that the weights be updated.

6. The toString method must report the following data in the format shown in the [url removed, login to view] sample output file: (a) the source file; (b) the number of iterations (epochs); (c) the learning rate used; (d) the total number of time that weight updates were performed during training; and (e) the final weight values.

Habilidades: Java, PHP, Arquitetura de software, Teste de Software

Ver mais: writing to a file java, writing to a file in java, writing chapter three, writing an algorithm for a program, values of report writing, use cases include extend, use case extend, test iteration, string b, sample data entry test, php ide online, order assignment writing online, online writing class, on line data entry test, online data entry methods, online c++ ide, method of report writing, main point in report writing, learning java online, learning data entry on line, java writing to a file, java 5 new feature, integer real number, integer and real number, include extend use case

Acerca do Empregador:
( 1 comentário ) oviedo, United States

ID do Projeto: #6801210

2 freelancers estão ofertando em média $403 para este trabalho

swarm22

I am a data scientist/quantitative developer with over 5 years of experience doing analysis. My interest and expertise in using weka and java.

$555 USD in 10 dias
(3 Comentários)
1.7
marketladyonline

Skype: ladyhubonline 'I am a private freelancer thats why I have no reviews because I usually got my clients from other freelancers company such as craigslist, easyoutsource, onlinejobs, warrior forum.. Somebody to Mais

$250 USD in 3 dias
(0 Comentários)
0.0