pub struct BoostedTreesCalculateBestGainsPerFeature { /* private fields */ }
Expand description
Builder for the BoostedTreesCalculateBestGainsPerFeature
operation.
Implementations§
Source§impl BoostedTreesCalculateBestGainsPerFeature
impl BoostedTreesCalculateBestGainsPerFeature
Sourcepub fn max_splits<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn max_splits<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the max_splits
attribute.
Sourcepub fn num_features<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn num_features<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the num_features
attribute.
Sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>>(
&self,
node_id_range: O0,
stats_summary_list: O1,
l1: O2,
l2: O3,
tree_complexity: O4,
min_node_weight: O5,
scope: &mut Scope,
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>>( &self, node_id_range: O0, stats_summary_list: O1, l1: O2, l2: O3, tree_complexity: O4, min_node_weight: O5, scope: &mut Scope, ) -> Result<Operation>
Builds the BoostedTreesCalculateBestGainsPerFeature
operation.
Trait Implementations§
Source§impl Default for BoostedTreesCalculateBestGainsPerFeature
impl Default for BoostedTreesCalculateBestGainsPerFeature
Source§fn default() -> BoostedTreesCalculateBestGainsPerFeature
fn default() -> BoostedTreesCalculateBestGainsPerFeature
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BoostedTreesCalculateBestGainsPerFeature
impl RefUnwindSafe for BoostedTreesCalculateBestGainsPerFeature
impl Send for BoostedTreesCalculateBestGainsPerFeature
impl Sync for BoostedTreesCalculateBestGainsPerFeature
impl Unpin for BoostedTreesCalculateBestGainsPerFeature
impl UnwindSafe for BoostedTreesCalculateBestGainsPerFeature
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