## Uses of Interface
org.apache.mahout.cf.taste.model.Preference

Packages that use Preference
org.apache.mahout.cf.taste.impl.model
org.apache.mahout.cf.taste.impl.model.jdbc
org.apache.mahout.cf.taste.impl.transforms
org.apache.mahout.cf.taste.model
org.apache.mahout.cf.taste.transforms

Uses of Preference in org.apache.mahout.cf.taste.impl.model

Classes in org.apache.mahout.cf.taste.impl.model that implement Preference
`class` `BooleanPreference` Encapsulates a simple boolean "preference" for an item whose value does not matter (is fixed at 1.0).
`class` `GenericPreference` A simple `Preference` encapsulating an item and preference value.

Methods in org.apache.mahout.cf.taste.impl.model that return Preference
`Preference` `GenericUserPreferenceArray.get(int i)`
`Preference` `GenericItemPreferenceArray.get(int i)`
`Preference` `BooleanUserPreferenceArray.get(int i)`
`Preference` `BooleanItemPreferenceArray.get(int i)`

Methods in org.apache.mahout.cf.taste.impl.model that return types with arguments of type Preference
`java.util.Iterator<Preference>` `GenericUserPreferenceArray.iterator()`
`java.util.Iterator<Preference>` `GenericItemPreferenceArray.iterator()`
`java.util.Iterator<Preference>` `BooleanUserPreferenceArray.iterator()`
`java.util.Iterator<Preference>` `BooleanItemPreferenceArray.iterator()`

Methods in org.apache.mahout.cf.taste.impl.model with parameters of type Preference
`void` `GenericUserPreferenceArray.set(int i, Preference pref)`
`void` `GenericItemPreferenceArray.set(int i, Preference pref)`
`void` `BooleanUserPreferenceArray.set(int i, Preference pref)`
`void` `BooleanItemPreferenceArray.set(int i, Preference pref)`

Method parameters in org.apache.mahout.cf.taste.impl.model with type arguments of type Preference
`static FastByIDMap<PreferenceArray>` `GenericDataModel.toDataMap(FastByIDMap<java.util.Collection<Preference>> data, boolean byUser)` Swaps, in-place, `List`s for arrays in `Map` values .

Constructor parameters in org.apache.mahout.cf.taste.impl.model with type arguments of type Preference
`BooleanItemPreferenceArray(java.util.List<Preference> prefs, boolean forOneUser)`
`BooleanUserPreferenceArray(java.util.List<Preference> prefs)`
`GenericItemPreferenceArray(java.util.List<Preference> prefs)`
`GenericUserPreferenceArray(java.util.List<Preference> prefs)`

Uses of Preference in org.apache.mahout.cf.taste.impl.model.jdbc

Methods in org.apache.mahout.cf.taste.impl.model.jdbc that return Preference
`protected Preference` `AbstractJDBCDataModel.buildPreference(java.sql.ResultSet rs)`
`protected Preference` `AbstractBooleanPrefJDBCDataModel.buildPreference(java.sql.ResultSet rs)`

Methods in org.apache.mahout.cf.taste.impl.model.jdbc that return types with arguments of type Preference
`protected java.util.List<Preference>` `AbstractJDBCDataModel.doGetPreferencesForItem(long itemID)`

Uses of Preference in org.apache.mahout.cf.taste.impl.transforms

Methods in org.apache.mahout.cf.taste.impl.transforms with parameters of type Preference
`float` `ZScore.getTransformedValue(Preference pref)`
`float` `InverseUserFrequency.getTransformedValue(Preference pref)`

Uses of Preference in org.apache.mahout.cf.taste.model

Methods in org.apache.mahout.cf.taste.model that return Preference
`Preference` `PreferenceArray.get(int i)`

Methods in org.apache.mahout.cf.taste.model with parameters of type Preference
`void` `PreferenceArray.set(int i, Preference pref)` Sets preference at i from information in the given `Preference`

Uses of Preference in org.apache.mahout.cf.taste.transforms

Methods in org.apache.mahout.cf.taste.transforms with parameters of type Preference
`float` `PreferenceTransform.getTransformedValue(Preference pref)`

Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.