Méthode | Description | |
---|---|---|
BinaryCosine ( CorrelationMatrix correlation_matrix ) : System |
Copy constructor. Creates an object of type Cosine from an existing correlation matrix
|
|
BinaryCosine ( int num_entities ) : System |
Creates an object of type Cosine
|
|
ComputeCorrelation ( HashSet |
Computes the cosine similarity of two binary vectors
|
|
ComputeCorrelations ( IBooleanMatrix entity_data ) : void | ||
Create ( IBooleanMatrix vectors ) : CorrelationMatrix |
Creates a Cosine similarity matrix from given data
|
public BinaryCosine ( CorrelationMatrix correlation_matrix ) : System | ||
correlation_matrix | CorrelationMatrix | the correlation matrix to copy |
Résultat | System |
public BinaryCosine ( int num_entities ) : System | ||
num_entities | int | the number of entities |
Résultat | System |
public static ComputeCorrelation ( HashSet |
||
vector_i | HashSet |
the first vector |
vector_j | HashSet |
the second vector |
Résultat | float |
public ComputeCorrelations ( IBooleanMatrix entity_data ) : void | ||
entity_data | IBooleanMatrix | |
Résultat | void |
public static Create ( IBooleanMatrix vectors ) : CorrelationMatrix | ||
vectors | IBooleanMatrix | the boolean data |
Résultat | CorrelationMatrix |