« Return to Thread: Question regarding load the trained model and test on original dataset

RE: how to include new algorithm in WEKA?

by sunil agrawal :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

 
> Date: Thu, 4 Jun 2009 20:30:58 +1200

> Subject: Re: [Wekalist] how to include new algorithm in WEKA?
> From: fracpete@...
> To: wekalist@...
>
> >>>> hi , in the steps mentioned above-
> >   ---- place a GenericPropertiesCreator.props file in your
> > home directory
> >
> > (1) how do i place this file in my home directory
> >  as i was unable to locate the generic properties
> > creator.props file ?????????? (steps please)
>
> Either extract it from the weka.jar or the weka-src.jar (in
> sub-directory "weka/gui"). NB: Jar files are just zip files. I.e., use
> any archive manager that can handle zip files, e.g., 7-zip.
>
> > (how to locate ??)
> > (how to place??)
> >
> > (2) i have tried the following command to get
> > the file -:
> >
> > java weka.gui.GenericPropertiesCreator \
> >
> > weka/gui/GenericPropertiesCreator.props \
> >
> > %userprofile%/GenericObjectEditor.props
>
> As the "GenericObjectEditor" wiki article mentions, it is assumed that
> the current path that you are currently on is just above the root
> package of, i.e., "weka". That implies that the class or source files
> are unzipped. Otherwise, the path "weka/gui/" doesn't make a lot of
> sense.
>
> This procedure is *not* necessary, as you want to use dynamic class
> discovery. Just set the property "UseDynamic" in the
> GenericPropertiesCreator.props file that you've placed in your home
> directory to true.
>
> > -- what should i type in %userprofile% .. i am using xp
>
> %USERPROFILE% is the environment variable pointing to your home
> directory (on Win2000, WinXP and WinVista). Nothing to type in. Once
> again, *not* necessary since you want dynamic class discovery.
>
> If you want to know what directory your home directory is, just run
> the following command in a command prompt:
> echo %USERPROFILE%
>
> Cheers, Peter
> --
> Peter Reutemann, Dept. of Computer Science, University of Waikato, NZ
> http://www.cs.waikato.ac.nz/~fracpete/ Ph. +64 (7) 858-5174
>
> _______________________________________________
> Wekalist mailing list
> Send posts to: Wekalist@...
> List info and subscription status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
 
 
thanks i got the gpc.props file
 
now i am stuck again--
 
(1) the program which i want to add is ( abc.class)
     now
      how do i make the clusterer package? and
(2) where to paste that clusterer package?
 
Sunil


Get easy photo sharing with Windows LiveT Photos. Drag n' drop
_______________________________________________
Wekalist mailing list
Send posts to: Wekalist@...
List info and subscription status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html

 « Return to Thread: Question regarding load the trained model and test on original dataset