pub struct SdcaOptimizer { /* private fields */ }
Expand description

Builder for the SdcaOptimizer operation.

Implementations

Creates a new SdcaOptimizer.

Sets the loss_type attribute.

Sets the adaptative attribute.

Sets the num_sparse_features attribute.

Sets the num_sparse_features_with_values attribute.

Sets the num_dense_features attribute.

Sets the l1 attribute.

Sets the l2 attribute.

Sets the num_loss_partitions attribute.

Sets the num_inner_iterations attribute.

Adds a control input.

Builds the SdcaOptimizer operation.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. 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.