class Fann::Network::Cascade
- Fann::Network::Cascade
- Reference
- Object
Defined in:
crystal-fann/cascade_network.crConstant Summary
-
Log =
::Log.for("cascade")
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_neurons => 500, :desired_mse => 0.01, :log_each => 10})
Constructor Detail
Instance Method Detail
def train_batch(train_data : Pointer(LibFANN::TrainData), opts = {:max_neurons => 500, :desired_mse => 0.01, :log_each => 10})
#