Fido
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
Public Member Functions | List of all members
net::Pruner Class Reference

Removes unnecessary neurons from a NeuralNet. More...

#include <Pruner.h>

Public Member Functions

 Pruner ()
 Initialize the Pruner object. More...
 
void pruneRandomnly (NeuralNet *network)
 
void prune (NeuralNet *network, Trainer *networkTrainer)
 
void prune (NeuralNet *network, const std::vector< std::vector< std::vector< double > > > &initialWeights, const std::vector< std::vector< std::vector< std::vector< double > > > > &weightChanges, const std::vector< std::vector< std::vector< std::vector< double > > > > &gradients)
 

Detailed Description

Removes unnecessary neurons from a NeuralNet.

Constructor & Destructor Documentation

Pruner::Pruner ( )

Initialize the Pruner object.

Member Function Documentation

void Pruner::prune ( NeuralNet network,
Trainer networkTrainer 
)
void Pruner::prune ( NeuralNet network,
const std::vector< std::vector< std::vector< double > > > &  initialWeights,
const std::vector< std::vector< std::vector< std::vector< double > > > > &  weightChanges,
const std::vector< std::vector< std::vector< std::vector< double > > > > &  gradients 
)
void Pruner::pruneRandomnly ( NeuralNet network)

The documentation for this class was generated from the following files: