public abstract class AspectModel.UserAspectModel extends Object implements IntentModel.UserIntentModel<U,I,F>, AspectModel.ItemAspectModel<U,I,F>
AspectModel.| Constructor and Description |
|---|
UserAspectModel(U user)
Constructor taking user intent model.
|
| Modifier and Type | Method and Description |
|---|---|
Set<F> |
getIntents()
Returns the intents considered in the intent model.
|
Stream<F> |
getItemIntents(I i)
Returns the intents associated with an item.
|
abstract void |
initializeWithItems(List<Tuple2od<I>> items)
Initialises the model with items.
|
double |
pf_u(F f)
Returns the probability of an intent in the model.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpi_fpublic UserAspectModel(U user)
user - userpublic abstract void initializeWithItems(List<Tuple2od<I>> items)
items - list of items with scorespublic Set<F> getIntents()
IntentModel.UserIntentModelgetIntents in interface IntentModel.UserIntentModel<U,I,F>public Stream<F> getItemIntents(I i)
IntentModel.UserIntentModelgetItemIntents in interface IntentModel.UserIntentModel<U,I,F>i - itempublic double pf_u(F f)
IntentModel.UserIntentModelpf_u in interface IntentModel.UserIntentModel<U,I,F>f - intentCopyright © 2016. All rights reserved.