Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/a/p/AppRecommender-HEAD/src/recommender.py   AppRecommender(Download)
        # Set strategy based on strategy_str
        if strategy_str == "cb":
            self.strategy = strategy.ContentBased("mix",profile_size)
        elif strategy_str == "cbt":
            self.strategy = strategy.ContentBased("tag",profile_size)
        elif strategy_str == "cbd":
            self.strategy = strategy.ContentBased("desc",profile_size)
        elif strategy_str == "cbh":
            self.strategy = strategy.ContentBased("half",profile_size)
            self.strategy = strategy.ContentBased("half",profile_size)
        if strategy_str == "cb_eset":
            self.strategy = strategy.ContentBased("mix_eset",profile_size)
        elif strategy_str == "cbt_eset":
            self.strategy = strategy.ContentBased("tag_eset",profile_size)