class Fann::Network::Standard
- Fann::Network::Standard
- Reference
- Object
Defined in:
crystal-fann/standard_network.crConstant Summary
-
Log =
::Log.for("standard")
Constructors
Instance Method Summary
- #close
- #input_size : Int32 | UInt32
- #mse
- #nn : Pointer(LibFANN::Fann)
- #nn=(nn : Pointer(LibFANN::Fann))
- #output_size : Int32 | UInt32
- #randomize_weights(min : Float64, max : Float64)
- #run(input : Array(Float64))
- #save(path : String) : Int32
- #set_hidden_layer_activation_func(func : LibFANN::ActivationfuncEnum)
- #set_output_layer_activation_func(func : LibFANN::ActivationfuncEnum)
- #train_algorithm(algo : LibFANN::TrainEnum)
- #train_batch(train_data : Pointer(LibFANN::TrainData), opts = {:max_runs => 200, :desired_mse => 0.01, :log_each => 1})
- #train_batch_multicore(train_data : Pointer(LibFANN::TrainData), threads : Int32, opts = {:max_runs => 200, :desired_mse => 0.01, :log_each => 1})
- #train_single(input : Array(Float64), output : Array(Float64))
Constructor Detail
Instance Method Detail
def train_batch(train_data : Pointer(LibFANN::TrainData), opts = {:max_runs => 200, :desired_mse => 0.01, :log_each => 1})
#
def train_batch_multicore(train_data : Pointer(LibFANN::TrainData), threads : Int32, opts = {:max_runs => 200, :desired_mse => 0.01, :log_each => 1})
#