[−][src]Struct connect6::policy::HyperParameter
Hyperparameter for implementing AlphaZero
.
Default parameter is based on paper AlphaGo Zero
- num_simulation : number of simulation in tree search, default 800.
- epsilon : exploit, exploration parameter, default 0.25.
- dirichlet_alpha : param for diriclet random distribution, default 0.03.
- c_puct : param for modulating q_value and probability, default 1.
Fields
num_simulation: i32
epsilon: f32
dirichlet_alpha: f64
c_puct: f32
Methods
impl HyperParameter
[src]
pub fn new() -> HyperParameter
[src]
Alias of HyperParameter::default
pub fn light_weight() -> HyperParameter
[src]
Light weight AlphaZero parameters, num simulation: 2
Trait Implementations
impl Default for HyperParameter
[src]
fn default() -> HyperParameter
[src]
Generate default HyperParameter
impl Clone for HyperParameter
[src]
fn clone(&self) -> HyperParameter
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for HyperParameter
[src]
Auto Trait Implementations
impl Send for HyperParameter
impl Sync for HyperParameter
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,