40 int *ll =
new int[nlayers];
41 for(
int i=0;i<nlayers;i++){
42 ll[i] = layerCounts[i];
61 return (n==0)?ct-1:ct;
64 virtual void setH(
double h){
68 virtual double getH()
const {
75 for(
int i=0;i<nins;i++){
void init(int nlayers, const int *layerCounts)
Initialiser for use by the main constructor and the ctors of those subclasses mentioned in BPNet() ...
The "basic" back-propagation network using a logistic sigmoid, as described by Rumelhart, Hinton and Williams (and many others). This class is used by output blending and h-as-input networks.
Contains formats for example data.
NetType type
type of the network, used for load/save
void setInput(int n, double d)
Used to set inputs manually, typically in HInputNet.
int * layerSizes
array of layer sizes