All pastes #922863 Raw Edit

Unnamed

public text v1 · immutable
#922863 ·published 2008-02-29 02:05 UTC
rendered paste body
            unsigned int *layerLayout[hidden_layers + 1];
            (*layerLayout)[0] = 128;
            (*layerLayout)[hidden_layers + 1] = setIter->second;
            int i;
            for(i = 1; i < (hidden_layers + 1); i++)
            {
                (*layerLayout)[i] = hidden_neurons;
            };

            if(ann_type == "standard") annParams->annType = ANN_STANDARD;
            else if(ann_type == "shortcut") annParams->annType = ANN_SHORTCUT;
            else if(ann_type == "sparse") annParams->annType = ANN_SPARSE;
            else
            {
                mLogManager.logInfo("Overseer: You specified an invalid ANN type! Reseting to the default of 'standard'");
                annParams->annType = ANN_STANDARD;
            }