Interface Recommender

All Known Implementing Classes:
RandomRecommender, RpcRecommender

public interface Recommender
Interface for all recommenders to implement.
  • Method Summary

    Modifier and Type
    Method
    Description
    doRecommend(List<UUID> seedArtists, List<UUID> localArtists)
    Performs a recommendation based on seed artists and local artists.
    void
    Switches the model used by the recommender.
    void
    Trains the recommender model.
  • Method Details

    • doRecommend

      List<RecSysArtistResponse> doRecommend(List<UUID> seedArtists, List<UUID> localArtists)
      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.