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.
sourcepub fn build_instance(
&self,
node_id_range: Output,
stats_summary_list: Vec<Output>,
l1: Output,
l2: Output,
tree_complexity: Output,
min_node_weight: Output,
scope: &mut Scope
) -> Result<BoostedTreesCalculateBestGainsPerFeatureInst>
pub fn build_instance( &self, node_id_range: Output, stats_summary_list: Vec<Output>, l1: Output, l2: Output, tree_complexity: Output, min_node_weight: Output, scope: &mut Scope ) -> Result<BoostedTreesCalculateBestGainsPerFeatureInst>
Builds a new instance of ‘BoostedTreesCalculateBestGainsPerFeature’ Operation with it’s Outputs and Inputs exposed as methods.
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 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