jymlp::MlpFactory Class Reference

List of all members.

Public Member Functions

 MlpFactory (istream &definition)
 Construct using a definition text stream.
Mlpcreate (mt19937 *prgen)
 Return a raw ptr to a new Mlp object; use the given rnd generator.

Protected Attributes

vector< size_t > ininneur
vector< ActF > iniactf

Constructor & Destructor Documentation

MlpFactory::MlpFactory ( istream &  definition  ) 

Construct using a definition text stream.

Format is according to the following example:

init_size: 2-4-5-2 init_actf: in-tanh-tanh-lin init_weights: uniform(-1,1)

One definition on each line. Obvious modifications are possible. Default is tanh on hidden layer and linear activation on output layer. Default initialization is uniform(-1,1). Number of neurons must always be given.


Member Function Documentation

Mlp * MlpFactory::create ( mt19937 *  prgen  ) 

Return a raw ptr to a new Mlp object; use the given rnd generator.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Friends

Generated on 1 Sep 2016 for Momulper - Multiobjective MLP for Classification by  doxygen 1.6.1