summaryrefslogtreecommitdiffstats
path: root/ml/SamplesBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ml/SamplesBuffer.h')
-rw-r--r--ml/SamplesBuffer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ml/SamplesBuffer.h b/ml/SamplesBuffer.h
index 1c7215ccad..9edc710192 100644
--- a/ml/SamplesBuffer.h
+++ b/ml/SamplesBuffer.h
@@ -88,7 +88,8 @@ public:
BytesPerSample(NumDimsPerSample * sizeof(CalculatedNumber)),
Preprocessed(false) {};
- std::vector<DSample> preprocess();
+ void preprocess(std::vector<DSample> &Samples);
+ void preprocess(DSample &Feature);
std::vector<Sample> getPreprocessedSamples() const;
size_t capacity() const { return NumSamples; }