coursera-recommender-systems/nonpers-assignment/etc/lift-assoc.groovy

8 lines
376 B
Groovy
Raw Permalink Normal View History

2021-09-06 16:04:46 -05:00
import org.lenskit.api.ItemBasedItemRecommender
import org.lenskit.mooc.nonpers.assoc.LiftAssociationModelProvider
import org.lenskit.mooc.nonpers.assoc.AssociationItemBasedItemRecommender
import org.lenskit.mooc.nonpers.assoc.AssociationModel
bind ItemBasedItemRecommender to AssociationItemBasedItemRecommender
bind AssociationModel toProvider LiftAssociationModelProvider