Package org.localify.recommend
Interface Recommender
- All Known Implementing Classes:
RandomRecommender,RpcRecommender
public interface Recommender
Interface for all recommenders to implement.
-
Method Summary
Modifier and TypeMethodDescriptiondoRecommend(List<UUID> seedArtists, List<UUID> localArtists) Performs a recommendation based on seed artists and local artists.voidSwitches the model used by the recommender.voidTrains the recommender model.
-
Method Details
-
doRecommend
Performs a recommendation based on seed artists and local artists.- Parameters:
seedArtists- The list of seed artist IDs.localArtists- The list of local artist IDs.- Returns:
- A list of recommendation system artist responses.
-
switchModel
void switchModel()Switches the model used by the recommender. -
trainModel
void trainModel()Trains the recommender model.
-