pub struct MdlAdagradLightParameters {Show 15 fields
pub l2: f32,
pub lr_power: f32,
pub min_servable_mdl_benefit: f32,
pub mdl_mix_in_margin: f32,
pub mdl_benefit_rampup_coeff: f32,
pub mdl_min_weight: f32,
pub benefit_revisit_scale: f32,
pub max_event_benefit: f32,
pub max_total_benefit: f32,
pub mdl_hard_limit: f32,
pub hard_limit_min_benefit: bool,
pub mdl_regularize: bool,
pub initial_accumulator: f32,
pub initial_weight: f32,
pub initial_benefit: f32,
}
Expand description
Variant of algorithm in http://proceedings.mlr.press/v44/shamir15.pdf
Fields§
§l2: f32
§lr_power: f32
§min_servable_mdl_benefit: f32
§mdl_mix_in_margin: f32
§mdl_benefit_rampup_coeff: f32
§mdl_min_weight: f32
§benefit_revisit_scale: f32
§max_event_benefit: f32
§max_total_benefit: f32
§mdl_hard_limit: f32
§hard_limit_min_benefit: bool
§mdl_regularize: bool
§initial_accumulator: f32
§initial_weight: f32
§initial_benefit: f32
Trait Implementations§
Source§impl Clone for MdlAdagradLightParameters
impl Clone for MdlAdagradLightParameters
Source§fn clone(&self) -> MdlAdagradLightParameters
fn clone(&self) -> MdlAdagradLightParameters
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MdlAdagradLightParameters
impl Debug for MdlAdagradLightParameters
Source§impl Default for MdlAdagradLightParameters
impl Default for MdlAdagradLightParameters
Source§impl Message for MdlAdagradLightParameters
impl Message for MdlAdagradLightParameters
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.impl StructuralPartialEq for MdlAdagradLightParameters
Auto Trait Implementations§
impl Freeze for MdlAdagradLightParameters
impl RefUnwindSafe for MdlAdagradLightParameters
impl Send for MdlAdagradLightParameters
impl Sync for MdlAdagradLightParameters
impl Unpin for MdlAdagradLightParameters
impl UnwindSafe for MdlAdagradLightParameters
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