public Numeric(List <double> vector, NumericDomain domain) { this.vector = vector; this.domain = domain; this.range = new Range(vector.Min(), vector.Max()); this.numUniqueValues = vector.Distinct().Count(); }
public Numeric(List <double> vector, NumericDomain domain, Range range, int numUniqueValues /*, Language.Types.SType type*/) { this.vector = vector; this.domain = domain; this.range = range; this.numUniqueValues = numUniqueValues; //this.labelType = type; }