DiSMEC++
py_train.cpp File Reference
#include "binding.h"
#include "data/data.h"
#include "training/weighting.h"
#include "training/training.h"
#include "training/initializer.h"
#include "training/postproc.h"
#include "parallel/runner.h"
#include "objective/regularizers.h"
#include "spdlog/fmt/fmt.h"

Go to the source code of this file.

Namespaces

 anonymous_namespace{py_train.cpp}
 

Typedefs

using PyWeighting = std::shared_ptr< WeightingScheme >
 

Functions

void register_regularizers (pybind11::module_ &root)
 
auto anonymous_namespace{py_train.cpp}::get_positive_weight (const WeightingScheme &pds, long label)
 
auto anonymous_namespace{py_train.cpp}::get_negative_weight (const WeightingScheme &pds, long label)
 
PyWeighting anonymous_namespace{py_train.cpp}::make_constant (double pos, double neg)
 
PyWeighting anonymous_namespace{py_train.cpp}::make_propensity (const DatasetBase &data, double a, double b)
 
PyWeighting anonymous_namespace{py_train.cpp}::make_custom (DenseRealVector pos, DenseRealVector neg)
 
void register_weighting (pybind11::module_ &m)
 
void register_init (pybind11::module_ &root)
 
void register_training (pybind11::module_ &m)
 

Typedef Documentation

◆ PyWeighting

using PyWeighting = std::shared_ptr<WeightingScheme>

Definition at line 21 of file py_train.cpp.

Function Documentation

◆ register_init()

◆ register_regularizers()

◆ register_training()

◆ register_weighting()