#include <ngnet.h>
Public メソッド | |
Unit () | |
initialize member variables | |
void | randomize (const double &min_weight, const double &max_weight, const double &initial_sigma) |
randomly initialize member variables with given range | |
double | dist2 (const input_vector &input) const |
calculate the squared distance form this unit to the given point | |
double | calc (const input_vector &input) const |
calculate the unit output value with Gaussian function | |
Public 変数 | |
input_vector | center_ |
center point | |
output_vector | weights_ |
weights to output | |
output_vector | delta_weights_ |
last delta of the weith while learning | |
double | sigma_ |
variance parameger. must be >0 | |
double | delta_sigma_ |
last delta of the sigma while learning |
void rcsc::NGNet::Unit::randomize | ( | const double & | min_weight, | |
const double & | max_weight, | |||
const double & | initial_sigma | |||
) |
randomly initialize member variables with given range
min_weight | minimum weight | |
max_weight | maximum weight | |
initial_sigma | initial sigma value |
double rcsc::NGNet::Unit::dist2 | ( | const input_vector & | input | ) | const [inline] |
calculate the squared distance form this unit to the given point
input | input point |
double rcsc::NGNet::Unit::calc | ( | const input_vector & | input | ) | const [inline] |
calculate the unit output value with Gaussian function
input | input point |