Struct google_api_proto::google::cloud::bigquery::v2::model::HparamSearchSpaces
source · pub struct HparamSearchSpaces {Show 22 fields
pub learn_rate: Option<DoubleHparamSearchSpace>,
pub l1_reg: Option<DoubleHparamSearchSpace>,
pub l2_reg: Option<DoubleHparamSearchSpace>,
pub num_clusters: Option<IntHparamSearchSpace>,
pub num_factors: Option<IntHparamSearchSpace>,
pub hidden_units: Option<IntArrayHparamSearchSpace>,
pub batch_size: Option<IntHparamSearchSpace>,
pub dropout: Option<DoubleHparamSearchSpace>,
pub max_tree_depth: Option<IntHparamSearchSpace>,
pub subsample: Option<DoubleHparamSearchSpace>,
pub min_split_loss: Option<DoubleHparamSearchSpace>,
pub wals_alpha: Option<DoubleHparamSearchSpace>,
pub booster_type: Option<StringHparamSearchSpace>,
pub num_parallel_tree: Option<IntHparamSearchSpace>,
pub dart_normalize_type: Option<StringHparamSearchSpace>,
pub tree_method: Option<StringHparamSearchSpace>,
pub min_tree_child_weight: Option<IntHparamSearchSpace>,
pub colsample_bytree: Option<DoubleHparamSearchSpace>,
pub colsample_bylevel: Option<DoubleHparamSearchSpace>,
pub colsample_bynode: Option<DoubleHparamSearchSpace>,
pub activation_fn: Option<StringHparamSearchSpace>,
pub optimizer: Option<StringHparamSearchSpace>,
}
Expand description
Hyperparameter search spaces. These should be a subset of training_options.
Fields§
§learn_rate: Option<DoubleHparamSearchSpace>
Learning rate of training jobs.
l1_reg: Option<DoubleHparamSearchSpace>
L1 regularization coefficient.
l2_reg: Option<DoubleHparamSearchSpace>
L2 regularization coefficient.
num_clusters: Option<IntHparamSearchSpace>
Number of clusters for k-means.
num_factors: Option<IntHparamSearchSpace>
Number of latent factors to train on.
Hidden units for neural network models.
batch_size: Option<IntHparamSearchSpace>
Mini batch sample size.
dropout: Option<DoubleHparamSearchSpace>
Dropout probability for dnn model training and boosted tree models using dart booster.
max_tree_depth: Option<IntHparamSearchSpace>
Maximum depth of a tree for boosted tree models.
subsample: Option<DoubleHparamSearchSpace>
Subsample the training data to grow tree to prevent overfitting for boosted tree models.
min_split_loss: Option<DoubleHparamSearchSpace>
Minimum split loss for boosted tree models.
wals_alpha: Option<DoubleHparamSearchSpace>
Hyperparameter for matrix factoration when implicit feedback type is specified.
booster_type: Option<StringHparamSearchSpace>
Booster type for boosted tree models.
num_parallel_tree: Option<IntHparamSearchSpace>
Number of parallel trees for boosted tree models.
dart_normalize_type: Option<StringHparamSearchSpace>
Dart normalization type for boosted tree models.
tree_method: Option<StringHparamSearchSpace>
Tree construction algorithm for boosted tree models.
min_tree_child_weight: Option<IntHparamSearchSpace>
Minimum sum of instance weight needed in a child for boosted tree models.
colsample_bytree: Option<DoubleHparamSearchSpace>
Subsample ratio of columns when constructing each tree for boosted tree models.
colsample_bylevel: Option<DoubleHparamSearchSpace>
Subsample ratio of columns for each level for boosted tree models.
colsample_bynode: Option<DoubleHparamSearchSpace>
Subsample ratio of columns for each node(split) for boosted tree models.
activation_fn: Option<StringHparamSearchSpace>
Activation functions of neural network models.
optimizer: Option<StringHparamSearchSpace>
Optimizer of TF models.
Trait Implementations§
source§impl Clone for HparamSearchSpaces
impl Clone for HparamSearchSpaces
source§fn clone(&self) -> HparamSearchSpaces
fn clone(&self) -> HparamSearchSpaces
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HparamSearchSpaces
impl Debug for HparamSearchSpaces
source§impl Default for HparamSearchSpaces
impl Default for HparamSearchSpaces
source§impl Message for HparamSearchSpaces
impl Message for HparamSearchSpaces
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for HparamSearchSpaces
impl PartialEq for HparamSearchSpaces
source§fn eq(&self, other: &HparamSearchSpaces) -> bool
fn eq(&self, other: &HparamSearchSpaces) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HparamSearchSpaces
Auto Trait Implementations§
impl Freeze for HparamSearchSpaces
impl RefUnwindSafe for HparamSearchSpaces
impl Send for HparamSearchSpaces
impl Sync for HparamSearchSpaces
impl Unpin for HparamSearchSpaces
impl UnwindSafe for HparamSearchSpaces
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request