Struct prophet::NeuralNet
[−]
[src]
pub struct NeuralNet { /* fields omitted */ }
A neural net.
Can be trained with testing data and afterwards be used to predict results.
Neural nets in this implementation constists of several stacked neural layers and organized the data flow between them.
For example when the user uses predict
from NeuralNet
this
object organizes the input data throughout all of its owned layers and pipes
the result in the last layer back to the user.
Methods
impl NeuralNet
[src]
fn from_topology(topology: Topology) -> Self
[src]
Creates a new neural network of fully connected layers from a given topology.
Trait Implementations
impl Debug for NeuralNet
[src]
impl Clone for NeuralNet
[src]
fn clone(&self) -> NeuralNet
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'b, A> Predict<A> for NeuralNet where
A: Into<ArrayView1<'b, f32>>,
[src]
A: Into<ArrayView1<'b, f32>>,
fn predict(&mut self, input: A) -> ArrayView1<f32>
[src]
Predicts data based on given input data.