protected BackwardsEliminationPredictor( IDistanceMeasure distanceMeasure, IQuantitativeDataNormalizer dataNormalizer, KnnResultHandler <TPredictionResult> resultHandlingFunc, Func <double, double> weightingFunc = null, IDistanceMeasure similarityMeasure = null, bool normalizeNumericValues = false) : base(distanceMeasure, dataNormalizer, resultHandlingFunc, weightingFunc, similarityMeasure, normalizeNumericValues) { }
public SimpleKnnPredictor( IDistanceMeasure distanceMeasure, IQuantitativeDataNormalizer dataNormalizer, KnnResultHandler <TPredictionResult> resultHandlingFunc, Func <double, double> weightingFunc = null, IDistanceMeasure similarityMeasure = null, bool normalizeNumericValues = false) { _resultHandler = resultHandlingFunc; DistanceMeasure = distanceMeasure; SimilarityMeasure = similarityMeasure ?? distanceMeasure; DataNormalizer = dataNormalizer; WeightingFunction = weightingFunc; NormalizeNumericValues = normalizeNumericValues; }