메소드 | 설명 | |
---|---|---|
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 |