메소드 | 설명 | |
---|---|---|
GetHistogramRange ( this values, double percent ) : IntRange |
Get range around median of an histogram containing specified percentage of values. The input array is treated as histogram, i.e. its indexes are treated as values of stochastic function, but array values are treated as "probabilities" (total amount of hits). The method calculates range of stochastic variable, which summary probability comprises the specified percentage of histogram's hits. |
|
HistogramEntropy ( this values ) : double |
Calculate entropy value of an histogram. The input array is treated as histogram, i.e. its indexes are treated as values of stochastic function, but array values are treated as "probabilities" (total amount of hits). |
|
HistogramMax ( this values ) : int |
Gets the maximum value in the histogram.
|
|
HistogramMean ( this values ) : double |
Calculate mean value of an histogram. The input array is treated as histogram, i.e. its indexes are treated as values of stochastic function, but array values are treated as "probabilities" (total amount of hits). |
|
HistogramMedian ( this values ) : int |
Calculate median value of an histogram. The input array is treated as histogram, i.e. its indexes are treated as values of stochastic function, but array values are treated as "probabilities" (total amount of hits). |
|
HistogramMin ( this values ) : int |
Gets the minimum value in the histogram.
|
|
HistogramMode ( this values ) : int |
Calculate mode value of an histogram. The input array is treated as histogram, i.e. its indexes are treated as values of stochastic function, but array values are treated as "probabilities" (total amount of hits). |
|
HistogramStandardDeviation ( this values ) : double |
Calculate standard deviation of an histogram. The input array is treated as histogram, i.e. its indexes are treated as values of stochastic function, but array values are treated as "probabilities" (total amount of hits). |
|
HistogramStandardDeviation ( this values, double mean ) : double |
Calculate standard deviation of an histogram. The input array is treated as histogram, i.e. its indexes are treated as values of stochastic function, but array values are treated as "probabilities" (total amount of hits). The method is an equivalent to the HistogramStandardDeviation(int[]) method, but it relies on the passed mean value, which is previously calculated using HistogramMean method. |
|
HistogramSum ( this values ) : long |
Calculates the total number of samples in a histogram.
|
|
WeightedCovariance ( double matrix, double weights, double means ) : ].double[ |
Calculates the scatter matrix of a sample matrix. By dividing the Scatter matrix by the sample size, we get the population Covariance matrix. By dividing by the sample size minus one, we get the sample Covariance matrix. |
|
WeightedCovariance ( double matrix, double weights, double means, int dimension ) : ].double[ |
Calculates the scatter matrix of a sample matrix. By dividing the Scatter matrix by the sample size, we get the population Covariance matrix. By dividing by the sample size minus one, we get the sample Covariance matrix. |
|
WeightedCovariance ( double matrix, double weights, int dimension ) : ].double[ |
Calculates the scatter matrix of a sample matrix. By dividing the Scatter matrix by the sample size, we get the population Covariance matrix. By dividing by the sample size minus one, we get the sample Covariance matrix. |
|
WeightedCovariance ( double matrix, int weights, double means, int dimension ) : ].double[ |
Calculates the scatter matrix of a sample matrix. By dividing the Scatter matrix by the sample size, we get the population Covariance matrix. By dividing by the sample size minus one, we get the sample Covariance matrix. |
|
WeightedCovariance ( double matrix, int weights, int dimension ) : ].double[ |
Calculates the scatter matrix of a sample matrix. By dividing the Scatter matrix by the sample size, we get the population Covariance matrix. By dividing by the sample size minus one, we get the sample Covariance matrix. |
|
WeightedMean ( double matrix, double weights, int dimension ) : double[] |
Calculates the weighted matrix Mean vector.
|
|
WeightedMean ( double matrix, int weights, int dimension ) : double[] |
Calculates the weighted matrix Mean vector.
|
|
WeightedMean ( this matrix, double weights ) : double[] |
Calculates the weighted matrix Mean vector.
|
|
WeightedMean ( this matrix, int weights ) : double[] |
Calculates the weighted matrix Mean vector.
|
|
WeightedScatter ( double matrix, double weights, double means, double factor, int dimension ) : ].double[ |
Calculates the scatter matrix of a sample matrix. By dividing the Scatter matrix by the sample size, we get the population Covariance matrix. By dividing by the sample size minus one, we get the sample Covariance matrix. |
|
WeightedScatter ( double matrix, int weights, double means, double factor, int dimension ) : ].double[ |
Calculates the scatter matrix of a sample matrix. By dividing the Scatter matrix by the sample size, we get the population Covariance matrix. By dividing by the sample size minus one, we get the sample Covariance matrix. |
|
WeightedStandardDeviation ( this matrix, double weights ) : double[] |
Calculates the matrix Standard Deviations vector.
|
|
WeightedStandardDeviation ( this matrix, double weights, bool unbiased = true ) : double[] |
Calculates the matrix Standard Deviations vector. Setting unbiased to N σ² = 1 / (N - 1) ∑ (x_i − μ)² i=1 Setting unbiased to N σ² = (1 / N) ∑ (x_i − μ)² i=1 |
|
WeightedStandardDeviation ( this matrix, double weights, double means ) : double[] |
Calculates the matrix Standard Deviations vector.
|
|
WeightedStandardDeviation ( this matrix, double weights, double means, bool unbiased = true ) : double[] |
Calculates the matrix Standard Deviations vector. Setting unbiased to N σ² = 1 / (N - 1) ∑ (x_i − μ)² i=1 Setting unbiased to N σ² = (1 / N) ∑ (x_i − μ)² i=1 |
|
WeightedStandardDeviation ( this matrix, int weights ) : double[] |
Calculates the matrix Standard Deviations vector.
|
|
WeightedStandardDeviation ( this matrix, int weights, bool unbiased = true ) : double[] |
Calculates the matrix Standard Deviations vector. Setting unbiased to N σ² = 1 / (N - 1) ∑ (x_i − μ)² i=1 Setting unbiased to N σ² = (1 / N) ∑ (x_i − μ)² i=1 |
|
WeightedStandardDeviation ( this matrix, int weights, double means ) : double[] |
Calculates the matrix Standard Deviations vector.
|
|
WeightedStandardDeviation ( this matrix, int weights, double means, bool unbiased = true ) : double[] |
Calculates the matrix Standard Deviations vector. Setting unbiased to N σ² = 1 / (N - 1) ∑ (x_i − μ)² i=1 Setting unbiased to N σ² = (1 / N) ∑ (x_i − μ)² i=1 |
메소드 | 설명 | |
---|---|---|
correct ( bool unbiased, WeightType weightType, double sum, double weightSum, double squareSum ) : double |
public static GetHistogramRange ( this values, double percent ) : IntRange | ||
values | this | Histogram array. |
percent | double | Values percentage around median. |
리턴 | IntRange |
public static HistogramEntropy ( this values ) : double | ||
values | this | Histogram array. |
리턴 | double |
public static HistogramMax ( this values ) : int | ||
values | this | Histogram array. |
리턴 | int |
public static HistogramMean ( this values ) : double | ||
values | this | Histogram array. |
리턴 | double |
public static HistogramMedian ( this values ) : int | ||
values | this | Histogram array. |
리턴 | int |
public static HistogramMin ( this values ) : int | ||
values | this | Histogram array. |
리턴 | int |
public static HistogramMode ( this values ) : int | ||
values | this | Histogram array. |
리턴 | int |
public static HistogramStandardDeviation ( this values ) : double | ||
values | this | Histogram array. |
리턴 | double |
public static HistogramStandardDeviation ( this values, double mean ) : double | ||
values | this | Histogram array. |
mean | double | Mean value of the histogram. |
리턴 | double |
public static HistogramSum ( this values ) : long | ||
values | this | The histogram array. |
리턴 | long |
public static WeightedCovariance ( double matrix, double weights, double means ) : ].double[ | ||
matrix | double | A number multi-dimensional array containing the matrix values. |
weights | double | An unit vector containing the importance of each sample
/// in |
means | double | The mean value of the given values, if already known. |
리턴 | ].double[ |
public static WeightedCovariance ( double matrix, double weights, double means, int dimension ) : ].double[ | ||
matrix | double | A number multi-dimensional array containing the matrix values. |
weights | double | An unit vector containing the importance of each sample
/// in |
means | double | The mean value of the given values, if already known. |
dimension | int | /// Pass 0 to if mean vector is a row vector, 1 otherwise. Default value is 0. /// |
리턴 | ].double[ |
public static WeightedCovariance ( double matrix, double weights, int dimension ) : ].double[ | ||
matrix | double | A number multi-dimensional array containing the matrix values. |
weights | double | An unit vector containing the importance of each sample
/// in |
dimension | int | /// Pass 0 to if mean vector is a row vector, 1 otherwise. Default value is 0. /// |
리턴 | ].double[ |
public static WeightedCovariance ( double matrix, int weights, double means, int dimension ) : ].double[ | ||
matrix | double | A number multi-dimensional array containing the matrix values. |
weights | int | The number of times each sample should be repeated. |
means | double | The mean value of the given values, if already known. |
dimension | int | /// Pass 0 to if mean vector is a row vector, 1 otherwise. Default value is 0. /// |
리턴 | ].double[ |
public static WeightedCovariance ( double matrix, int weights, int dimension ) : ].double[ | ||
matrix | double | A number multi-dimensional array containing the matrix values. |
weights | int | The number of times each sample should be repeated. |
dimension | int | /// Pass 0 to if mean vector is a row vector, 1 otherwise. Default value is 0. /// |
리턴 | ].double[ |
public static WeightedMean ( double matrix, double weights, int dimension ) : double[] | ||
matrix | double | A matrix whose means will be calculated. |
weights | double | A vector containing the importance of each sample in the matrix. |
dimension | int | /// The dimension along which the means will be calculated. Pass /// 0 to compute a row vector containing the mean of each column, /// or 1 to compute a column vector containing the mean of each row. /// Default value is 0. /// |
리턴 | double[] |
public static WeightedMean ( double matrix, int weights, int dimension ) : double[] | ||
matrix | double | A matrix whose means will be calculated. |
weights | int | A vector containing the importance of each sample in the matrix. |
dimension | int | /// The dimension along which the means will be calculated. Pass /// 0 to compute a row vector containing the mean of each column, /// or 1 to compute a column vector containing the mean of each row. /// Default value is 0. /// |
리턴 | double[] |
public static WeightedMean ( this matrix, double weights ) : double[] | ||
matrix | this | A matrix whose means will be calculated. |
weights | double | A vector containing the importance of each sample in the matrix. |
리턴 | double[] |
public static WeightedMean ( this matrix, int weights ) : double[] | ||
matrix | this | A matrix whose means will be calculated. |
weights | int | A vector containing the importance of each sample in the matrix. |
리턴 | double[] |
public static WeightedScatter ( double matrix, double weights, double means, double factor, int dimension ) : ].double[ | ||
matrix | double | A number multi-dimensional array containing the matrix values. |
weights | double | An unit vector containing the importance of each sample
/// in |
means | double | The mean value of the given values, if already known. |
factor | double | A real number to multiply each member of the matrix. |
dimension | int | /// Pass 0 to if mean vector is a row vector, 1 otherwise. Default value is 0. /// |
리턴 | ].double[ |
public static WeightedScatter ( double matrix, int weights, double means, double factor, int dimension ) : ].double[ | ||
matrix | double | A number multi-dimensional array containing the matrix values. |
weights | int | The number of times each sample should be repeated. |
means | double | The mean value of the given values, if already known. |
factor | double | A real number to multiply each member of the matrix. |
dimension | int | /// Pass 0 to if mean vector is a row vector, 1 otherwise. Default value is 0. /// |
리턴 | ].double[ |
public static WeightedStandardDeviation ( this matrix, double weights ) : double[] | ||
matrix | this | A matrix whose deviations will be calculated. |
weights | double | The number of times each sample should be repeated. |
리턴 | double[] |
public static WeightedStandardDeviation ( this matrix, double weights, bool unbiased = true ) : double[] | ||
matrix | this | A matrix whose deviations will be calculated. |
weights | double | The number of times each sample should be repeated. |
unbiased | bool | /// Pass true to compute the standard deviation using the sample variance. /// Pass false to compute it using the population variance. See remarks /// for more details. |
리턴 | double[] |
public static WeightedStandardDeviation ( this matrix, double weights, double means ) : double[] | ||
matrix | this | A matrix whose deviations will be calculated. |
weights | double | The number of times each sample should be repeated. |
means | double | The mean vector containing already calculated means for each column of the matrix. |
리턴 | double[] |
public static WeightedStandardDeviation ( this matrix, double weights, double means, bool unbiased = true ) : double[] | ||
matrix | this | A matrix whose deviations will be calculated. |
weights | double | The number of times each sample should be repeated. |
means | double | The mean vector containing already calculated means for each column of the matrix. |
unbiased | bool | /// Pass true to compute the standard deviation using the sample variance. /// Pass false to compute it using the population variance. See remarks /// for more details. |
리턴 | double[] |
public static WeightedStandardDeviation ( this matrix, int weights ) : double[] | ||
matrix | this | A matrix whose deviations will be calculated. |
weights | int | The number of times each sample should be repeated. |
리턴 | double[] |
public static WeightedStandardDeviation ( this matrix, int weights, bool unbiased = true ) : double[] | ||
matrix | this | A matrix whose deviations will be calculated. |
weights | int | The number of times each sample should be repeated. |
unbiased | bool | /// Pass true to compute the standard deviation using the sample variance. /// Pass false to compute it using the population variance. See remarks /// for more details. |
리턴 | double[] |
public static WeightedStandardDeviation ( this matrix, int weights, double means ) : double[] | ||
matrix | this | A matrix whose deviations will be calculated. |
weights | int | The number of times each sample should be repeated. |
means | double | The mean vector containing already calculated means for each column of the matrix. |
리턴 | double[] |
public static WeightedStandardDeviation ( this matrix, int weights, double means, bool unbiased = true ) : double[] | ||
matrix | this | A matrix whose deviations will be calculated. |
weights | int | The number of times each sample should be repeated. |
means | double | The mean vector containing already calculated means for each column of the matrix. |
unbiased | bool | /// Pass true to compute the standard deviation using the sample variance. /// Pass false to compute it using the population variance. See remarks /// for more details. |
리턴 | double[] |