Struct rustlearn::linear_models::sgdclassifier::SGDClassifier
[−]
[src]
pub struct SGDClassifier { // some fields omitted }
A two-class linear regression classifier implemented using stochastic gradient descent.
Methods
impl SGDClassifier
[src]
fn get_coefficients(&self) -> &Array
Returns a reference to the estimated coefficients vector.
Trait Implementations
impl Decodable for SGDClassifier
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<SGDClassifier, __D::Error>
impl Encodable for SGDClassifier
[src]
impl Clone for SGDClassifier
[src]
fn clone(&self) -> SGDClassifier
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more