A B C D E F G H I J K L M N O P R S T W

A

addDatum(double) - Method in class net.myrrix.common.stats.RunningStatistics
 
addDatum(double) - Method in class net.myrrix.common.stats.RunningStatisticsPerTime
 
addDatum(double) - Method in class net.myrrix.common.stats.WeightedRunningAverage
 
addDatum(double, int) - Method in class net.myrrix.common.stats.WeightedRunningAverage
 
available() - Method in class net.myrrix.common.io.NullInputStream
 
await() - Method in interface net.myrrix.common.MyrrixRecommender
Blocks until MyrrixRecommender.isReady() returns true.

B

BitSet - Class in net.myrrix.common.collection
A simplified and streamlined version of BitSet.
BitSet(int) - Constructor for class net.myrrix.common.collection.BitSet
 

C

cardinality() - Method in class net.myrrix.common.collection.BitSet
 
changeDatum(double) - Method in class net.myrrix.common.stats.RunningStatistics
 
changeDatum(double) - Method in class net.myrrix.common.stats.RunningStatisticsPerTime
 
changeDatum(double) - Method in class net.myrrix.common.stats.WeightedRunningAverage
 
changeDatum(double, int) - Method in class net.myrrix.common.stats.WeightedRunningAverage
 
ClassUtils - Class in net.myrrix.common
Class-related utility methods.
clear(int) - Method in class net.myrrix.common.collection.BitSet
 
clear() - Method in class net.myrrix.common.collection.BitSet
 
clear() - Method in class net.myrrix.common.collection.FastByIDFloatMap
 
clear() - Method in class net.myrrix.common.collection.FastByIDMap
 
clone() - Method in class net.myrrix.common.collection.BitSet
 
clone() - Method in class net.myrrix.common.collection.FastByIDFloatMap
 
clone() - Method in class net.myrrix.common.collection.FastByIDMap
 
close() - Method in class net.myrrix.common.io.NullInputStream
 
close() - Method in class net.myrrix.common.log.MemoryHandler
 
compareTo(SimpleRecommendedItem) - Method in class net.myrrix.common.SimpleRecommendedItem
 
containsKey(long) - Method in class net.myrrix.common.collection.FastByIDFloatMap
 
containsKey(long) - Method in class net.myrrix.common.collection.FastByIDMap
 
containsValue(Object) - Method in class net.myrrix.common.collection.FastByIDMap
 
correlation(float[], float[]) - Static method in class net.myrrix.common.SimpleVectorMath
 
cosineMeasure(float[], float[]) - Static method in class net.myrrix.common.SimpleVectorMath
 

D

deleteRecursively(File) - Static method in class net.myrrix.common.io.IOUtils
Attempts to recursively delete a directory.
dot(float[], float[]) - Static method in class net.myrrix.common.SimpleVectorMath
 

E

entrySet() - Method in class net.myrrix.common.collection.FastByIDFloatMap
 
entrySet() - Method in class net.myrrix.common.collection.FastByIDMap
 
equals(Object) - Method in class net.myrrix.common.collection.FastByIDFloatMap
 
equals(Object) - Method in class net.myrrix.common.collection.FastByIDMap
 
equals(Object) - Method in class net.myrrix.common.SimpleRecommendedItem
 
estimatePreferences(long, long...) - Method in interface net.myrrix.common.MyrrixRecommender
A bulk version of Recommender.estimatePreference(long, long), suitable for computing many estimates at once.

F

FastByIDFloatMap - Class in net.myrrix.common.collection
Based on FastByIDMap; used with float instead of double.
FastByIDFloatMap() - Constructor for class net.myrrix.common.collection.FastByIDFloatMap
Creates a new with default capacity.
FastByIDFloatMap(int) - Constructor for class net.myrrix.common.collection.FastByIDFloatMap
 
FastByIDFloatMap(int, float) - Constructor for class net.myrrix.common.collection.FastByIDFloatMap
 
FastByIDFloatMap.MapEntry - Interface in net.myrrix.common.collection
 
FastByIDMap<V> - Class in net.myrrix.common.collection
Based on FastByIDMap; adds new methods.
FastByIDMap() - Constructor for class net.myrrix.common.collection.FastByIDMap
Creates a new with default capacity.
FastByIDMap(int) - Constructor for class net.myrrix.common.collection.FastByIDMap
 
FastByIDMap(int, float) - Constructor for class net.myrrix.common.collection.FastByIDMap
 
FastByIDMap(int, int) - Constructor for class net.myrrix.common.collection.FastByIDMap
 
FastByIDMap(int, int, float) - Constructor for class net.myrrix.common.collection.FastByIDMap
Creates a new whose capacity can accommodate the given number of entries without rehash.
FastByIDMap.MapEntry<V> - Interface in net.myrrix.common.collection
 
flush() - Method in class net.myrrix.common.log.MemoryHandler
 

G

get(int) - Method in class net.myrrix.common.collection.BitSet
 
get(long) - Method in class net.myrrix.common.collection.FastByIDFloatMap
 
get(long) - Method in class net.myrrix.common.collection.FastByIDMap
 
getAllItemIDs() - Method in interface net.myrrix.common.MyrrixRecommender
 
getAllUserIDs() - Method in interface net.myrrix.common.MyrrixRecommender
 
getAverage() - Method in class net.myrrix.common.stats.RunningStatistics
 
getAverage() - Method in class net.myrrix.common.stats.RunningStatisticsPerTime
 
getAverage() - Method in class net.myrrix.common.stats.WeightedRunningAverage
 
getCount() - Method in class net.myrrix.common.stats.RunningStatistics
 
getCount() - Method in class net.myrrix.common.stats.RunningStatisticsPerTime
 
getCount() - Method in class net.myrrix.common.stats.WeightedRunningAverage
 
getHostName() - Method in class net.myrrix.common.stats.JVMEnvironment
 
getItemID() - Method in class net.myrrix.common.MutableRecommendedItem
 
getItemID() - Method in class net.myrrix.common.SimpleRecommendedItem
 
getKey() - Method in interface net.myrrix.common.collection.FastByIDFloatMap.MapEntry
 
getKey() - Method in interface net.myrrix.common.collection.FastByIDMap.MapEntry
 
getLogLines() - Method in class net.myrrix.common.log.MemoryHandler
 
getMax() - Method in interface net.myrrix.common.stats.RunningAverageAndMinMax
 
getMax() - Method in class net.myrrix.common.stats.RunningStatistics
 
getMax() - Method in class net.myrrix.common.stats.RunningStatisticsPerTime
 
getMaxMemory() - Method in class net.myrrix.common.stats.JVMEnvironment
 
getMaxMemoryMB() - Method in class net.myrrix.common.stats.JVMEnvironment
 
getMin() - Method in interface net.myrrix.common.stats.RunningAverageAndMinMax
 
getMin() - Method in class net.myrrix.common.stats.RunningStatistics
 
getMin() - Method in class net.myrrix.common.stats.RunningStatisticsPerTime
 
getNumProcessors() - Method in class net.myrrix.common.stats.JVMEnvironment
 
getPercentUsedMemory() - Method in class net.myrrix.common.stats.JVMEnvironment
 
getStandardDeviation() - Method in class net.myrrix.common.stats.RunningStatistics
 
getTotalWeight() - Method in class net.myrrix.common.stats.WeightedRunningAverage
 
getUsedMemory() - Method in class net.myrrix.common.stats.JVMEnvironment
 
getUsedMemoryMB() - Method in class net.myrrix.common.stats.JVMEnvironment
 
getValue() - Method in interface net.myrrix.common.collection.FastByIDFloatMap.MapEntry
 
getValue() - Method in interface net.myrrix.common.collection.FastByIDMap.MapEntry
 
getValue() - Method in class net.myrrix.common.MutableRecommendedItem
 
getValue() - Method in class net.myrrix.common.SimpleRecommendedItem
 

H

hashCode() - Method in class net.myrrix.common.collection.FastByIDFloatMap
 
hashCode() - Method in class net.myrrix.common.collection.FastByIDMap
 
hashCode() - Method in class net.myrrix.common.SimpleRecommendedItem
 

I

increment(long, float) - Method in class net.myrrix.common.collection.FastByIDFloatMap
 
ingest(Reader) - Method in interface net.myrrix.common.MyrrixRecommender
Like MyrrixRecommender.ingest(File), but reads from a Reader.
ingest(File) - Method in interface net.myrrix.common.MyrrixRecommender
"Uploads" a series of new associations to the recommender; this is like a bulk version of MyrrixRecommender.setPreference(long, long, float).
INSTANCE - Static variable in class net.myrrix.common.io.NullInputStream
 
inverse() - Method in class net.myrrix.common.stats.RunningStatistics
 
inverse() - Method in class net.myrrix.common.stats.RunningStatisticsPerTime
 
inverse() - Method in class net.myrrix.common.stats.WeightedRunningAverage
 
IOUtils - Class in net.myrrix.common.io
Simple utility methods related to I/O.
isEmpty() - Method in class net.myrrix.common.collection.FastByIDFloatMap
 
isEmpty() - Method in class net.myrrix.common.collection.FastByIDMap
 
isFinite(float) - Static method in class net.myrrix.common.LangUtils
 
isFinite(double) - Static method in class net.myrrix.common.LangUtils
 
isReady() - Method in interface net.myrrix.common.MyrrixRecommender
 

J

JVMEnvironment - Class in net.myrrix.common.stats
A bean encapsulating some characteristics of the JVM's runtime environment.
JVMEnvironment() - Constructor for class net.myrrix.common.stats.JVMEnvironment
 

K

keySetIterator() - Method in class net.myrrix.common.collection.FastByIDFloatMap
 
keySetIterator() - Method in class net.myrrix.common.collection.FastByIDMap
 

L

LangUtils - Class in net.myrrix.common
General utility methods related to the language, or primitves.
loadInstanceOf(Class<T>) - Static method in class net.myrrix.common.ClassUtils
 
loadInstanceOf(Class<T>, Class<?>[], Object[]) - Static method in class net.myrrix.common.ClassUtils
 
loadInstanceOf(String, Class<T>) - Static method in class net.myrrix.common.ClassUtils
Like ClassUtils.loadInstanceOf(String, Class, Class[], Object[]) for no-arg constructors.
loadInstanceOf(String, Class<T>, Class<?>[], Object[]) - Static method in class net.myrrix.common.ClassUtils
Loads and instantiates a named implementation class, a subclass of a given supertype, whose constructor takes the given arguments.

M

mark(int) - Method in class net.myrrix.common.io.NullInputStream
 
markSupported() - Method in class net.myrrix.common.io.NullInputStream
 
MemoryHandler - Class in net.myrrix.common.log
Simple Handler that records recent log lines in memory.
MemoryHandler() - Constructor for class net.myrrix.common.log.MemoryHandler
 
mod(long, int) - Static method in class net.myrrix.common.LangUtils
Computes l mod m, such that the result is always in [0,m-1], for any long value including negative values.
MutableRecommendedItem - Class in net.myrrix.common
An implementation of RecommendedItem which is mutable.
MutableRecommendedItem() - Constructor for class net.myrrix.common.MutableRecommendedItem
 
MutableRecommendedItem(long, float) - Constructor for class net.myrrix.common.MutableRecommendedItem
 
MyrrixRecommender - Interface in net.myrrix.common
Defines additional methods supported beyond what is in ItemBasedRecommender, including a method to recommend to "anonymous" users MyrrixRecommender.recommendToAnonymous(long[], int) and a means to bulk-load data MyrrixRecommender.ingest(Reader).

N

NamedThreadFactory - Class in net.myrrix.common
Creates threads with a given name prefix and daemon status.
NamedThreadFactory(boolean, String) - Constructor for class net.myrrix.common.NamedThreadFactory
 
net.myrrix.common - package net.myrrix.common
 
net.myrrix.common.collection - package net.myrrix.common.collection
 
net.myrrix.common.io - package net.myrrix.common.io
 
net.myrrix.common.log - package net.myrrix.common.log
 
net.myrrix.common.stats - package net.myrrix.common.stats
 
newThread(Runnable) - Method in class net.myrrix.common.NamedThreadFactory
 
nextSetBit(int) - Method in class net.myrrix.common.collection.BitSet
 
NO_MAX_SIZE - Static variable in class net.myrrix.common.collection.FastByIDMap
 
norm(float[]) - Static method in class net.myrrix.common.SimpleVectorMath
 
norm(double[]) - Static method in class net.myrrix.common.SimpleVectorMath
 
NotReadyException - Exception in net.myrrix.common
Thrown when a component is not ready to answer a request yet.
NotReadyException() - Constructor for exception net.myrrix.common.NotReadyException
 
NullInputStream - Class in net.myrrix.common.io
InputStream which returns no bytes.
NullInputStream() - Constructor for class net.myrrix.common.io.NullInputStream
 

O

openMaybeDecompressing(File) - Static method in class net.myrrix.common.io.IOUtils
Opens an InputStream to the file.

P

parseAllPartitions(CharSequence) - Static method in class net.myrrix.common.PartitionsUtils
 
parseDouble(String) - Static method in class net.myrrix.common.LangUtils
 
parseFloat(String) - Static method in class net.myrrix.common.LangUtils
Parses a float from a String as if by Float.valueOf(String), but disallows special values like Float.NaN, Float.POSITIVE_INFINITY and Float.NEGATIVE_INFINITY.
PartitionsUtils - Class in net.myrrix.common
Utility methods for dealing with partitions in distributed mode.
publish(LogRecord) - Method in class net.myrrix.common.log.MemoryHandler
 
put(long, float) - Method in class net.myrrix.common.collection.FastByIDFloatMap
 
put(long, V) - Method in class net.myrrix.common.collection.FastByIDMap
 

R

read() - Method in class net.myrrix.common.io.NullInputStream
 
read(byte[]) - Method in class net.myrrix.common.io.NullInputStream
 
read(byte[], int, int) - Method in class net.myrrix.common.io.NullInputStream
 
recommend(long, int, boolean, IDRescorer) - Method in interface net.myrrix.common.MyrrixRecommender
 
recommendToAnonymous(long[], int) - Method in interface net.myrrix.common.MyrrixRecommender
Computes recommendations for a user that is not known to the model yet; instead, the user's associated items are supplied to the method and it proceeds as if a user with these associated items were in the model.
recommendToMany(long[], int, boolean, IDRescorer) - Method in interface net.myrrix.common.MyrrixRecommender
Recommends to a group of users all at once.
refresh() - Method in class net.myrrix.common.stats.RunningStatisticsPerTime
 
rehash() - Method in class net.myrrix.common.collection.FastByIDFloatMap
 
rehash() - Method in class net.myrrix.common.collection.FastByIDMap
 
remove(long) - Method in class net.myrrix.common.collection.FastByIDFloatMap
 
remove(long) - Method in class net.myrrix.common.collection.FastByIDMap
 
removeDatum(double) - Method in class net.myrrix.common.stats.RunningStatistics
 
removeDatum(double) - Method in class net.myrrix.common.stats.RunningStatisticsPerTime
 
removeDatum(double) - Method in class net.myrrix.common.stats.WeightedRunningAverage
 
removeDatum(double, int) - Method in class net.myrrix.common.stats.WeightedRunningAverage
 
removePreference(long, long) - Method in interface net.myrrix.common.MyrrixRecommender
This method will remove an item from the user's set of known items, making it eligible for recommendation again.
reset() - Method in class net.myrrix.common.io.NullInputStream
 
RunningAverageAndMinMax - Interface in net.myrrix.common.stats
Implementations of this class also record a min and max observed value.
RunningStatistics - Class in net.myrrix.common.stats
Like implementations of RunningAverageAndStdDev but adds more statistics, like min and max.
RunningStatistics() - Constructor for class net.myrrix.common.stats.RunningStatistics
 
RunningStatisticsPerTime - Class in net.myrrix.common.stats
 
RunningStatisticsPerTime(TimeUnit) - Constructor for class net.myrrix.common.stats.RunningStatisticsPerTime
 

S

selectTopN(Iterator<RecommendedItem>, int) - Static method in class net.myrrix.common.TopN
 
set(int) - Method in class net.myrrix.common.collection.BitSet
 
set(int, int) - Method in class net.myrrix.common.collection.BitSet
 
set(long, float) - Method in class net.myrrix.common.MutableRecommendedItem
 
setPreference(long, long) - Method in interface net.myrrix.common.MyrrixRecommender
Defaults to value 1.0.
setPreference(long, long, float) - Method in interface net.myrrix.common.MyrrixRecommender
Adds to a user-item preference, or association.
setValue(float) - Method in interface net.myrrix.common.collection.FastByIDFloatMap.MapEntry
 
SimpleRecommendedItem - Class in net.myrrix.common
Simple and complete implementation of RecommendedItem which can be compared with itself.
SimpleRecommendedItem(long, float) - Constructor for class net.myrrix.common.SimpleRecommendedItem
 
SimpleVectorMath - Class in net.myrrix.common
 
size() - Method in class net.myrrix.common.collection.BitSet
 
size() - Method in class net.myrrix.common.collection.FastByIDFloatMap
 
size() - Method in class net.myrrix.common.collection.FastByIDMap
 
skip(long) - Method in class net.myrrix.common.io.NullInputStream
 

T

TopN - Class in net.myrrix.common
Utility methods for finding the top N things from a stream.
toString() - Method in class net.myrrix.common.collection.BitSet
 
toString() - Method in class net.myrrix.common.collection.FastByIDFloatMap
 
toString() - Method in class net.myrrix.common.collection.FastByIDMap
 
toString() - Method in class net.myrrix.common.MutableRecommendedItem
 
toString() - Method in class net.myrrix.common.SimpleRecommendedItem
 
toString() - Method in class net.myrrix.common.stats.JVMEnvironment
 
toString() - Method in class net.myrrix.common.stats.WeightedRunningAverage
 

W

WeightedRunningAverage - Class in net.myrrix.common.stats
Ported from Mahout WeightedRunningAverage but uses int weights.
WeightedRunningAverage() - Constructor for class net.myrrix.common.stats.WeightedRunningAverage
 

A B C D E F G H I J K L M N O P R S T W

Copyright © 2012. All Rights Reserved.