Example #1
0
func (ann *Ann) SetCascadeWeightMultiplier(cascade_weight_multiplier FannType) {
	C.fann_set_cascade_weight_multiplier(ann.object, C.fann_type(cascade_weight_multiplier))
}
Example #2
0
func (ann *Ann) SetCascadeCandidateLimit(cascade_candidate_limit FannType) {
	C.fann_set_cascade_candidate_limit(ann.object, C.fann_type(cascade_candidate_limit))
}
Example #3
0
func (ann *Ann) SetActivationSteepnessOutput(steepness FannType) {
	C.fann_set_activation_steepness_output(ann.object, C.fann_type(steepness))
}
Example #4
0
func (td *TrainData) ScaleTrainData(new_min FannType, new_max FannType) {
	C.fann_scale_train_data(td.object, C.fann_type(new_min), C.fann_type(new_max))
}
Example #5
0
func (ann *Ann) SetActivationSteepnessHidden(steepness FannType) {
	C.fann_set_activation_steepness_hidden(ann.object, C.fann_type(steepness))
}
Example #6
0
func (ann *Ann) SetActivationSteepnessLayer(steepness FannType, layer int) {
	C.fann_set_activation_steepness_layer(ann.object, C.fann_type(steepness), C.int(layer))
}
Example #7
0
func (ann *Ann) SetBitFailLimit(bit_fail_limit FannType) {
	C.fann_set_bit_fail_limit(ann.object, C.fann_type(bit_fail_limit))
}
Example #8
0
func (ann *Ann) SetWeight(from_neuron uint32, to_neuron uint32, weight FannType) {
	C.fann_set_weight(ann.object, C.uint(from_neuron), C.uint(to_neuron), C.fann_type(weight))
}
Example #9
0
func (ann *Ann) RandomizeWeights(min_weight FannType, max_weight FannType) {
	C.fann_randomize_weights(ann.object, C.fann_type(min_weight), C.fann_type(max_weight))
}