coursera-recommender-systems/nonpers-assignment/etc/simple-assoc.groovy
2021-09-06 16:04:46 -05:00

7 lines
378 B
Groovy

import org.lenskit.api.ItemBasedItemRecommender
import org.lenskit.mooc.nonpers.assoc.AssociationItemBasedItemRecommender
import org.lenskit.mooc.nonpers.assoc.AssociationModel
import org.lenskit.mooc.nonpers.assoc.BasicAssociationModelProvider
bind ItemBasedItemRecommender to AssociationItemBasedItemRecommender
bind AssociationModel toProvider BasicAssociationModelProvider