6 #ifndef DISMEC_SUBSET_H
7 #define DISMEC_SUBSET_H
16 std::shared_ptr<const GenericFeatureMatrix> local_features,
real_t pos,
real_t neg);
33 const Eigen::Ref<DenseRealVector>& mean_of_positives);
std::shared_ptr< const DatasetBase > m_DataSet
real_t m_MeanAllNormSquared
std::shared_ptr< const GenericFeatureMatrix > m_LocalFeatures
DenseRealVector m_MeanOfAll
std::pair< real_t, real_t > calculate_factors(label_id_t label_id, const Eigen::Ref< DenseRealVector > &mean_of_positives)
BinaryLabelVector m_LabelBuffer
static constexpr stats::stat_id_t STAT_DURATION
SubsetFeatureMeanInitializer(std::shared_ptr< const DatasetBase > data, const DenseRealVector &mean_of_all, std::shared_ptr< const GenericFeatureMatrix > local_features, real_t pos, real_t neg)
SubsetFeatureMeanStrategy(std::shared_ptr< const DatasetBase > data, real_t negative_target, real_t positive_target)
std::shared_ptr< const DatasetBase > m_DataSet
DenseRealVector m_MeanOfAllInstances
Base class for all weight init strategies.
Base class for all weight initializers.
Strong typedef for an int to signify a label id.
types::DenseVector< std::int8_t > BinaryLabelVector
Dense vector for storing binary labels.
types::DenseVector< real_t > DenseRealVector
Any dense, real values vector.
float real_t
The default type for floating point values.