Метод | Описание | |
---|---|---|
convertDistributionArrayToMap ( JsonArray distribution ) : double>.Dictionary |
We switch the Array to a Map structure in order to be more easily manipulated
|
|
convertDistributionMapToSortedArray ( double>.IDictionary |
We switch the Array to a Map structure in order to be more easily manipulated
|
|
isNumericType ( this o ) : bool | ||
meanOfDistribution ( IList |
Computes the mean of a distribution in the [[point, instances]] syntax
|
|
meanOfValues ( IList |
Computes the mean of a list of double values
|
|
mergeBins ( double>.IDictionary |
Merges the bins of a regression distribution to the given limit number
|
|
mergeBins ( JsonArray distribution, int limit ) : JsonArray |
Merges the bins of a regression distribution to the given limit number
|
|
mergeDistributions ( double>.Dictionary |
Adds up a new distribution structure to a map formatted distribution
|
|
printDistribution ( JsonArray distribution ) : StringBuilder |
Prints distribution data
|
|
roundOff ( double x, int n ) : double |
Round a double number x to n decimal places
|
|
sameElement ( IList collection, object value ) : bool |
Determines if the given collection contain the same value. We will use the contains method of the list to check if the value is inside
|
public static convertDistributionArrayToMap ( JsonArray distribution ) : double>.Dictionary |
||
distribution | JsonArray | current distribution as an JsonArray instance |
Результат | double>.Dictionary |
public static convertDistributionMapToSortedArray ( double>.IDictionary |
||
distribution | double>.IDictionary | current distribution as an JsonArray instance |
Результат | JsonArray |
public static isNumericType ( this o ) : bool | ||
o | this | |
Результат | bool |
public static meanOfDistribution ( IList |
||
distribution | IList |
/// @return |
Результат | double |
public static meanOfValues ( IList |
||
values | IList |
|
Результат | double |
public static mergeBins ( double>.IDictionary |
||
distribution | double>.IDictionary | |
limit | int | |
Результат | double>.Dictionary |
public static mergeBins ( JsonArray distribution, int limit ) : JsonArray | ||
distribution | JsonArray | |
limit | int | |
Результат | JsonArray |
public static mergeDistributions ( double>.Dictionary |
||
distribution | double>.Dictionary | |
newDistribution | double>.Dictionary | /// @return |
Результат | double>.Dictionary |
public static printDistribution ( JsonArray distribution ) : StringBuilder | ||
distribution | JsonArray | |
Результат | StringBuilder |
public static roundOff ( double x, int n ) : double | ||
x | double | |
n | int | |
Результат | double |
public static sameElement ( IList collection, object value ) : bool | ||
collection | IList | the list of elements |
value | object | the value to check. |
Результат | bool |