-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from irec-org/feature-init
add __init__ for all modules
- Loading branch information
Showing
13 changed files
with
184 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from .full_data import FullData | ||
from .train_test import SplitData |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from .fixed_interaction import FixedInteraction | ||
from .limited_interaction import LimitedInteraction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from .cumulative_interaction import CumulativeInteraction | ||
from .cumulative import Cumulative | ||
from .interaction import Interaction | ||
from .stage_iterations import StageIterations | ||
from .total import Total | ||
from .user_cumulative_interaction import UserCumulativeInteraction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from .ap import AP | ||
from .entropy import Entropy | ||
from .epc import EPC | ||
from .epd import EPD | ||
from .gini_coefficient_inv import GiniCoefficientInv | ||
from .hits import Hits | ||
from .ild import ILD | ||
from .num_interactions import NumInteractions | ||
from .precision import Precision | ||
from .recall import Recall | ||
from .top_items_membership import TopItemsMembership | ||
from .users_coverage import UsersCoverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from .simple_agent import SimpleAgent | ||
from .simple_ensemble_agent import SimpleEnsembleAgent |
5 changes: 5 additions & 0 deletions
5
irec/recommendation/agents/action_selection_policies/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from .egreedy import ASPEGreedy | ||
from .generic_greedy import ASPGenericGreedy | ||
from .greedy import ASPGreedy | ||
from .ic_greedy import ASPICGreedy | ||
from .reranker import ASPReranker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
from .most_popular import MostPopular | ||
from .best_rated import BestRated | ||
from .cluster_bandit import ClusterBandit | ||
from .cofiba import COFIBA | ||
from .e_greedy import EGreedy | ||
from .entropy import Entropy | ||
from .entropy0 import Entropy0 | ||
from .generic_thompson_sampling import GenericThompsonSampling | ||
from .glm_ucb import GLM_UCB | ||
from .helf import HELF | ||
from .icf import ICF | ||
from .ictr import ICTRTS | ||
from .knn_bandit import kNNBandit | ||
from .linear_egreedy import LinearEGreedy | ||
from .linear_icf import LinearICF | ||
from .linear_ts import LinearThompsonSampling | ||
from .linear_ucb import LinearUCB | ||
from .log_pop_ent import log_pop_ent | ||
# from .nicf import NICF | ||
from .pop_plus_ent import PopPlusEnt | ||
from .pts import PTS | ||
from .random import Random | ||
from .thompson_sampling import ThompsonSampling | ||
from .ucb import UCB | ||
from .wscb import WSCB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
import numpy as np | ||
from .base import ValueFunction | ||
from .most_popular import * | ||
import scipy | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,7 @@ numpy | |
pandas | ||
scikit-learn | ||
scipy | ||
sklearn | ||
threadpoolctl>=3.0.0 | ||
tqdm>=4.62.3 | ||
mlflow | ||
cachetools | ||
cachetools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters