pub struct TweedieRegressor<A> {
    pub coef: Array1<A>,
    pub intercept: A,
    /* private fields */
}
Expand description

Fitted Tweedie regressor model for scoring

Fields

coef: Array1<A>

Estimated coefficients for the linear predictor

intercept: A

Intercept or bias added to the linear model

Implementations

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

Predict the target

Create targets that predict_inplace works with.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.