pub struct MlpRegressor {
pub parameters: MlpParameters,
pub training_loss: Vec<f64>,
/* private fields */
}Expand description
A multilayer perceptron for regression (linear output, squared-error loss).
Fields§
§parameters: MlpParameters§training_loss: Vec<f64>Mean training loss per epoch (on standardised targets).
Implementations§
Source§impl MlpRegressor
impl MlpRegressor
pub fn new(parameters: MlpParameters) -> Self
Trait Implementations§
Source§impl Clone for MlpRegressor
impl Clone for MlpRegressor
Source§impl Debug for MlpRegressor
impl Debug for MlpRegressor
Auto Trait Implementations§
impl Freeze for MlpRegressor
impl RefUnwindSafe for MlpRegressor
impl Send for MlpRegressor
impl Sync for MlpRegressor
impl Unpin for MlpRegressor
impl UnsafeUnpin for MlpRegressor
impl UnwindSafe for MlpRegressor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more