Trait dahl_salso::optimize::InformationBasedLoss[][src]

pub trait InformationBasedLoss {
    fn compute_kernel(&self, u: f64, v: f64, uv: f64, nlog2n: f64) -> f64;
fn finalize(&self, sum: f64, n_draws: f64, n_items: f64) -> f64;
fn score(&self, sum: f64) -> f64; }

Required methods

fn compute_kernel(&self, u: f64, v: f64, uv: f64, nlog2n: f64) -> f64[src]

fn finalize(&self, sum: f64, n_draws: f64, n_items: f64) -> f64[src]

fn score(&self, sum: f64) -> f64[src]

Loading content...

Implementors

impl InformationBasedLoss for IDInformationBasedLoss[src]

fn compute_kernel(&self, u: f64, v: f64, uv: f64, _nlog2n: f64) -> f64[src]

fn finalize(&self, sum: f64, n_draws: f64, n_items: f64) -> f64[src]

fn score(&self, sum: f64) -> f64[src]

impl InformationBasedLoss for NIDInformationBasedLoss[src]

fn compute_kernel(&self, u: f64, v: f64, uv: f64, nlog2n: f64) -> f64[src]

fn finalize(&self, sum: f64, n_draws: f64, _n_items: f64) -> f64[src]

fn score(&self, sum: f64) -> f64[src]

impl InformationBasedLoss for NVIInformationBasedLoss[src]

fn compute_kernel(&self, u: f64, v: f64, uv: f64, nlog2n: f64) -> f64[src]

fn finalize(&self, sum: f64, n_draws: f64, _n_items: f64) -> f64[src]

fn score(&self, sum: f64) -> f64[src]

Loading content...