Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cornac/models/baseline_only/recom_bo.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class BaselineOnly(Recommender):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/bpr/recom_bpr.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ class BPR(Recommender):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/c2pf/recom_c2pf.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/cdl/recom_cdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/cdr/recom_cdr.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/coe/recom_coe.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/conv_mf/recom_convmf.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/ctr/recom_ctr.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/cvae/recom_cvae.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/cvaecf/recom_cvaecf.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/efm/recom_efm.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ class EFM(Recommender):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/global_avg/recom_global_avg.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/hft/recom_hft.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/hpf/recom_hpf.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/ibpr/recom_ibpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
4 changes: 2 additions & 2 deletions cornac/models/knn/recom_knn.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down Expand Up @@ -395,7 +395,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/mcf/recom_mcf.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/mf/recom_mf.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class MF(Recommender):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/most_pop/recom_most_pop.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/mter/recom_mter.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ class MTER(Recommender):
The index of the user for whom to perform score prediction.

i_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/ncf/recom_gmf.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/ncf/recom_mlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/ncf/recom_neumf.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/nmf/recom_nmf.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ class NMF(Recommender):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/online_ibpr/recom_online_ibpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/pcrl/recom_pcrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/pmf/recom_pmf.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/recommender.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/skm/recom_skmeans.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/sorec/recom_sorec.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def score(self, user_idx, item_idx=None):
user_idx: int, required
The index of the user for whom to perform score prediction.
item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.
Returns
-------
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/vaecf/recom_vaecf.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/vbpr/recom_vbpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/vmf/recom_vmf.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down
2 changes: 1 addition & 1 deletion cornac/models/wmf/recom_wmf.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def score(self, user_idx, item_idx=None):
The index of the user for whom to perform score prediction.

item_idx: int, optional, default: None
The index of the item for that to perform score prediction.
The index of the item for which to perform score prediction.
If None, scores for all known items will be returned.

Returns
Expand Down