public class MovielensDataset extends AbstractOptionHandler implements Dataset
| Modifier and Type | Field and Description |
|---|---|
FileOption |
fileOption |
classOptionNamesToPreparedObjects, options| Constructor and Description |
|---|
MovielensDataset() |
| Modifier and Type | Method and Description |
|---|---|
int |
curItemID() |
double |
curRating() |
int |
curUserID() |
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of this object.
|
String |
getPurposeString()
Gets the purpose of this object
|
void |
init() |
boolean |
next() |
protected void |
prepareForUseImpl(TaskMonitor monitor,
ObjectRepository repository)
This method describes the implementation of how to prepare this object for use.
|
void |
reset() |
String |
toString()
Returns a description of the object.
|
copy, discoverOptionsViaReflection, getCLICreationString, getOptions, getPreparedClassOption, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUsecopy, measureByteSize, measureByteSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitmeasureByteSizepublic FileOption fileOption
public String getPurposeString()
OptionHandlergetPurposeString in interface OptionHandlergetPurposeString in class AbstractOptionHandlerpublic void init()
public String toString()
AbstractMOAObjecttoString in class AbstractMOAObjectprotected void prepareForUseImpl(TaskMonitor monitor, ObjectRepository repository)
AbstractOptionHandlerprepareForUseImpl
and not prepareForUse since
prepareForUse calls prepareForUseImpl.prepareForUseImpl in class AbstractOptionHandlermonitor - the TaskMonitor to userepository - the ObjectRepository to usepublic void getDescription(StringBuilder sb, int indent)
MOAObjectAbstractMOAObject.toString
to give a string representation of the object.getDescription in interface MOAObjectsb - the stringbuilder to add the descriptionindent - the number of characters to indentCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.