Method | Description | |
---|---|---|
ComputeCorrelation ( IRatings ratings, EntityType entity_type, float>.IList |
||
ComputeCorrelation ( IRatings ratings, EntityType entity_type, int i, int j ) : float | ||
ComputeCorrelations ( IRatings ratings, EntityType entity_type ) : void | ||
Pearson ( int num_entities, float shrinkage ) : System |
Constructor. Create a Pearson correlation matrix
|
Method | Description | |
---|---|---|
ComputeCorrelation ( double i_sum, double j_sum, double ii_sum, double jj_sum, double ij_sum, int n ) : float | ||
GetDenominator ( double i_sum, double j_sum, double ii_sum, double jj_sum, int n ) : double | ||
GetNumerator ( double i_sum, double j_sum, double ij_sum, int n ) : double |
public ComputeCorrelation ( IRatings ratings, EntityType entity_type, float>.IList |
||
ratings | IRatings | |
entity_type | EntityType | |
entity_ratings | float>.IList | |
j | int | |
return | float |
public ComputeCorrelation ( IRatings ratings, EntityType entity_type, int i, int j ) : float | ||
ratings | IRatings | |
entity_type | EntityType | |
i | int | |
j | int | |
return | float |
protected ComputeCorrelation ( double i_sum, double j_sum, double ii_sum, double jj_sum, double ij_sum, int n ) : float | ||
i_sum | double | |
j_sum | double | |
ii_sum | double | |
jj_sum | double | |
ij_sum | double | |
n | int | |
return | float |
public ComputeCorrelations ( IRatings ratings, EntityType entity_type ) : void | ||
ratings | IRatings | |
entity_type | EntityType | |
return | void |
protected GetDenominator ( double i_sum, double j_sum, double ii_sum, double jj_sum, int n ) : double | ||
i_sum | double | |
j_sum | double | |
ii_sum | double | |
jj_sum | double | |
n | int | |
return | double |
protected GetNumerator ( double i_sum, double j_sum, double ij_sum, int n ) : double | ||
i_sum | double | |
j_sum | double | |
ij_sum | double | |
n | int | |
return | double |
public Pearson ( int num_entities, float shrinkage ) : System | ||
num_entities | int | the number of entities |
shrinkage | float | shrinkage parameter |
return | System |