Function inanis::tuning::tunerset::run

source ·
pub fn run(
    pgn_filename: &str,
    output_file: &str,
    min_ply: usize,
    max_score: i16,
    max_diff: u16,
    density: usize,
    avg_game_phase: f32
)
Expand description

Runs generator of the dataset for the tuner. It works by parsing pgn_filename, and then picking random positions based on the provided restrictions like min_ply, max_score, max_differ, density and avg_game_phase. Output positions are then stored in the output_file.