Method | 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 |
return | System |
public BinaryCosine ( int num_entities ) : System | ||
num_entities | int | the number of entities |
return | System |
public static ComputeCorrelation ( HashSet |
||
vector_i | HashSet |
the first vector |
vector_j | HashSet |
the second vector |
return | float |
public ComputeCorrelations ( IBooleanMatrix entity_data ) : void | ||
entity_data | IBooleanMatrix | |
return | void |
public static Create ( IBooleanMatrix vectors ) : CorrelationMatrix | ||
vectors | IBooleanMatrix | the boolean data |
return | CorrelationMatrix |