C# Class numl.Math.Information.Gini

This class calculates the Gini Index of any given vector. It inherits from Impurity class which provides additional functionality.
Inheritance: Impurity
ファイルを表示 Open project: sethjuarez/numl

Public Methods

Method Description
Calculate ( Vector x ) : double

Calculates Gini Index of x.

Method Details

Calculate() public method

Calculates Gini Index of x.
Thrown when the requested operation is invalid.
public Calculate ( Vector x ) : double
x numl.Math.LinearAlgebra.Vector The list in question.
return double