pub fn evaluate<I>(&self, input: I) -> Result<f64>
    where
        B: basis::Basis<I, Value = Features>,
    {
        self.basis
            .project(input)
            .map(|b| b.dot(&self.weights.view()))
    }
/// Evaluate the function approximator for a given `input`.
Evaluate the function approximator for a given `input`.
Evaluate the function approximator for a given ` input ` .
pub fn evaluate<I>(&self, input: I) -> Result<f64>
    where
        B: basis::Basis<I, Value = Features>,
    {
        self.basis
            .project(input)
            .map(|b| b.dot(&self.weights.view()))
    }
pub fn evaluate < I > ( & self , input : I ) -> Result < f64 > where B : basis :: Basis < I , Value = Features > , { self . basis . project ( input ) . map ( | b | b . dot ( & self . weights . view ( ) ) ) }
Evaluate the function approximator for a given `input`.
Evaluate the function approximator for a given ` input ` .
&self
input
I
&self
input
I