1 2 3 4 5 6 7 8 9 10 11
#include "sample_source_count.h" #include <cmath> double SampleSourceCount::Score(const FeatureContext& context) const { return log10(1 + context.num_samples); } string SampleSourceCount::GetName() const { return "SampleCountF"; }