Creates a new GenericDataModel from the given users (and their preferences). This
IDataModel retains all this information in memory and is effectively immutable.
Namespace: NReco.CF.Taste.Impl.ModelAssembly: NReco.Recommender (in NReco.Recommender.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- userData
- Type: NReco.CF.Taste.Impl.Common FastByIDMap IPreferenceArray
users to include; (see also [!:GenericDataModel.ToDataMap(FastByIDMap, bool)])
- timestamps
- Type: NReco.CF.Taste.Impl.Common FastByIDMap FastByIDMap Nullable DateTime
timestamps optionally, provided timestamps of preferences as milliseconds since the epoch. User IDs are mapped to maps of item IDs to long timestamps.
See Also