Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
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 | |
Результат | float |
public ComputeCorrelation ( IRatings ratings, EntityType entity_type, int i, int j ) : float | ||
ratings | IRatings | |
entity_type | EntityType | |
i | int | |
j | int | |
Результат | 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 | |
Результат | float |
public ComputeCorrelations ( IRatings ratings, EntityType entity_type ) : void | ||
ratings | IRatings | |
entity_type | EntityType | |
Результат | 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 | |
Результат | 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 | |
Результат | double |
public Pearson ( int num_entities, float shrinkage ) : System | ||
num_entities | int | the number of entities |
shrinkage | float | shrinkage parameter |
Результат | System |