Click or drag to resize
Accord.NET (logo)

WeightType Enumeration

Sample weight types.

Namespace:  Accord.Statistics
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
public enum WeightType
  Member nameValueDescription
None0 Weights should be ignored.
Repetition1 Weights are integers representing how many times a sample should repeat itself.
Fraction2 Weights are fractional numbers that sum up to one.
Automatic3 If weights sum up to one, they are handled as fractional weights. If they sum to a whole number, they are handled as integer repetition counts.
See Also