[PD-cvs] externals/ann/src ann_mlp.c,1.3,1.4 ann_td.c,1.3,1.4

IOhannes m zmölnig zmoelnig at users.sourceforge.net
Thu May 19 16:19:21 CEST 2005


Update of /cvsroot/pure-data/externals/ann/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31127

Modified Files:
	ann_mlp.c ann_td.c 
Log Message:
the joys of dos2unix


Index: ann_mlp.c
===================================================================
RCS file: /cvsroot/pure-data/externals/ann/src/ann_mlp.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ann_mlp.c	19 May 2005 14:14:53 -0000	1.3
--- ann_mlp.c	19 May 2005 14:19:19 -0000	1.4
***************
*** 1,565 ****
! /*	nn : Neural Networks for PD
! 	by Davide Morelli - info at davidemorelli.it - http://www.davidemorelli.it
! 	this software is simply an interface for FANN classes
! 	http://fann.sourceforge.net/
! 	FANN is obviously needed for compilation
! 	this software is licensed under the GNU General Public License
! */
! #include <stdio.h>
! #include <string.h>
! #include "m_pd.h"
[...1101 lines suppressed...]
! 	// change training parameters
! 	class_addmethod(ann_mlp_class, (t_method)set_desired_error, gensym("desired_error"),A_GIMME, 0);
! 	class_addmethod(ann_mlp_class, (t_method)set_max_iterations, gensym("max_iterations"),A_GIMME, 0);
! 	class_addmethod(ann_mlp_class, (t_method)set_iterations_between_reports, gensym("iterations_between_reports"),A_GIMME, 0);
! 
! 	// change training  and activation algorithms
! 	class_addmethod(ann_mlp_class, (t_method)set_FANN_TRAIN_INCREMENTAL, gensym("FANN_TRAIN_INCREMENTAL"), 0);
! 	class_addmethod(ann_mlp_class, (t_method)set_FANN_TRAIN_BATCH, gensym("FANN_TRAIN_BATCH"), 0);
! 	class_addmethod(ann_mlp_class, (t_method)set_FANN_TRAIN_RPROP, gensym("FANN_TRAIN_RPROP"), 0);
! 	class_addmethod(ann_mlp_class, (t_method)set_FANN_TRAIN_QUICKPROP, gensym("FANN_TRAIN_QUICKPROP"), 0);
! 	class_addmethod(ann_mlp_class, (t_method)set_activation_function_output, gensym("set_activation_function_output"),A_GIMME, 0);
! 	
! 	// the most important one: running the ann
! 	class_addlist(ann_mlp_class, (t_method)manage_list);
! 
! 	// help patch
! 	class_sethelpsymbol(ann_mlp_class, gensym("help-ann_mlp"));
! 
! 
! }

Index: ann_td.c
===================================================================
RCS file: /cvsroot/pure-data/externals/ann/src/ann_td.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ann_td.c	19 May 2005 14:14:53 -0000	1.3
--- ann_td.c	19 May 2005 14:19:19 -0000	1.4
***************
*** 1,664 ****
! /*	ann_td : Time Delay Neural Networks for PD
! 	by Davide Morelli - info at davidemorelli.it - http://www.davidemorelli.it
! 	this software is simply an interface for FANN classes
! 	http://fann.sourceforge.net/
! 	FANN is obviously needed for compilation
! 	this software is licensed under the GNU General Public License
! */
! #include <stdio.h>
! #include <string.h>
! #include "m_pd.h"
[...1299 lines suppressed...]
! 	class_addmethod(ann_td_class, (t_method)set_max_iterations, gensym("max_iterations"),A_GIMME, 0);
! 	class_addmethod(ann_td_class, (t_method)set_iterations_between_reports, gensym("iterations_between_reports"),A_GIMME, 0);
! 
! 	// change training  and activation algorithms
! 	class_addmethod(ann_td_class, (t_method)set_FANN_TRAIN_INCREMENTAL, gensym("FANN_TRAIN_INCREMENTAL"), 0);
! 	class_addmethod(ann_td_class, (t_method)set_FANN_TRAIN_BATCH, gensym("FANN_TRAIN_BATCH"), 0);
! 	class_addmethod(ann_td_class, (t_method)set_FANN_TRAIN_RPROP, gensym("FANN_TRAIN_RPROP"), 0);
! 	class_addmethod(ann_td_class, (t_method)set_FANN_TRAIN_QUICKPROP, gensym("FANN_TRAIN_QUICKPROP"), 0);
! 	class_addmethod(ann_td_class, (t_method)set_activation_function_output, gensym("set_activation_function_output"),A_GIMME, 0);
! 	
! 	class_addmethod(ann_td_class, (t_method)set_num_input_frames, gensym("inputs_frames"),A_DEFFLOAT, A_DEFFLOAT, 0);
! 	
! 	// the most important one: running the ann
! 	class_addlist(ann_td_class, (t_method)manage_list);
! 
! 	// help patch
! 	class_sethelpsymbol(ann_td_class, gensym("help-ann_td"));
! 
! 
! }





More information about the Pd-cvs mailing list