1 #ifndef CONFIGIONOVELTY_HH
2 #define CONFIGIONOVELTY_HH
57 "Novelty of a configuration with respect to a population of "
58 "configurations, measured using the Mahalanobis distance of its "
59 "correlations. Accepts one argument, a configuration selection "
60 "specifying the population against which novelty is measured "
61 "(default MASTER). Ex: novelty(path/to/selection)") {}
65 std::unique_ptr<Novelty>
clone()
const {
66 return std::unique_ptr<Novelty>(this->
_clone());
86 bool parse_args(
const std::string &args)
override;
A DatumFormatter class to measure the 'novelty' of a configuration with respect to a population of co...
std::string short_header(const Configuration &_config) const override
bool parse_args(const std::string &args) override
bool init(const Configuration &_tmplt) const override
double evaluate(const Configuration &_config) const override
std::unique_ptr< Novelty > clone() const
std::string m_selection
specifies which selection to use as the population
DataFormatter< Configuration > m_format
Formatter which is used to obtain correlations.
Novelty * _clone() const override
Clone.
Eigen::VectorXd m_avg_corr
The average correlation vector of the population.
Eigen::MatrixXd m_gram_mat
Gram matrix, which defind Mahalanobis scalar product.