User Tools

Site Tools


tuto_ecj_weka_easier

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tuto_ecj_weka_easier [2014/03/03 16:07]
Denis Pallez
tuto_ecj_weka_easier [2014/03/03 16:50] (current)
Denis Pallez
Line 1: Line 1:
 ====== How to build weka classifiers using ECJ library, the faster way ? ====== ====== How to build weka classifiers using ECJ library, the faster way ? ======
-<​note>​written by Romaric Pighetti in 2012/01.</​note>​+ 
 +A detailed version is available [[tuto_ecj_weka|here]].
  
 ===== Prerequisites:​ ===== ===== Prerequisites:​ =====
Line 6: Line 7:
   * Weka and knowledge about how to write algorithms in weka.   * Weka and knowledge about how to write algorithms in weka.
   * ECJ and knowledge about how it works.   * ECJ and knowledge about how it works.
-  * This tutorial jarfile available {{:​ecj_weka_fichiers:​ecj-for-weka.zip|here}}.+  * This tutorial jarfile available {{:​ecj_weka_fichiers:​ecj-for-weka.jar|here}}.
  
 ===== Class diagram: ===== ===== Class diagram: =====
Line 22: Line 23:
 When building your algorithm in weka, ou will launch your ecj algorithm by creating an ec.weka.Evolve object. Then you can call the setLearningDataSet method on it, giving it an Instances object, if your weka algorithm needs any data. Finally, to launch the algorithm you'll call the run method on the Evolve object, giving it the same argument you would give when invoking the algorithm from the command line. This mehod will return the results of the computation as an Individual[][] representing the best individuals of each subpopulation for each job. You can use these results as you wish within your weka algorithm. When building your algorithm in weka, ou will launch your ecj algorithm by creating an ec.weka.Evolve object. Then you can call the setLearningDataSet method on it, giving it an Instances object, if your weka algorithm needs any data. Finally, to launch the algorithm you'll call the run method on the Evolve object, giving it the same argument you would give when invoking the algorithm from the command line. This mehod will return the results of the computation as an Individual[][] representing the best individuals of each subpopulation for each job. You can use these results as you wish within your weka algorithm.
  
 +<​note>​written by Romaric Pighetti in 2012/​01.</​note>​
tuto_ecj_weka_easier.1393859246.txt.gz · Last modified: 2014/03/03 16:07 by Denis Pallez