List of usage examples for org.apache.mahout.cf.taste.impl.model AbstractIDMigrator subclass-usage
From source file com.anjuke.romar.mahout.model.BDBIDMigrator.java
public class BDBIDMigrator extends AbstractIDMigrator { /** * * @param directory the directory where the data will be persist to * @param cacheSize The size of cache for the environment *
From source file com.anjuke.romar.mahout.model.RomarMemoryIDMigrator.java
public class RomarMemoryIDMigrator extends AbstractIDMigrator { private final FastByIDMap<String> _longToString; private static final int INIT_SIZE = 100;
From source file net.myrrix.common.OneWayMigrator.java
/**
* Used when translation is needed only one-way, never back. The mappings do not need to be remembered.
*
* @author Sean Owen
* @since 1.0
*/
From source file net.myrrix.common.random.MemoryIDMigrator.java
/**
* Implementation which stores the reverse long-to-String mapping in memory.
* Copied from Mahout.
*
* @author Mahout
* @since 1.0