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