1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
use serde::{Deserialize, Serialize};
#[derive(Debug, Default, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct BqmlTrainingRunTrainingOptions {
#[serde(skip_serializing_if = "Option::is_none")]
pub early_stop: Option<bool>,
#[serde(skip_serializing_if = "Option::is_none")]
pub l1_reg: Option<f64>,
#[serde(skip_serializing_if = "Option::is_none")]
pub l2_reg: Option<f64>,
#[serde(skip_serializing_if = "Option::is_none")]
pub learn_rate: Option<f64>,
#[serde(skip_serializing_if = "Option::is_none")]
pub learn_rate_strategy: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub line_search_init_learn_rate: Option<f64>,
#[serde(skip_serializing_if = "Option::is_none")]
pub max_iteration: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub min_rel_progress: Option<f64>,
#[serde(skip_serializing_if = "Option::is_none")]
pub warm_start: Option<bool>,
}