Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W X Y Z 

A

able(Iterator<T>) - Static method in class org.canova.api.berkeley.Iterators
Wraps an iterator as an iterable
abs(double) - Static method in class org.canova.api.berkeley.SloppyMath
 
accept(T) - Method in interface org.canova.api.berkeley.Filter
 
accept(String) - Method in class org.canova.api.io.filters.RandomPathFilter
 
accept(Class<?>) - Method in interface org.canova.api.io.serializers.Serialization
Allows clients to test whether this Serialization supports the given class.
add(E, double) - Method in class org.canova.api.berkeley.PriorityQueue
 
add(Object, int) - Method in class org.canova.api.util.Index
 
add(Object) - Method in class org.canova.api.util.Index
 
add(Pair<K, V>) - Method in class org.canova.api.util.MultiDimensionalSet
Adds the specified element to this applyTransformToDestination if it is not already present (optional operation).
add(K, V) - Method in class org.canova.api.util.MultiDimensionalSet
 
addAll(Collection<? extends Pair<K, V>>) - Method in class org.canova.api.util.MultiDimensionalSet
Adds all of the elements in the specified collection to this applyTransformToDestination if they're not already present (optional operation).
addDefaultResource(String) - Static method in class org.canova.api.conf.Configuration
Add a default resource.
addExp(float[], int) - Static method in class org.canova.api.berkeley.SloppyMath
 
addExp_Old(float[]) - Static method in class org.canova.api.berkeley.SloppyMath
Similar to logAdd, but without the final log.
addField(String...) - Method in class org.canova.api.records.reader.impl.jackson.FieldSelection.Builder
 
addField(Writable, String...) - Method in class org.canova.api.records.reader.impl.jackson.FieldSelection.Builder
 
addResource(String) - Method in class org.canova.api.conf.Configuration
Add a configuration resource.
addResource(URL) - Method in class org.canova.api.conf.Configuration
Add a configuration resource.
addResource(InputStream) - Method in class org.canova.api.conf.Configuration
Add a configuration resource.
adjustedrSquared(double, int, int) - Static method in class org.canova.api.util.MathUtils
This calculates the adjusted r^2 including degrees of freedom.
allMatches(String, String) - Static method in class org.canova.api.berkeley.StringUtils
 
allowFormat - Variable in class org.canova.api.split.FileSplit
 
append(byte[], int, int) - Method in class org.canova.api.io.data.Text
Append a range of bytes to the end of the given text
append(byte[], int, int) - Method in class org.canova.api.records.Buffer
Append specified bytes to the buffer.
append(byte[]) - Method in class org.canova.api.records.Buffer
Append specified bytes to the buffer
APPEND - Static variable in interface org.canova.api.records.writer.RecordWriter
 
APPEND_LABEL - Static variable in interface org.canova.api.records.reader.RecordReader
 
appendLabel - Variable in class org.canova.api.records.reader.impl.FileRecordReader
 
approxEquals(Counter<E>, double) - Method in class org.canova.api.berkeley.Counter
 
approxExp(double) - Static method in class org.canova.api.berkeley.SloppyMath
 
approxLog(double) - Static method in class org.canova.api.berkeley.SloppyMath
 
approxPow(double, double) - Static method in class org.canova.api.berkeley.SloppyMath
 
ArchiveUtils - Class in org.canova.api.util
 
ArchiveUtils() - Constructor for class org.canova.api.util.ArchiveUtils
 
argMax() - Method in class org.canova.api.berkeley.Counter
Finds the key with maximum count.
argMax() - Method in class org.canova.api.berkeley.CounterMap
Finds the key with maximum count.
argsToMap(String[]) - Static method in class org.canova.api.berkeley.StringUtils
Parses command line arguments into a Map.
argsToMap(String[], Map<String, Integer>) - Static method in class org.canova.api.berkeley.StringUtils
Parses command line arguments into a Map.
argsToProperties(String[]) - Static method in class org.canova.api.berkeley.StringUtils
 
argsToProperties(String[], Map) - Static method in class org.canova.api.berkeley.StringUtils
arrayToString(String[]) - Static method in class org.canova.api.util.StringUtils
Given an array of strings, return a comma-separated list of its elements.
ArrayWritable - Class in org.canova.api.writable
A Writable to basically wrap an array of sorts.
ArrayWritable() - Constructor for class org.canova.api.writable.ArrayWritable
 
asCounter() - Method in class org.canova.api.berkeley.PriorityQueue
Returns a counter whose keys are the elements in this priority queue, and whose counts are the priorities in this queue.
asMinPriorityQueue() - Method in class org.canova.api.berkeley.Counter
Warning: all priorities are the negative of their counts in the counter here
asPriorityQueue() - Method in class org.canova.api.berkeley.Counter
Builds a priority queue whose elements are the counter's elements, and whose priorities are those elements' counts in the counter.

B

BalancedPathFilter - Class in org.canova.api.io.filters
 
BalancedPathFilter(Random, String[], PathLabelGenerator) - Constructor for class org.canova.api.io.filters.BalancedPathFilter
 
BalancedPathFilter(Random, String[], PathLabelGenerator, int, int, int) - Constructor for class org.canova.api.io.filters.BalancedPathFilter
 
BaseInputFormat - Class in org.canova.api.formats.input
 
BaseInputFormat() - Constructor for class org.canova.api.formats.input.BaseInputFormat
 
BaseInputSplit - Class in org.canova.api.split
Base input split
BaseInputSplit() - Constructor for class org.canova.api.split.BaseInputSplit
 
bernoullis(double, double, double) - Static method in class org.canova.api.util.MathUtils
This will return the bernoulli trial for the given event.
BinaryComparable - Class in org.canova.api.io
Interface supported by org.apache.hadoop.io.WritableComparable types supporting ordering/permutation by a representative set of bytes.
BinaryComparable() - Constructor for class org.canova.api.io.BinaryComparable
 
binomial(RandomGenerator, int, double) - Static method in class org.canova.api.util.MathUtils
Generates a binomial distributed number using the given rng
BooleanWritable - Class in org.canova.api.io.data
A WritableComparable for booleans.
BooleanWritable() - Constructor for class org.canova.api.io.data.BooleanWritable
 
BooleanWritable(boolean) - Constructor for class org.canova.api.io.data.BooleanWritable
 
BooleanWritable.Comparator - Class in org.canova.api.io.data
A Comparator optimized for BooleanWritable.
Buffer - Class in org.canova.api.records
A byte sequence that is used as a Java native type for buffer.
Buffer() - Constructor for class org.canova.api.records.Buffer
Create a zero-count sequence.
Buffer(byte[]) - Constructor for class org.canova.api.records.Buffer
Create a Buffer using the byte array as the initial value.
Buffer(byte[], int, int) - Constructor for class org.canova.api.records.Buffer
Create a Buffer using the byte range as the initial value.
build() - Method in class org.canova.api.records.reader.impl.jackson.FieldSelection.Builder
 
buildCounter(MapFactory<V, Double>) - Method in class org.canova.api.berkeley.CounterMap
 
Builder() - Constructor for class org.canova.api.records.reader.impl.jackson.FieldSelection.Builder
 
buildMap() - Method in class org.canova.api.berkeley.MapFactory
 
buildMap() - Method in class org.canova.api.berkeley.MapFactory.HashMapFactory
 
buildMap() - Method in class org.canova.api.berkeley.MapFactory.IdentityHashMapFactory
 
buildMap() - Method in class org.canova.api.berkeley.MapFactory.TreeMapFactory
 
buildMap() - Method in class org.canova.api.berkeley.MapFactory.WeakHashMapFactory
 
byteDesc(long) - Static method in class org.canova.api.util.StringUtils
Return an abbreviated English-language desc of the byte length
bytesToCodePoint(ByteBuffer) - Static method in class org.canova.api.io.data.Text
Returns the next code point at the current position in the buffer.
byteToHexString(byte[], int, int) - Static method in class org.canova.api.util.StringUtils
Given an array of bytes it will convert the bytes to a hex string representation of the bytes
byteToHexString(byte[]) - Static method in class org.canova.api.util.StringUtils
Same as byteToHexString(bytes, 0, bytes.length).
ByteWritable - Class in org.canova.api.io.data
A WritableComparable for a single byte.
ByteWritable() - Constructor for class org.canova.api.io.data.ByteWritable
 
ByteWritable(byte) - Constructor for class org.canova.api.io.data.ByteWritable
 
ByteWritable.Comparator - Class in org.canova.api.io.data
A Comparator optimized for ByteWritable.

C

call(I) - Method in interface org.canova.api.berkeley.MyMethod
 
CanovaException - Exception in org.canova.api.exceptions
Canova exception
CanovaException() - Constructor for exception org.canova.api.exceptions.CanovaException
 
CanovaException(String) - Constructor for exception org.canova.api.exceptions.CanovaException
 
CanovaException(String, Throwable) - Constructor for exception org.canova.api.exceptions.CanovaException
 
CanovaException(Throwable) - Constructor for exception org.canova.api.exceptions.CanovaException
 
CanovaException(String, Throwable, boolean, boolean) - Constructor for exception org.canova.api.exceptions.CanovaException
 
capitalize(String) - Static method in class org.canova.api.berkeley.StringUtils
Uppercases the first character of a string.
charAt(int) - Method in class org.canova.api.io.data.Text
Returns the Unicode Scalar Value (32-bit integer value) for the character at position.
chiSquare2by2(int, int, int, int) - Static method in class org.canova.api.berkeley.SloppyMath
Find a 2x2 chi-square value.
clamp(int, int, int) - Static method in class org.canova.api.util.MathUtils
Clamps the value to a discrete value
CLASSIFICATION - Static variable in interface org.canova.api.records.reader.LibSvm
 
ClassPathResource - Class in org.canova.api.util
Simple utility class used to get access to files at the classpath, or packed into jar.
ClassPathResource(String) - Constructor for class org.canova.api.util.ClassPathResource
Builds new ClassPathResource object
clear() - Method in class org.canova.api.berkeley.Counter
 
clear() - Method in class org.canova.api.conf.Configuration
Clears all keys from the configuration.
clear() - Method in class org.canova.api.io.data.Text
Clear the string to empty.
clear() - Method in class org.canova.api.util.MultiDimensionalMap
Removes all of the mappings from this map (optional operation).
clear() - Method in class org.canova.api.util.MultiDimensionalSet
Removes all of the elements from this applyTransformToDestination (optional operation).
clone() - Method in class org.canova.api.berkeley.PriorityQueue
Returns a clone of this priority queue.
clone(T, Configuration) - Static method in class org.canova.api.io.WritableUtils
Make a copy of a writable object using serialization to a buffer.
clone() - Method in class org.canova.api.records.Buffer
 
cloneWritableInto(Writable, Writable) - Static method in class org.canova.api.util.ReflectionUtils
Deprecated.
close() - Method in interface org.canova.api.io.serializers.Deserializer
Close the underlying input stream and clear up any resources.
close() - Method in interface org.canova.api.io.serializers.Serializer
Close the underlying output stream and clear up any resources.
close() - Method in class org.canova.api.records.reader.impl.CollectionRecordReader
 
close() - Method in class org.canova.api.records.reader.impl.ComposableRecordReader
 
close() - Method in class org.canova.api.records.reader.impl.FileRecordReader
 
close() - Method in class org.canova.api.records.reader.impl.jackson.JacksonRecordReader
 
close() - Method in class org.canova.api.records.reader.impl.LibSvmRecordReader
 
close() - Method in class org.canova.api.records.reader.impl.LineRecordReader
 
close() - Method in class org.canova.api.records.writer.impl.FileRecordWriter
 
close() - Method in interface org.canova.api.records.writer.RecordWriter
Close the recod reader
CollectionInputSplit - Class in org.canova.api.split
A simple InputSplit based on a collection of URIs
CollectionInputSplit(Collection<URI>) - Constructor for class org.canova.api.split.CollectionInputSplit
 
CollectionRecordReader - Class in org.canova.api.records.reader.impl
Collection record reader.
CollectionRecordReader(Collection<? extends Collection<Writable>>) - Constructor for class org.canova.api.records.reader.impl.CollectionRecordReader
 
combination(double, double) - Static method in class org.canova.api.util.MathUtils
This returns the combination of n choose r
COMMA - Static variable in class org.canova.api.util.StringUtils
 
Comparator() - Constructor for class org.canova.api.io.data.BooleanWritable.Comparator
 
Comparator() - Constructor for class org.canova.api.io.data.ByteWritable.Comparator
 
Comparator() - Constructor for class org.canova.api.io.data.DoubleWritable.Comparator
 
Comparator() - Constructor for class org.canova.api.io.data.FloatWritable.Comparator
 
Comparator() - Constructor for class org.canova.api.io.data.IntWritable.Comparator
 
Comparator() - Constructor for class org.canova.api.io.data.LongWritable.Comparator
 
Comparator() - Constructor for class org.canova.api.io.data.Text.Comparator
 
compare(Pair<F, S>, Pair<F, S>) - Method in class org.canova.api.berkeley.Pair.DefaultLexicographicPairComparator
 
compare(Pair<S, T>, Pair<S, T>) - Method in class org.canova.api.berkeley.Pair.FirstComparator
 
compare(Pair<F, S>, Pair<F, S>) - Method in class org.canova.api.berkeley.Pair.LexicographicPairComparator
 
compare(Pair<S, T>, Pair<S, T>) - Method in class org.canova.api.berkeley.Pair.ReverseFirstComparator
 
compare(Pair<S, T>, Pair<S, T>) - Method in class org.canova.api.berkeley.Pair.ReverseSecondComparator
 
compare(Pair<S, T>, Pair<S, T>) - Method in class org.canova.api.berkeley.Pair.SecondComparator
 
compare(byte[], int, int, byte[], int, int) - Method in class org.canova.api.io.data.BooleanWritable.Comparator
 
compare(byte[], int, int, byte[], int, int) - Method in class org.canova.api.io.data.ByteWritable.Comparator
 
compare(byte[], int, int, byte[], int, int) - Method in class org.canova.api.io.data.DoubleWritable.Comparator
 
compare(byte[], int, int, byte[], int, int) - Method in class org.canova.api.io.data.FloatWritable.Comparator
 
compare(byte[], int, int, byte[], int, int) - Method in class org.canova.api.io.data.IntWritable.Comparator
 
compare(byte[], int, int, byte[], int, int) - Method in class org.canova.api.io.data.LongWritable.Comparator
 
compare(WritableComparable, WritableComparable) - Method in class org.canova.api.io.data.LongWritable.DecreasingComparator
 
compare(byte[], int, int, byte[], int, int) - Method in class org.canova.api.io.data.LongWritable.DecreasingComparator
 
compare(byte[], int, int, byte[], int, int) - Method in class org.canova.api.io.data.Text.Comparator
 
compare(byte[], int, int, byte[], int, int) - Method in interface org.canova.api.io.RawComparator
 
compare(byte[], int, int, byte[], int, int) - Method in class org.canova.api.io.WritableComparator
Optimization hook.
compare(WritableComparable, WritableComparable) - Method in class org.canova.api.io.WritableComparator
Compare two WritableComparables.
compare(Object, Object) - Method in class org.canova.api.io.WritableComparator
 
compareBytes(byte[], int, int, byte[], int, int) - Static method in class org.canova.api.io.WritableComparator
Lexicographic order of binary data.
compareBytes(byte[], int, int, byte[], int, int) - Static method in class org.canova.api.records.Utils
Lexicographic order of binary data.
compareTo(Pair<F, S>) - Method in class org.canova.api.berkeley.Pair
Compares this object with the specified object for order.
compareTo(BinaryComparable) - Method in class org.canova.api.io.BinaryComparable
Compare bytes from {#getBytes()}.
compareTo(byte[], int, int) - Method in class org.canova.api.io.BinaryComparable
Compare bytes from {#getBytes()} to those provided.
compareTo(Object) - Method in class org.canova.api.io.data.BooleanWritable
 
compareTo(Object) - Method in class org.canova.api.io.data.ByteWritable
Compares two ByteWritables.
compareTo(Object) - Method in class org.canova.api.io.data.DoubleWritable
 
compareTo(Object) - Method in class org.canova.api.io.data.FloatWritable
Compares two FloatWritables.
compareTo(Object) - Method in class org.canova.api.io.data.IntWritable
Compares two IntWritables.
compareTo(Object) - Method in class org.canova.api.io.data.LongWritable
Compares two LongWritables.
compareTo(Object) - Method in class org.canova.api.io.data.NullWritable
 
compareTo(Object) - Method in class org.canova.api.records.Buffer
Define the sort order of the Buffer.
ComposableRecordReader - Class in org.canova.api.records.reader.impl
RecordReader for each pipeline.
ComposableRecordReader(RecordReader...) - Constructor for class org.canova.api.records.reader.impl.ComposableRecordReader
 
concat(Iterable<Iterator<? extends T>>) - Static method in class org.canova.api.berkeley.Iterators
 
concat(Iterator<? extends T>...) - Static method in class org.canova.api.berkeley.Iterators
 
concat(Iterable<T>, Iterable<T>) - Static method in class org.canova.api.berkeley.Iterators
 
concurrentSkipListSet() - Static method in class org.canova.api.util.MultiDimensionalSet
 
conf - Variable in class org.canova.api.records.reader.impl.FileRecordReader
 
conf - Variable in class org.canova.api.records.reader.impl.LineRecordReader
 
conf - Variable in class org.canova.api.records.writer.impl.FileRecordWriter
 
Configurable - Interface in org.canova.api.conf
Something that may be configured with a Configuration.
Configuration - Class in org.canova.api.conf
Provides access to configuration parameters.
Configuration() - Constructor for class org.canova.api.conf.Configuration
A new configuration.
Configuration(boolean) - Constructor for class org.canova.api.conf.Configuration
A new configuration where the behavior of reading from the default resources can be turned off.
Configuration(Configuration) - Constructor for class org.canova.api.conf.Configuration
A new configuration with the same settings cloned from another.
Configuration.IntegerRanges - Class in org.canova.api.conf
A class that represents a set of positive integer ranges.
Configured - Class in org.canova.api.conf
Base class for things that may be configured with a Configuration.
Configured() - Constructor for class org.canova.api.conf.Configured
Construct a Configured.
Configured(Configuration) - Constructor for class org.canova.api.conf.Configured
Construct a Configured.
contains(K, T) - Method in class org.canova.api.util.MultiDimensionalMap
 
contains(Object) - Method in class org.canova.api.util.MultiDimensionalSet
Returns true if this applyTransformToDestination contains the specified element.
contains(K, V) - Method in class org.canova.api.util.MultiDimensionalSet
 
containsAll(Collection<?>) - Method in class org.canova.api.util.MultiDimensionalSet
Returns true if this applyTransformToDestination contains all of the elements of the specified collection.
containsKey(E) - Method in class org.canova.api.berkeley.Counter
Returns whether the counter contains the given key.
containsKey(K) - Method in class org.canova.api.berkeley.CounterMap
 
containsKey(Object) - Method in class org.canova.api.util.MultiDimensionalMap
Returns true if this map contains a mapping for the specified key.
containsValue(Object) - Method in class org.canova.api.util.MultiDimensionalMap
Returns true if this map maps one or more keys to the specified value.
convert(Writable) - Method in class org.canova.api.io.converters.DoubleWritableConverter
 
convert(Writable) - Method in class org.canova.api.io.converters.FloatWritableConverter
 
convert(Writable) - Method in class org.canova.api.io.converters.LabelWriterConverter
 
convert(Writable) - Method in class org.canova.api.io.converters.SelfWritableConverter
 
convert(Writable) - Method in interface org.canova.api.io.WritableConverter
Convert a writable to another kind of writable
coordSplit(double[]) - Static method in class org.canova.api.util.MathUtils
This returns the coordinate split in a list of coordinates such that the values for ret[0] are the x values and ret[1] are the y values
coordSplit(List<Double>) - Static method in class org.canova.api.util.MathUtils
This returns the coordinate split in a list of coordinates such that the values for ret[0] are the x values and ret[1] are the y values
copy(byte[], int, int) - Method in class org.canova.api.records.Buffer
Copy the specified byte array to the Buffer.
copy(Configuration, T, T) - Static method in class org.canova.api.util.ReflectionUtils
Make a copy of the writable object using serialization to a buffer
correlation(double[], double[]) - Static method in class org.canova.api.util.MathUtils
Returns the correlation coefficient of two double vectors.
Counter<E> - Class in org.canova.api.berkeley
A map from objects to doubles.
Counter() - Constructor for class org.canova.api.berkeley.Counter
 
Counter(boolean) - Constructor for class org.canova.api.berkeley.Counter
 
Counter(MapFactory<E, Double>) - Constructor for class org.canova.api.berkeley.Counter
 
Counter(Map<? extends E, Double>) - Constructor for class org.canova.api.berkeley.Counter
 
Counter(Counter<? extends E>) - Constructor for class org.canova.api.berkeley.Counter
 
Counter(Collection<? extends E>) - Constructor for class org.canova.api.berkeley.Counter
 
CounterMap<K,V> - Class in org.canova.api.berkeley
Maintains counts of (key, value) pairs.
CounterMap(CounterMap<K, V>) - Constructor for class org.canova.api.berkeley.CounterMap
 
CounterMap() - Constructor for class org.canova.api.berkeley.CounterMap
 
CounterMap(MapFactory<K, Counter<V>>, MapFactory<V, Double>) - Constructor for class org.canova.api.berkeley.CounterMap
 
CounterMap(boolean) - Constructor for class org.canova.api.berkeley.CounterMap
 
create(URI) - Method in interface org.canova.api.records.reader.factory.RecordReaderFactory
Creates instance of RecordReader
create(URI) - Method in interface org.canova.api.records.reader.factory.RecordWriterFactory
 
createReader(InputSplit) - Method in class org.canova.api.formats.input.BaseInputFormat
 
createReader(InputSplit, Configuration) - Method in class org.canova.api.formats.input.impl.CSVInputFormat
 
createReader(InputSplit) - Method in class org.canova.api.formats.input.impl.CSVInputFormat
 
createReader(InputSplit, Configuration) - Method in class org.canova.api.formats.input.impl.LibSvmInputFormat
 
createReader(InputSplit, Configuration) - Method in class org.canova.api.formats.input.impl.LineInputFormat
 
createReader(InputSplit) - Method in class org.canova.api.formats.input.impl.LineInputFormat
 
createReader(InputSplit, Configuration) - Method in class org.canova.api.formats.input.impl.MatlabInputFormat
 
createReader(InputSplit) - Method in class org.canova.api.formats.input.impl.MatlabInputFormat
 
createReader(InputSplit, Configuration) - Method in class org.canova.api.formats.input.impl.SVMLightInputFormat
 
createReader(InputSplit) - Method in class org.canova.api.formats.input.impl.SVMLightInputFormat
 
createReader(InputSplit, Configuration) - Method in interface org.canova.api.formats.input.InputFormat
Creates a reader from an input split
createReader(InputSplit) - Method in interface org.canova.api.formats.input.InputFormat
Creates a reader from an input split
createVector(Object[]) - Method in interface org.canova.api.vector.Vectorizer
Create a vector based on the given arguments
createWriter(Configuration) - Method in class org.canova.api.formats.output.impl.CSVOutputFormat
 
createWriter(Configuration) - Method in class org.canova.api.formats.output.impl.LibSvmOutputFormat
 
createWriter(Configuration) - Method in class org.canova.api.formats.output.impl.LineOutputFormat
 
createWriter(Configuration) - Method in class org.canova.api.formats.output.impl.SVMLightOutputFormat
 
createWriter(Configuration) - Method in interface org.canova.api.formats.output.OutputFormat
Create a record writer
CSVInputFormat - Class in org.canova.api.formats.input.impl
Line input format creates an @link{LineRecordReader}
CSVInputFormat() - Constructor for class org.canova.api.formats.input.impl.CSVInputFormat
 
CSVOutputFormat - Class in org.canova.api.formats.output.impl
Creates an @link{CSVRecordWriter}
CSVOutputFormat() - Constructor for class org.canova.api.formats.output.impl.CSVOutputFormat
 
CSVRecordReader - Class in org.canova.api.records.reader.impl
Simple csv record reader.
CSVRecordReader(int) - Constructor for class org.canova.api.records.reader.impl.CSVRecordReader
Skip first n lines
CSVRecordReader(int, String) - Constructor for class org.canova.api.records.reader.impl.CSVRecordReader
Skip lines and use delimiter
CSVRecordReader() - Constructor for class org.canova.api.records.reader.impl.CSVRecordReader
 
CSVRecordWriter - Class in org.canova.api.records.writer.impl
Csv record writer
CSVRecordWriter() - Constructor for class org.canova.api.records.writer.impl.CSVRecordWriter
 
CSVRecordWriter(File) - Constructor for class org.canova.api.records.writer.impl.CSVRecordWriter
 
CSVRecordWriter(File, boolean) - Constructor for class org.canova.api.records.writer.impl.CSVRecordWriter
 
CSVRecordWriter(Configuration) - Constructor for class org.canova.api.records.writer.impl.CSVRecordWriter
 
CSVRecordWriter(File, boolean, Charset, String) - Constructor for class org.canova.api.records.writer.impl.CSVRecordWriter
 
CSVSequenceRecordReader - Class in org.canova.api.records.reader.impl
CSV Sequence Record Reader This reader is indended to read sequences of data in CSV format, where each sequence is defined in its own file (and there are multiple files) Each line in the file represents one time step
CSVSequenceRecordReader() - Constructor for class org.canova.api.records.reader.impl.CSVSequenceRecordReader
 
CSVSequenceRecordReader(int) - Constructor for class org.canova.api.records.reader.impl.CSVSequenceRecordReader
 
CSVSequenceRecordReader(int, String) - Constructor for class org.canova.api.records.reader.impl.CSVSequenceRecordReader
 
currentFile - Variable in class org.canova.api.records.reader.impl.FileRecordReader
 

D

DataInputBuffer - Class in org.canova.api.io
A reusable DataInput implementation that reads from an in-memory buffer.
DataInputBuffer() - Constructor for class org.canova.api.io.DataInputBuffer
Constructs a new empty buffer.
DataOutputBuffer - Class in org.canova.api.io
A reusable DataOutput implementation that writes to an in-memory buffer.
DataOutputBuffer() - Constructor for class org.canova.api.io.DataOutputBuffer
Constructs a new empty buffer.
DataOutputBuffer(int) - Constructor for class org.canova.api.io.DataOutputBuffer
 
decode(byte[]) - Static method in class org.canova.api.io.data.Text
Converts the provided byte array to a String using the UTF-8 encoding.
decode(byte[], int, int) - Static method in class org.canova.api.io.data.Text
 
decode(byte[], int, int, boolean) - Static method in class org.canova.api.io.data.Text
Converts the provided byte array to a String using the UTF-8 encoding.
decodeVIntSize(byte) - Static method in class org.canova.api.io.WritableUtils
Parse the first byte of a vint/vlong to determine the number of bytes
DecreasingComparator() - Constructor for class org.canova.api.io.data.LongWritable.DecreasingComparator
 
DEFAULT_CHARSET - Static variable in class org.canova.api.records.reader.impl.regex.RegexSequenceRecordReader
 
DEFAULT_CHARSET - Static variable in class org.canova.api.records.writer.impl.FileRecordWriter
 
DEFAULT_DELIMITER - Static variable in class org.canova.api.records.writer.impl.CSVRecordWriter
 
DEFAULT_ERROR_HANDLING - Static variable in class org.canova.api.records.reader.impl.regex.RegexSequenceRecordReader
 
DEFAULT_MISSING_VALUE - Static variable in class org.canova.api.records.reader.impl.jackson.FieldSelection
 
DefaultFactory(Class) - Constructor for class org.canova.api.berkeley.Factory.DefaultFactory
 
DefaultLexicographicPairComparator() - Constructor for class org.canova.api.berkeley.Pair.DefaultLexicographicPairComparator
 
define(Class, WritableComparator) - Static method in class org.canova.api.io.WritableComparator
Register an optimized comparator for a WritableComparable implementation.
DELIMITER - Static variable in class org.canova.api.records.reader.impl.CSVRecordReader
 
deserialize(T) - Method in interface org.canova.api.io.serializers.Deserializer
Deserialize the next object from the underlying input stream.
Deserializer<T> - Interface in org.canova.api.io.serializers
Provides a facility for deserializing objects of type from an InputStream.
determinationCoefficient(double[], double[], int) - Static method in class org.canova.api.util.MathUtils
This returns the determination coefficient of two vectors given a length
difference(Counter<E>) - Method in class org.canova.api.berkeley.Counter
 
difference(Collection<? extends T>, Collection<? extends T>) - Static method in class org.canova.api.util.SetUtils
Return is s1 \ s2
discretize(double, double, double, int) - Static method in class org.canova.api.util.MathUtils
Discretize the given value
displayByteArray(byte[]) - Static method in class org.canova.api.io.WritableUtils
 
distanceFinderZValue(double[]) - Static method in class org.canova.api.util.MathUtils
This will translate a vector in to an equivalent integer
doInitialize(InputSplit) - Method in class org.canova.api.records.reader.impl.FileRecordReader
 
done() - Method in interface org.canova.api.records.Index
 
dotProduct(Counter<E>) - Method in class org.canova.api.berkeley.Counter
 
DoubleWritable - Class in org.canova.api.io.data
Writable for Double values.
DoubleWritable() - Constructor for class org.canova.api.io.data.DoubleWritable
 
DoubleWritable(double) - Constructor for class org.canova.api.io.data.DoubleWritable
 
DoubleWritable.Comparator - Class in org.canova.api.io.data
A Comparator optimized for DoubleWritable.
DoubleWritableConverter - Class in org.canova.api.io.converters
Convert a writable to a double
DoubleWritableConverter() - Constructor for class org.canova.api.io.converters.DoubleWritableConverter
 
dumpConfiguration(Configuration, Writer) - Static method in class org.canova.api.conf.Configuration
Writes out all the parameters and their properties (final and resource) to the given Writer The format of the output would be { "properties" : [ {key1,value1,key1.isFinal,key1.resource}, {key2,value2, key2.isFinal,key2.resource}...

E

editDistance(String, String) - Static method in class org.canova.api.berkeley.StringUtils
Computes the Levenshtein (edit) distance of the two given Strings.
emptyIterator() - Static method in class org.canova.api.berkeley.Iterators
 
emptyStringArray - Static variable in class org.canova.api.util.StringUtils
 
encode(String) - Static method in class org.canova.api.io.data.Text
Converts the provided String to bytes using the UTF-8 encoding.
encode(String, boolean) - Static method in class org.canova.api.io.data.Text
Converts the provided String to bytes using the UTF-8 encoding.
encoding - Variable in class org.canova.api.records.writer.impl.FileRecordWriter
 
ensureCounter(K) - Method in class org.canova.api.berkeley.CounterMap
 
entropy(double[]) - Static method in class org.canova.api.util.MathUtils
This returns the entropy (information gain, or uncertainty of a random variable).
Entry(K, T, V) - Constructor for class org.canova.api.util.MultiDimensionalMap.Entry
 
entrySet() - Method in class org.canova.api.berkeley.Counter
 
entrySet() - Method in class org.canova.api.util.MultiDimensionalMap
Returns a Set view of the mappings contained in this map.
equals(Object) - Method in class org.canova.api.berkeley.Pair
 
equals(Object) - Method in class org.canova.api.berkeley.Triple
 
equals(Object) - Method in class org.canova.api.io.BinaryComparable
Return true if bytes from {#getBytes()} match.
equals(Object) - Method in class org.canova.api.io.data.BooleanWritable
 
equals(Object) - Method in class org.canova.api.io.data.ByteWritable
Returns true iff o is a ByteWritable with the same value.
equals(Object) - Method in class org.canova.api.io.data.DoubleWritable
Returns true iff o is a DoubleWritable with the same value.
equals(Object) - Method in class org.canova.api.io.data.FloatWritable
Returns true iff o is a FloatWritable with the same value.
equals(Object) - Method in class org.canova.api.io.data.IntWritable
Returns true iff o is a IntWritable with the same value.
equals(Object) - Method in class org.canova.api.io.data.LongWritable
Returns true iff o is a LongWritable with the same value.
equals(Object) - Method in class org.canova.api.io.data.NullWritable
 
equals(Object) - Method in class org.canova.api.io.data.Text
Returns true iff o is a Text with the same contents.
equals(Object) - Method in class org.canova.api.records.Buffer
 
equals(Object) - Method in class org.canova.api.util.MultiDimensionalMap
 
errorFor(double, double) - Static method in class org.canova.api.util.MathUtils
 
ESCAPE_CHAR - Static variable in class org.canova.api.util.StringUtils
 
escapeHTML(String) - Static method in class org.canova.api.util.StringUtils
Escapes HTML Special characters present in the string.
escapeString(String, char[], char) - Static method in class org.canova.api.berkeley.StringUtils
 
escapeString(String) - Static method in class org.canova.api.util.StringUtils
Escape commas in the string using the default escape char
escapeString(String, char, char) - Static method in class org.canova.api.util.StringUtils
Escape charToEscape in the string with the escape char escapeChar
escapeString(String, char, char[]) - Static method in class org.canova.api.util.StringUtils
 
euclideanDistance(double[], double[]) - Static method in class org.canova.api.util.MathUtils
This returns the euclidean distance of two vectors sum(i=1,n) (q_i - p_i)^2
euclideanDistance(float[], float[]) - Static method in class org.canova.api.util.MathUtils
This returns the euclidean distance of two vectors sum(i=1,n) (q_i - p_i)^2
exactBinomial(int, int, double) - Static method in class org.canova.api.berkeley.SloppyMath
Find a one tailed exact binomial test probability.
exp(double) - Static method in class org.canova.api.berkeley.SloppyMath
 
extensions - Variable in class org.canova.api.io.filters.RandomPathFilter
 

F

factorial(double) - Static method in class org.canova.api.util.MathUtils
This will return the factorial of the given number n.
Factory<T> - Interface in org.canova.api.berkeley
 
Factory.DefaultFactory<T> - Class in org.canova.api.berkeley
 
FieldSelection - Class in org.canova.api.records.reader.impl.jackson
FieldSelection is used in conjunction with the JacksonRecordReader (and the subclasses).
FieldSelection.Builder - Class in org.canova.api.records.reader.impl.jackson
 
fileNameClean(String) - Static method in class org.canova.api.berkeley.StringUtils
Returns a "clean" version of the given filename in which spaces have been converted to dashes and all non-alphaneumeric chars are underscores.
FileRecordReader - Class in org.canova.api.records.reader.impl
File reader/writer
FileRecordReader() - Constructor for class org.canova.api.records.reader.impl.FileRecordReader
 
FileRecordWriter - Class in org.canova.api.records.writer.impl
Write to files.
FileRecordWriter() - Constructor for class org.canova.api.records.writer.impl.FileRecordWriter
 
FileRecordWriter(File) - Constructor for class org.canova.api.records.writer.impl.FileRecordWriter
 
FileRecordWriter(File, boolean) - Constructor for class org.canova.api.records.writer.impl.FileRecordWriter
 
FileRecordWriter(File, boolean, Charset) - Constructor for class org.canova.api.records.writer.impl.FileRecordWriter
 
FileRecordWriter(Configuration) - Constructor for class org.canova.api.records.writer.impl.FileRecordWriter
Initialized based on configuration Set the following attributes in the conf:
FileSplit - Class in org.canova.api.split
File input split.
FileSplit(File, String[], boolean, Random, boolean) - Constructor for class org.canova.api.split.FileSplit
 
FileSplit(File) - Constructor for class org.canova.api.split.FileSplit
 
FileSplit(File, Random) - Constructor for class org.canova.api.split.FileSplit
 
FileSplit(File, String[]) - Constructor for class org.canova.api.split.FileSplit
 
FileSplit(File, String[], Random) - Constructor for class org.canova.api.split.FileSplit
 
FileSplit(File, String[], boolean) - Constructor for class org.canova.api.split.FileSplit
 
fillList(Iterator<? extends T>, List<T>) - Static method in class org.canova.api.berkeley.Iterators
 
fillList(Iterator<? extends T>) - Static method in class org.canova.api.berkeley.Iterators
 
Filter<T> - Interface in org.canova.api.berkeley
Filters are boolean functions which accept or reject items.
filter(Iterator<T>, Filter<T>) - Static method in class org.canova.api.berkeley.Iterators
 
filter(URI[]) - Method in class org.canova.api.io.filters.BalancedPathFilter
 
filter(URI[]) - Method in interface org.canova.api.io.filters.PathFilter
 
filter(URI[]) - Method in class org.canova.api.io.filters.RandomPathFilter
 
FilteredIterator(Filter<T>, Iterator<T>) - Constructor for class org.canova.api.berkeley.Iterators.FilteredIterator
 
FilteredIterator(Filter<T>, Iterable<T>) - Constructor for class org.canova.api.berkeley.Iterators.FilteredIterator
 
find(String, String) - Static method in class org.canova.api.berkeley.StringUtils
Say whether this regular expression can be found inside this String.
find(String) - Method in class org.canova.api.io.data.Text
 
find(String, int) - Method in class org.canova.api.io.data.Text
Finds any occurence of what in the backing buffer, starting as position start.
findNext(String, char, char, int, StringBuilder) - Static method in class org.canova.api.util.StringUtils
Finds the first occurrence of the separator character ignoring the escaped separators starting from the index.
FirstComparator() - Constructor for class org.canova.api.berkeley.Pair.FirstComparator
 
fit(RecordReader) - Method in interface org.canova.api.vector.Vectorizer
Fit based on a record reader
fit(RecordReader, Vectorizer.RecordCallBack) - Method in interface org.canova.api.vector.Vectorizer
Fit based on a record reader
fitTransform(RecordReader) - Method in interface org.canova.api.vector.Vectorizer
Fit based on a record reader
fitTransform(RecordReader, Vectorizer.RecordCallBack) - Method in interface org.canova.api.vector.Vectorizer
Fit based on a record reader
FloatWritable - Class in org.canova.api.io.data
A WritableComparable for floats.
FloatWritable() - Constructor for class org.canova.api.io.data.FloatWritable
 
FloatWritable(float) - Constructor for class org.canova.api.io.data.FloatWritable
 
FloatWritable.Comparator - Class in org.canova.api.io.data
A Comparator optimized for FloatWritable.
FloatWritableConverter - Class in org.canova.api.io.converters
Convert a writable to a double
FloatWritableConverter() - Constructor for class org.canova.api.io.converters.FloatWritableConverter
 
formatPercent(double, int) - Static method in class org.canova.api.util.StringUtils
Format a percentage for presentation to the user.
formatTime(long) - Static method in class org.canova.api.util.StringUtils
Given the time in long milliseconds, returns a String in the format Xhrs, Ymins, Z sec.
formatTimeDiff(long, long) - Static method in class org.canova.api.util.StringUtils
Given a finish and start time in long milliseconds, returns a String in the format Xhrs, Ymins, Z sec, for the time difference between two times.
fromString(String, String) - Static method in class org.canova.api.util.MathUtils
This will take a given string and separator and convert it to an equivalent double array.

G

generateUniform(int) - Static method in class org.canova.api.util.MathUtils
This will generate a series of uniformally distributed numbers between l times
get(String) - Method in class org.canova.api.conf.Configuration
Get the value of the name property, null if no such property exists.
get(String, String) - Method in class org.canova.api.conf.Configuration
Get the value of the name property.
get() - Method in class org.canova.api.io.data.BooleanWritable
Returns the value of the BooleanWritable
get() - Method in class org.canova.api.io.data.ByteWritable
Return the value of this ByteWritable.
get() - Method in class org.canova.api.io.data.DoubleWritable
 
get() - Method in class org.canova.api.io.data.FloatWritable
Return the value of this FloatWritable.
get() - Method in class org.canova.api.io.data.IntWritable
Return the value of this IntWritable.
get() - Method in class org.canova.api.io.data.LongWritable
Return the value of this LongWritable.
get(Class<? extends WritableComparable>) - Static method in class org.canova.api.io.WritableComparator
Get a comparator for a WritableComparable implementation.
get() - Method in class org.canova.api.records.Buffer
Get the data from the Buffer.
get(int) - Method in class org.canova.api.util.Index
 
get(Object) - Method in class org.canova.api.util.MultiDimensionalMap
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
get(K, T) - Method in class org.canova.api.util.MultiDimensionalMap
 
getBoolean(String, boolean) - Method in class org.canova.api.conf.Configuration
Get the value of the name property as a boolean.
getBytes() - Method in class org.canova.api.io.BinaryComparable
Return representative byte array for this instance.
getBytes() - Method in class org.canova.api.io.data.Text
Returns the raw bytes; however, only data up to Text.getLength() is valid.
getCapacity() - Method in class org.canova.api.records.Buffer
Get the capacity, which is the maximum count that could handled without resizing the backing storage.
getClass(String, Class<?>) - Method in class org.canova.api.conf.Configuration
Get the value of the name property as a Class.
getClass(String, Class<? extends U>, Class<U>) - Method in class org.canova.api.conf.Configuration
Get the value of the name property as a Class implementing the interface specified by xface.
getClass(T) - Static method in class org.canova.api.util.ReflectionUtils
Return the correctly-typed Class of the given object.
getClassByName(String) - Method in class org.canova.api.conf.Configuration
Load a class by name.
getClasses(String, Class<?>...) - Method in class org.canova.api.conf.Configuration
Get the value of the name property as an array of Class.
getClassLoader() - Method in class org.canova.api.conf.Configuration
Get the ClassLoader for this job.
getConf() - Method in interface org.canova.api.conf.Configurable
Return the configuration used by this object.
getConf() - Method in class org.canova.api.conf.Configured
 
getConf() - Method in class org.canova.api.records.reader.impl.CollectionRecordReader
 
getConf() - Method in class org.canova.api.records.reader.impl.ComposableRecordReader
 
getConf() - Method in class org.canova.api.records.reader.impl.FileRecordReader
 
getConf() - Method in class org.canova.api.records.reader.impl.jackson.JacksonRecordReader
 
getConf() - Method in class org.canova.api.records.reader.impl.LibSvmRecordReader
 
getConf() - Method in class org.canova.api.records.reader.impl.LineRecordReader
 
getConf() - Method in class org.canova.api.records.writer.impl.FileRecordWriter
 
getConfResourceAsInputStream(String) - Method in class org.canova.api.conf.Configuration
Get an input stream attached to the configuration resource with the given name.
getConfResourceAsReader(String) - Method in class org.canova.api.conf.Configuration
Get a Reader attached to the configuration resource with the given name.
getCount(E) - Method in class org.canova.api.berkeley.Counter
Get the count of the element, or zero if the element is not in the counter.
getCount(K, V) - Method in class org.canova.api.berkeley.CounterMap
Gets the count of the given (key, value) entry, or zero if that entry is not present.
getCount(K) - Method in class org.canova.api.berkeley.CounterMap
Gets the total count of the given key, or zero if that key is not present.
getCount() - Method in class org.canova.api.records.Buffer
Get the current count of the buffer.
getCounter(K) - Method in class org.canova.api.berkeley.CounterMap
Gets the sub-counter for the given key.
getCounters() - Method in class org.canova.api.berkeley.CounterMap
 
getCurrentLabel() - Method in class org.canova.api.records.reader.impl.FileRecordReader
Return the current label.
getData() - Method in class org.canova.api.io.DataInputBuffer
 
getData() - Method in class org.canova.api.io.DataOutputBuffer
Returns the current contents of the buffer.
getData() - Method in class org.canova.api.split.StringSplit
 
getDeflt() - Method in class org.canova.api.berkeley.Counter
 
getDeserializer(Class<T>) - Method in interface org.canova.api.io.serializers.Serialization
 
getDeserializer(Class<T>) - Method in class org.canova.api.io.serializers.SerializationFactory
 
getDouble(long) - Method in class org.canova.api.writable.ArrayWritable
 
getEntrySet() - Method in class org.canova.api.berkeley.Counter
 
getEntrySet() - Method in class org.canova.api.berkeley.CounterMap
 
getFieldPaths() - Method in class org.canova.api.records.reader.impl.jackson.FieldSelection
 
getFile(String, String) - Method in class org.canova.api.conf.Configuration
Get a local file name under a directory named in dirsProp with the given path.
getFile() - Method in class org.canova.api.util.ClassPathResource
Returns requested ClassPathResource as File object Please note: if this method called from compiled jar, temporary file will be created to provide File access
getFirst() - Method in class org.canova.api.berkeley.Pair
 
getFirst() - Method in class org.canova.api.berkeley.Triple
 
getFirstKey() - Method in class org.canova.api.util.MultiDimensionalMap.Entry
 
getFloat(String, float) - Method in class org.canova.api.conf.Configuration
Get the value of the name property as a float.
getFloat(long) - Method in class org.canova.api.writable.ArrayWritable
 
getFormattedTimeWithDiff(DateFormat, long, long) - Static method in class org.canova.api.util.StringUtils
Formats time in ms and appends difference (finishTime - startTime) as returned by formatTimeDiff().
getHostname() - Static method in class org.canova.api.util.StringUtils
Return hostname without throwing exception.
getInputStream() - Method in class org.canova.api.util.ClassPathResource
Returns requested ClassPathResource as InputStream object
getInstances(String, Class<U>) - Method in class org.canova.api.conf.Configuration
Get the value of the name property as a List of objects implementing the interface specified by xface.
getInt(String, int) - Method in class org.canova.api.conf.Configuration
Get the value of the name property as an int.
getInt(long) - Method in class org.canova.api.writable.ArrayWritable
 
getIs() - Method in class org.canova.api.split.InputStreamInputSplit
 
getKey() - Method in class org.canova.api.util.MultiDimensionalMap.Entry
Returns the key corresponding to this entry.
getKeyClass() - Method in class org.canova.api.io.WritableComparator
Returns the WritableComparable implementation class.
getLabelForPath(String) - Method in class org.canova.api.io.labels.ParentPathLabelGenerator
 
getLabelForPath(URI) - Method in class org.canova.api.io.labels.ParentPathLabelGenerator
 
getLabelForPath(String) - Method in interface org.canova.api.io.labels.PathLabelGenerator
 
getLabelForPath(URI) - Method in interface org.canova.api.io.labels.PathLabelGenerator
 
getLabelForPath(String) - Method in class org.canova.api.io.labels.PatternPathLabelGenerator
 
getLabelForPath(URI) - Method in class org.canova.api.io.labels.PatternPathLabelGenerator
 
getLabels() - Method in class org.canova.api.records.reader.impl.CollectionRecordReader
 
getLabels() - Method in class org.canova.api.records.reader.impl.ComposableRecordReader
 
getLabels() - Method in class org.canova.api.records.reader.impl.FileRecordReader
 
getLabels() - Method in class org.canova.api.records.reader.impl.jackson.JacksonRecordReader
 
getLabels() - Method in class org.canova.api.records.reader.impl.LineRecordReader
 
getLabels() - Method in interface org.canova.api.records.reader.RecordReader
List of label strings
getLength() - Method in class org.canova.api.io.BinaryComparable
Return n st bytes 0..n-1 from {#getBytes()} are valid.
getLength() - Method in class org.canova.api.io.data.Text
Returns the number of bytes in the byte array
getLength() - Method in class org.canova.api.io.DataInputBuffer
Returns the length of the input.
getLength() - Method in class org.canova.api.io.DataOutputBuffer
Returns the length of the valid data currently in the buffer.
getLong(String, long) - Method in class org.canova.api.conf.Configuration
Get the value of the name property as a long.
getLong(long) - Method in class org.canova.api.writable.ArrayWritable
 
getNumFields() - Method in class org.canova.api.records.reader.impl.jackson.FieldSelection
 
getPairIterator() - Method in class org.canova.api.berkeley.CounterMap
 
getPattern(String, Pattern) - Method in class org.canova.api.conf.Configuration
Get the value of the name property as a Pattern.
getPosition() - Method in class org.canova.api.io.DataInputBuffer
Returns the current position in the input.
getPriority() - Method in class org.canova.api.berkeley.PriorityQueue
 
getPriority() - Method in interface org.canova.api.berkeley.PriorityQueueInterface
Gets the priority of the highest-priority element of the queue.
getProbability(E) - Method in class org.canova.api.berkeley.Counter
I know, I know, this should be wrapped in a Distribution class, but it's such a common use...why not.
getRange(String, String) - Method in class org.canova.api.conf.Configuration
Parse the given attribute as a set of integer ranges
getRaw(String) - Method in class org.canova.api.conf.Configuration
Get the value of the name property, without doing variable expansion.
getResource(String) - Method in class org.canova.api.conf.Configuration
Get the URL for the named resource.
getRootDir() - Method in class org.canova.api.split.FileSplit
 
getSecond() - Method in class org.canova.api.berkeley.Pair
 
getSecond() - Method in class org.canova.api.berkeley.Triple
 
getSecondKey() - Method in class org.canova.api.util.MultiDimensionalMap.Entry
 
getSerialization(Class<T>) - Method in class org.canova.api.io.serializers.SerializationFactory
 
getSerializer(Class<T>) - Method in interface org.canova.api.io.serializers.Serialization
 
getSerializer(Class<T>) - Method in class org.canova.api.io.serializers.SerializationFactory
 
getSortedKeys() - Method in class org.canova.api.berkeley.Counter
 
getStringCollection(String) - Method in class org.canova.api.conf.Configuration
Get the comma delimited values of the name property as a collection of Strings.
getStringCollection(String) - Static method in class org.canova.api.util.StringUtils
Returns a collection of strings.
getStrings(String) - Method in class org.canova.api.conf.Configuration
Get the comma delimited values of the name property as an array of Strings.
getStrings(String, String...) - Method in class org.canova.api.conf.Configuration
Get the comma delimited values of the name property as an array of Strings.
getStrings(String) - Static method in class org.canova.api.util.StringUtils
Returns an arraylist of strings.
getThird() - Method in class org.canova.api.berkeley.Triple
 
getTrimmedStringCollection(String) - Method in class org.canova.api.conf.Configuration
Get the comma delimited values of the name property as a collection of Strings, trimmed of the leading and trailing whitespace.
getTrimmedStringCollection(String) - Static method in class org.canova.api.util.StringUtils
Splits a comma separated value String, trimming leading and trailing whitespace on each value.
getTrimmedStrings(String) - Method in class org.canova.api.conf.Configuration
Get the comma delimited values of the name property as an array of Strings, trimmed of the leading and trailing whitespace.
getTrimmedStrings(String, String...) - Method in class org.canova.api.conf.Configuration
Get the comma delimited values of the name property as an array of Strings, trimmed of the leading and trailing whitespace.
getTrimmedStrings(String) - Static method in class org.canova.api.util.StringUtils
Splits a comma separated value String, trimming leading and trailing whitespace on each value.
getValue() - Method in class org.canova.api.util.MultiDimensionalMap.Entry
 
getValueIfMissing() - Method in class org.canova.api.records.reader.impl.jackson.FieldSelection
 
getVIntSize(long) - Static method in class org.canova.api.io.WritableUtils
Get the encoded length if an integer is stored in a variable-length format
getVIntSize(long) - Static method in class org.canova.api.records.Utils
Get the encoded length if an integer is stored in a variable-length format
gr(double, double) - Static method in class org.canova.api.util.MathUtils
Tests if a is greater than b.
grow(int) - Method in class org.canova.api.berkeley.PriorityQueue
 

H

hashBytes(byte[], int, int) - Static method in class org.canova.api.io.WritableComparator
Compute hash for binary data.
hashBytes(byte[], int) - Static method in class org.canova.api.io.WritableComparator
Compute hash for binary data.
hashCode() - Method in class org.canova.api.berkeley.Pair
 
hashCode() - Method in class org.canova.api.berkeley.Triple
 
hashCode() - Method in class org.canova.api.io.BinaryComparable
Return a hash of the bytes returned from {#getBytes()}.
hashCode() - Method in class org.canova.api.io.data.BooleanWritable
 
hashCode() - Method in class org.canova.api.io.data.ByteWritable
 
hashCode() - Method in class org.canova.api.io.data.DoubleWritable
 
hashCode() - Method in class org.canova.api.io.data.FloatWritable
 
hashCode() - Method in class org.canova.api.io.data.IntWritable
 
hashCode() - Method in class org.canova.api.io.data.LongWritable
 
hashCode() - Method in class org.canova.api.io.data.Text
 
hashCode() - Method in class org.canova.api.records.Buffer
 
hashCode() - Method in class org.canova.api.util.MultiDimensionalMap
 
HashMapFactory() - Constructor for class org.canova.api.berkeley.MapFactory.HashMapFactory
 
hashSet() - Static method in class org.canova.api.util.MultiDimensionalSet
 
hasNext() - Method in class org.canova.api.berkeley.Iterators.FilteredIterator
 
hasNext() - Method in class org.canova.api.berkeley.Iterators.IteratorIterator
 
hasNext() - Method in class org.canova.api.berkeley.Iterators.Transform
 
hasNext() - Method in class org.canova.api.berkeley.Iterators.TransformingIterator
 
hasNext() - Method in class org.canova.api.berkeley.PriorityQueue
 
hasNext() - Method in interface org.canova.api.berkeley.PriorityQueueInterface
Returns true if the priority queue is non-empty
hasNext() - Method in class org.canova.api.records.reader.impl.CollectionRecordReader
 
hasNext() - Method in class org.canova.api.records.reader.impl.ComposableRecordReader
 
hasNext() - Method in class org.canova.api.records.reader.impl.FileRecordReader
 
hasNext() - Method in class org.canova.api.records.reader.impl.jackson.JacksonRecordReader
 
hasNext() - Method in class org.canova.api.records.reader.impl.LibSvmRecordReader
 
hasNext() - Method in class org.canova.api.records.reader.impl.LineRecordReader
 
hasNext() - Method in class org.canova.api.records.reader.impl.MatlabRecordReader
 
hasNext() - Method in interface org.canova.api.records.reader.RecordReader
Whether there are anymore records
heapifyDown(int) - Method in class org.canova.api.berkeley.PriorityQueue
 
heapifyUp(int) - Method in class org.canova.api.berkeley.PriorityQueue
 
hexchars - Static variable in class org.canova.api.records.Utils
 
hexStringToByte(String) - Static method in class org.canova.api.util.StringUtils
Given a hexstring this will return the byte array corresponding to the string
humanReadableInt(long) - Static method in class org.canova.api.util.StringUtils
Given an integer, return a string that is in an approximate, but human readable format.
hypergeometric(int, int, int, int) - Static method in class org.canova.api.berkeley.SloppyMath
Find a hypergeometric distribution.
hypotenuse(double, double) - Static method in class org.canova.api.util.MathUtils
sqrt(a^2 + b^2) without under/overflow.

I

IdentityHashMapFactory() - Constructor for class org.canova.api.berkeley.MapFactory.IdentityHashMapFactory
 
idf(double, double) - Static method in class org.canova.api.util.MathUtils
Inverse document frequency: the total docs divided by the number of times the word appeared in a document
incr() - Method in interface org.canova.api.records.Index
 
incrementAll(Collection<? extends E>, double) - Method in class org.canova.api.berkeley.Counter
Increment each element in a given collection by a given amount.
incrementAll(Counter<T>) - Method in class org.canova.api.berkeley.Counter
 
incrementAll(Map<K, V>, double) - Method in class org.canova.api.berkeley.CounterMap
 
incrementAll(CounterMap<K, V>) - Method in class org.canova.api.berkeley.CounterMap
 
incrementCount(E, double) - Method in class org.canova.api.berkeley.Counter
Increment a key's count by the given amount.
incrementCount(K, V, double) - Method in class org.canova.api.berkeley.CounterMap
Increments the count for a particular (key, value) pair.
Index - Interface in org.canova.api.records
Interface that acts as an iterator for deserializing maps.
Index - Class in org.canova.api.util
An index is a applyTransformToDestination of objects augmented with a list and a reverse lookup table for fast lookups.
Index() - Constructor for class org.canova.api.util.Index
 
indexOf(Object) - Method in class org.canova.api.util.Index
 
information(double[]) - Static method in class org.canova.api.util.MathUtils
This returns the entropy for a given vector of probabilities.
initialize(InputSplit) - Method in class org.canova.api.records.reader.impl.CollectionRecordReader
 
initialize(Configuration, InputSplit) - Method in class org.canova.api.records.reader.impl.CollectionRecordReader
 
initialize(InputSplit) - Method in class org.canova.api.records.reader.impl.ComposableRecordReader
 
initialize(Configuration, InputSplit) - Method in class org.canova.api.records.reader.impl.ComposableRecordReader
 
initialize(Configuration, InputSplit) - Method in class org.canova.api.records.reader.impl.CSVRecordReader
 
initialize(InputSplit) - Method in class org.canova.api.records.reader.impl.FileRecordReader
 
initialize(Configuration, InputSplit) - Method in class org.canova.api.records.reader.impl.FileRecordReader
 
initialize(InputSplit) - Method in class org.canova.api.records.reader.impl.jackson.JacksonRecordReader
 
initialize(Configuration, InputSplit) - Method in class org.canova.api.records.reader.impl.jackson.JacksonRecordReader
 
initialize(InputSplit) - Method in class org.canova.api.records.reader.impl.LibSvmRecordReader
 
initialize(Configuration, InputSplit) - Method in class org.canova.api.records.reader.impl.LibSvmRecordReader
 
initialize(InputSplit) - Method in class org.canova.api.records.reader.impl.LineRecordReader
 
initialize(Configuration, InputSplit) - Method in class org.canova.api.records.reader.impl.LineRecordReader
 
initialize(Configuration, InputSplit) - Method in class org.canova.api.records.reader.impl.regex.RegexLineRecordReader
 
initialize(Configuration, InputSplit) - Method in class org.canova.api.records.reader.impl.regex.RegexSequenceRecordReader
 
initialize(Configuration, InputSplit) - Method in class org.canova.api.records.reader.impl.SVMLightRecordReader
 
initialize(InputSplit) - Method in interface org.canova.api.records.reader.RecordReader
Called once at initialization.
initialize(Configuration, InputSplit) - Method in interface org.canova.api.records.reader.RecordReader
Called once at initialization.
initialize() - Method in class org.canova.api.split.FileSplit
 
initialize() - Method in class org.canova.api.split.LimitFileSplit
 
initialize(Configuration) - Method in interface org.canova.api.vector.Vectorizer
Initialize based on a configuration
InputFormat - Interface in org.canova.api.formats.input
Create an input format
inputSplit - Variable in class org.canova.api.records.reader.impl.FileRecordReader
 
inputSplit - Variable in class org.canova.api.records.reader.impl.LineRecordReader
 
InputSplit - Interface in org.canova.api.split
An input split
InputStreamInputSplit - Class in org.canova.api.split
Input stream input split.
InputStreamInputSplit(InputStream, String) - Constructor for class org.canova.api.split.InputStreamInputSplit
Instantiate with the given file as a uri
InputStreamInputSplit(InputStream, File) - Constructor for class org.canova.api.split.InputStreamInputSplit
Instantiate with the given file as a uri
InputStreamInputSplit(InputStream, URI) - Constructor for class org.canova.api.split.InputStreamInputSplit
Instantiate with the given file as a uri
InputStreamInputSplit(InputStream) - Constructor for class org.canova.api.split.InputStreamInputSplit
 
INSTANCE - Static variable in class org.canova.api.io.data.NullWritable
 
IntegerRanges() - Constructor for class org.canova.api.conf.Configuration.IntegerRanges
 
IntegerRanges(String) - Constructor for class org.canova.api.conf.Configuration.IntegerRanges
 
intersection(Collection<T>, Collection<T>) - Static method in class org.canova.api.util.SetUtils
 
intersectionP(Set<? extends T>, Set<? extends T>) - Static method in class org.canova.api.util.SetUtils
 
intPow(int, int) - Static method in class org.canova.api.berkeley.SloppyMath
exponentiation like we learned in grade school: multiply b by itself e times.
intPow(float, int) - Static method in class org.canova.api.berkeley.SloppyMath
exponentiation like we learned in grade school: multiply b by itself e times.
intPow(double, int) - Static method in class org.canova.api.berkeley.SloppyMath
exponentiation like we learned in grade school: multiply b by itself e times.
IntWritable - Class in org.canova.api.io.data
A WritableComparable for ints.
IntWritable() - Constructor for class org.canova.api.io.data.IntWritable
 
IntWritable(int) - Constructor for class org.canova.api.io.data.IntWritable
 
IntWritable.Comparator - Class in org.canova.api.io.data
A Comparator optimized for IntWritable.
invert() - Method in class org.canova.api.berkeley.CounterMap
Constructs reverse CounterMap where the count of a pair (k,v) is the count of (v,k) in the current CounterMap
isDangerous(double) - Static method in class org.canova.api.berkeley.SloppyMath
Returns true if the argument is a "dangerous" double to have around, namely one that is infinite, NaN or zero.
isDangerous(float) - Static method in class org.canova.api.berkeley.SloppyMath
 
isDiscreteProb(double, double) - Static method in class org.canova.api.berkeley.SloppyMath
 
isEmpty() - Method in class org.canova.api.berkeley.Counter
True if there are no entries in the counter (false does not mean totalCount > 0)
isEmpty() - Method in class org.canova.api.berkeley.CounterMap
True if there are no entries in the CounterMap (false does not mean totalCount > 0)
isEmpty() - Method in class org.canova.api.berkeley.PriorityQueue
 
isEmpty() - Method in interface org.canova.api.berkeley.PriorityQueueInterface
True if the queue is empty (size == 0).
isEmpty() - Method in class org.canova.api.util.MultiDimensionalMap
Returns true if this map contains no key-value mappings.
isEmpty() - Method in class org.canova.api.util.MultiDimensionalSet
Returns true if this applyTransformToDestination contains no elements.
isEqualTo(Counter<E>) - Method in class org.canova.api.berkeley.Counter
 
isEqualTo(CounterMap<K, V>) - Method in class org.canova.api.berkeley.CounterMap
 
isGreater(double, double) - Static method in class org.canova.api.berkeley.SloppyMath
 
isIncluded(int) - Method in class org.canova.api.conf.Configuration.IntegerRanges
Is the given value in the set of ranges
isNegativeVInt(byte) - Static method in class org.canova.api.io.WritableUtils
Given the first byte of a vint/vlong, determine the sign
isVeryDangerous(double) - Static method in class org.canova.api.berkeley.SloppyMath
Returns true if the argument is a "very dangerous" double to have around, namely one that is infinite or NaN.
iter - Variable in class org.canova.api.records.reader.impl.FileRecordReader
 
iterator() - Method in class org.canova.api.conf.Configuration
Get an Iterator to go through the list of String key-value pairs in the configuration.
iterator() - Method in class org.canova.api.util.MultiDimensionalSet
Returns an iterator over the elements in this applyTransformToDestination.
IteratorIterator(Iterator, Factory<Iterator<T>>) - Constructor for class org.canova.api.berkeley.Iterators.IteratorIterator
 
Iterators - Class in org.canova.api.berkeley
 
Iterators.FilteredIterator<T> - Class in org.canova.api.berkeley
Creates an iterator that only returns items of a base iterator that pass a filter.
Iterators.IteratorIterator<T> - Class in org.canova.api.berkeley
Wraps a two-level iteration scenario in an iterator.
Iterators.Transform<S,T> - Class in org.canova.api.berkeley
Wraps a base iterator with a transformation function.
Iterators.TransformingIterator<I,O> - Class in org.canova.api.berkeley
 

J

JacksonRecordReader - Class in org.canova.api.records.reader.impl.jackson
RecordReader using Jackson.
Design for this record reader:
- Support for JSON, XML and YAML: one record per file only, via Jackson ObjectMapper:
    - JSON: new ObjectMapper(new JsonFactory()) - YAML: new ObjectMapper(new YAMLFactory()) (requires jackson-dataformat-yaml dependency) - XML: new ObjectMapper(new XmlFactory()) (requires jackson-dataformat-xml dependency) - User provides a list of fields to load, using FieldSelection.
JacksonRecordReader(FieldSelection, ObjectMapper) - Constructor for class org.canova.api.records.reader.impl.jackson.JacksonRecordReader
 
JacksonRecordReader(FieldSelection, ObjectMapper, boolean) - Constructor for class org.canova.api.records.reader.impl.jackson.JacksonRecordReader
 
JacksonRecordReader(FieldSelection, ObjectMapper, boolean, long, PathLabelGenerator) - Constructor for class org.canova.api.records.reader.impl.jackson.JacksonRecordReader
 
JacksonRecordReader(FieldSelection, ObjectMapper, boolean, long, PathLabelGenerator, int) - Constructor for class org.canova.api.records.reader.impl.jackson.JacksonRecordReader
 
join(Iterable, String) - Static method in class org.canova.api.berkeley.StringUtils
Joins each elem in the Collection with the given glue.
join(List<?>, String) - Static method in class org.canova.api.berkeley.StringUtils
Joins each elem in the List with the given glue.
join(Object[], String) - Static method in class org.canova.api.berkeley.StringUtils
Joins each elem in the array with the given glue.
join(List) - Static method in class org.canova.api.berkeley.StringUtils
Joins elems with a space.
join(Object[]) - Static method in class org.canova.api.berkeley.StringUtils
Joins elems with a space.
join(CharSequence, Iterable<String>) - Static method in class org.canova.api.util.StringUtils
Concatenates strings, using a separator.
joinObjects(CharSequence, Iterable<?>) - Static method in class org.canova.api.util.StringUtils
Concatenates stringified objects, using a separator.

K

keepBottomNKeys(int) - Method in class org.canova.api.berkeley.Counter
 
keepTopNKeys(int) - Method in class org.canova.api.berkeley.Counter
 
keySet() - Method in class org.canova.api.berkeley.Counter
The elements in the counter.
keySet() - Method in class org.canova.api.berkeley.CounterMap
Returns the keys that have been inserted into this CounterMap.
keySet() - Method in class org.canova.api.util.MultiDimensionalMap
Returns a Set view of the keys contained in this map.
kroneckerDelta(double, double) - Static method in class org.canova.api.util.MathUtils
This returns the kronecker delta of two doubles.

L

labelGenerator - Variable in class org.canova.api.io.filters.BalancedPathFilter
 
labels - Variable in class org.canova.api.records.reader.impl.FileRecordReader
 
LABELS - Static variable in interface org.canova.api.records.reader.RecordReader
 
LabelWriterConverter - Class in org.canova.api.io.converters
Convert a label in to an index based on the
LabelWriterConverter(List<String>) - Constructor for class org.canova.api.io.converters.LabelWriterConverter
 
lambert(double, double) - Static method in class org.canova.api.berkeley.SloppyMath
 
leftChild(int) - Method in class org.canova.api.berkeley.PriorityQueue
 
length - Variable in class org.canova.api.split.BaseInputSplit
 
length() - Method in class org.canova.api.split.BaseInputSplit
 
length() - Method in class org.canova.api.split.CollectionInputSplit
 
length() - Method in class org.canova.api.split.FileSplit
 
length() - Method in interface org.canova.api.split.InputSplit
Length of the split
length() - Method in class org.canova.api.split.InputStreamInputSplit
 
length() - Method in class org.canova.api.split.NumberedFileInputSplit
 
length() - Method in class org.canova.api.split.StringSplit
 
length() - Method in class org.canova.api.writable.ArrayWritable
 
LexicographicPairComparator(Comparator<F>, Comparator<S>) - Constructor for class org.canova.api.berkeley.Pair.LexicographicPairComparator
 
LibSvm - Interface in org.canova.api.records.reader
 
LibSvmInputFormat - Class in org.canova.api.formats.input.impl
Lib svm input format
LibSvmInputFormat() - Constructor for class org.canova.api.formats.input.impl.LibSvmInputFormat
 
LibSvmOutputFormat - Class in org.canova.api.formats.output.impl
 
LibSvmOutputFormat() - Constructor for class org.canova.api.formats.output.impl.LibSvmOutputFormat
 
LibSvmRecordReader - Class in org.canova.api.records.reader.impl
 
LibSvmRecordReader() - Constructor for class org.canova.api.records.reader.impl.LibSvmRecordReader
 
LibSvmRecordWriter - Class in org.canova.api.records.writer.impl
Each line is in the format: label i:value where is is the current index and value is a double separated by space
LibSvmRecordWriter(File) - Constructor for class org.canova.api.records.writer.impl.LibSvmRecordWriter
 
LibSvmRecordWriter(File, boolean) - Constructor for class org.canova.api.records.writer.impl.LibSvmRecordWriter
 
LibSvmRecordWriter(Configuration) - Constructor for class org.canova.api.records.writer.impl.LibSvmRecordWriter
 
LibSvmRecordWriter() - Constructor for class org.canova.api.records.writer.impl.LibSvmRecordWriter
 
limitDecimalTo2(double) - Static method in class org.canova.api.util.StringUtils
 
LimitFileSplit - Class in org.canova.api.split
File input split that allows limits on number of files loaded.
LimitFileSplit(File, String[], boolean, int, int, String, int, Random) - Constructor for class org.canova.api.split.LimitFileSplit
 
LimitFileSplit(File, int) - Constructor for class org.canova.api.split.LimitFileSplit
 
LimitFileSplit(File, String[], boolean, int) - Constructor for class org.canova.api.split.LimitFileSplit
 
LimitFileSplit(File, int, String) - Constructor for class org.canova.api.split.LimitFileSplit
 
LimitFileSplit(File, int, int, String) - Constructor for class org.canova.api.split.LimitFileSplit
 
LimitFileSplit(File, String[], int, int, String) - Constructor for class org.canova.api.split.LimitFileSplit
 
LimitFileSplit(File, String[], int, int, String, int, Random) - Constructor for class org.canova.api.split.LimitFileSplit
 
LimitFileSplit(File, int, Random) - Constructor for class org.canova.api.split.LimitFileSplit
 
LimitFileSplit(File, int, String, Random) - Constructor for class org.canova.api.split.LimitFileSplit
 
LimitFileSplit(File, String[], int, int, String, Random) - Constructor for class org.canova.api.split.LimitFileSplit
 
LimitFileSplit(File, String[], int, String, Random) - Constructor for class org.canova.api.split.LimitFileSplit
 
LimitFileSplit(File, String[], int, String, int, Random) - Constructor for class org.canova.api.split.LimitFileSplit
 
LineInputFormat - Class in org.canova.api.formats.input.impl
Line input format creates an @link{LineRecordReader}
LineInputFormat() - Constructor for class org.canova.api.formats.input.impl.LineInputFormat
 
LineOutputFormat - Class in org.canova.api.formats.output.impl
Line output format
LineOutputFormat() - Constructor for class org.canova.api.formats.output.impl.LineOutputFormat
 
LineRecordReader - Class in org.canova.api.records.reader.impl
Reads files line by line
LineRecordReader() - Constructor for class org.canova.api.records.reader.impl.LineRecordReader
 
LineRecordWriter - Class in org.canova.api.records.writer.impl
Line record writer
LineRecordWriter() - Constructor for class org.canova.api.records.writer.impl.LineRecordWriter
 
LineRecordWriter(File) - Constructor for class org.canova.api.records.writer.impl.LineRecordWriter
 
LineRecordWriter(File, boolean) - Constructor for class org.canova.api.records.writer.impl.LineRecordWriter
 
LineRecordWriter(Configuration) - Constructor for class org.canova.api.records.writer.impl.LineRecordWriter
 
locations - Variable in class org.canova.api.split.BaseInputSplit
 
locations() - Method in class org.canova.api.split.BaseInputSplit
 
locations() - Method in class org.canova.api.split.CollectionInputSplit
 
locations() - Method in interface org.canova.api.split.InputSplit
Locations of the splits
locations() - Method in class org.canova.api.split.InputStreamInputSplit
 
locations() - Method in class org.canova.api.split.NumberedFileInputSplit
 
locations() - Method in class org.canova.api.split.StringSplit
 
LOG - Static variable in class org.canova.api.records.reader.impl.regex.RegexSequenceRecordReader
 
log - Static variable in class org.canova.api.split.LimitFileSplit
 
log2 - Static variable in class org.canova.api.util.MathUtils
The natural logarithm of 2.
log2(double) - Static method in class org.canova.api.util.MathUtils
Returns the logarithm of a for base 2.
logAdd(float, float) - Static method in class org.canova.api.berkeley.SloppyMath
Returns the log of the sum of two numbers, which are themselves input in log form.
logAdd(double, double) - Static method in class org.canova.api.berkeley.SloppyMath
Returns the log of the sum of two numbers, which are themselves input in log form.
logAdd(float[]) - Static method in class org.canova.api.berkeley.SloppyMath
 
logAdd(double[]) - Static method in class org.canova.api.berkeley.SloppyMath
 
logAdd(List<Double>) - Static method in class org.canova.api.berkeley.SloppyMath
 
logAdd(float[], int) - Static method in class org.canova.api.berkeley.SloppyMath
 
logAdd(double[], int) - Static method in class org.canova.api.berkeley.SloppyMath
 
logAdd(Counter<T>) - Static method in class org.canova.api.berkeley.SloppyMath
 
logAdd_Old(float[]) - Static method in class org.canova.api.berkeley.SloppyMath
 
logNormalize(double[]) - Static method in class org.canova.api.berkeley.SloppyMath
 
logs2probs(double[]) - Static method in class org.canova.api.util.MathUtils
Converts an array containing the natural logarithms of probabilities stored in a vector back into probabilities.
logSubtract(double, double) - Static method in class org.canova.api.berkeley.SloppyMath
 
LOGTOLERANCE - Static variable in class org.canova.api.berkeley.SloppyMath
If a difference is bigger than this in log terms, then the sum or difference of them will just be the larger (to 12 or so decimal places for double, and 7 or 8 for float).
longestCommonSubstring(String, String) - Static method in class org.canova.api.berkeley.StringUtils
Computes the longest common substring of s and t.
LongWritable - Class in org.canova.api.io.data
A WritableComparable for longs.
LongWritable() - Constructor for class org.canova.api.io.data.LongWritable
 
LongWritable(long) - Constructor for class org.canova.api.io.data.LongWritable
 
LongWritable.Comparator - Class in org.canova.api.io.data
A Comparator optimized for LongWritable.
LongWritable.DecreasingComparator - Class in org.canova.api.io.data
A decreasing Comparator optimized for LongWritable.
lookingAt(String, String) - Static method in class org.canova.api.berkeley.StringUtils
Say whether this regular expression can be found at the beginning of this String.

M

main(String[]) - Static method in class org.canova.api.berkeley.Counter
 
main(String[]) - Static method in class org.canova.api.berkeley.CounterMap
 
main(String[]) - Static method in class org.canova.api.berkeley.PriorityQueue
 
main(String[]) - Static method in class org.canova.api.berkeley.SloppyMath
Tests the hypergeometric distribution code, or other functions provided in this module.
main(String[]) - Static method in class org.canova.api.berkeley.StringUtils
 
main(String[]) - Static method in class org.canova.api.conf.Configuration
For debugging.
makePair(S, T) - Static method in class org.canova.api.berkeley.Pair
 
makeTriple(S, T, U) - Static method in class org.canova.api.berkeley.Triple
 
manhattanDistance(double[], double[]) - Static method in class org.canova.api.util.MathUtils
This will calculate the Manhattan distance between two sets of points.
MapFactory<K,V> - Class in org.canova.api.berkeley
The MapFactory is a mechanism for specifying what kind of map is to be used by some object.
MapFactory() - Constructor for class org.canova.api.berkeley.MapFactory
 
MapFactory.HashMapFactory<K,V> - Class in org.canova.api.berkeley
 
MapFactory.IdentityHashMapFactory<K,V> - Class in org.canova.api.berkeley
 
MapFactory.TreeMapFactory<K,V> - Class in org.canova.api.berkeley
 
MapFactory.WeakHashMapFactory<K,V> - Class in org.canova.api.berkeley
 
matches(String, String) - Static method in class org.canova.api.berkeley.StringUtils
Say whether this regular expression matches this String.
MathUtils - Class in org.canova.api.util
This is a math utils class.
MathUtils() - Constructor for class org.canova.api.util.MathUtils
 
MatlabInputFormat - Class in org.canova.api.formats.input.impl
Matlab input format
MatlabInputFormat() - Constructor for class org.canova.api.formats.input.impl.MatlabInputFormat
 
MatlabRecordReader - Class in org.canova.api.records.reader.impl
Matlab record reader
MatlabRecordReader() - Constructor for class org.canova.api.records.reader.impl.MatlabRecordReader
 
MatlabRecordWriter - Class in org.canova.api.records.writer.impl
Write matlab records
MatlabRecordWriter() - Constructor for class org.canova.api.records.writer.impl.MatlabRecordWriter
 
MatlabRecordWriter(File) - Constructor for class org.canova.api.records.writer.impl.MatlabRecordWriter
 
MatlabRecordWriter(File, boolean) - Constructor for class org.canova.api.records.writer.impl.MatlabRecordWriter
 
MatlabRecordWriter(Configuration) - Constructor for class org.canova.api.records.writer.impl.MatlabRecordWriter
 
max() - Method in class org.canova.api.berkeley.Counter
 
max(int, int, int) - Static method in class org.canova.api.berkeley.SloppyMath
Returns the minimum of three int values.
max(float, float) - Static method in class org.canova.api.berkeley.SloppyMath
Returns the greater of two float values.
max(double, double) - Static method in class org.canova.api.berkeley.SloppyMath
Returns the greater of two double values.
max(double[]) - Static method in class org.canova.api.util.MathUtils
 
maxIndex(double[]) - Static method in class org.canova.api.util.MathUtils
Returns index of maximum element in a given array of doubles.
maxLabels - Variable in class org.canova.api.io.filters.BalancedPathFilter
 
maxLengthIterator(Iterator<T>, int) - Static method in class org.canova.api.berkeley.Iterators
Provides a max number of elements for an underlying base iterator.
maxPaths - Variable in class org.canova.api.io.filters.RandomPathFilter
 
maxPathsPerLabel - Variable in class org.canova.api.io.filters.BalancedPathFilter
 
mean(double[]) - Static method in class org.canova.api.util.MathUtils
Computes the mean for an array of doubles.
mergeCoords(double[], double[]) - Static method in class org.canova.api.util.MathUtils
This will merge the coordinates of the given coordinate system.
mergeCoords(List<Double>, List<Double>) - Static method in class org.canova.api.util.MathUtils
This will merge the coordinates of the given coordinate system.
min() - Method in class org.canova.api.berkeley.Counter
 
min(int, int, int) - Static method in class org.canova.api.berkeley.SloppyMath
Returns the minimum of three int values.
min(float, float) - Static method in class org.canova.api.berkeley.SloppyMath
Returns the smaller of two float values.
min(double, double) - Static method in class org.canova.api.berkeley.SloppyMath
Returns the smaller of two double values.
min(double[]) - Static method in class org.canova.api.util.MathUtils
 
MultiDimensionalMap<K,T,V> - Class in org.canova.api.util
Multiple key map
MultiDimensionalMap(Map<Pair<K, T>, V>) - Constructor for class org.canova.api.util.MultiDimensionalMap
 
MultiDimensionalMap.Entry<K,T,V> - Class in org.canova.api.util
 
MultiDimensionalSet<K,V> - Class in org.canova.api.util
Created by agibsonccc on 4/29/14.
MultiDimensionalSet(Set<Pair<K, V>>) - Constructor for class org.canova.api.util.MultiDimensionalSet
 
MyMethod<I,O> - Interface in org.canova.api.berkeley
A function wrapping interface.

N

NAME_SPACE - Static variable in class org.canova.api.records.reader.impl.LibSvmRecordReader
 
NAME_SPACE - Static variable in interface org.canova.api.records.reader.RecordReader
 
nChooseK(int, int) - Static method in class org.canova.api.berkeley.SloppyMath
Computes n choose k in an efficient way.
NEW_LINE - Static variable in class org.canova.api.records.writer.impl.FileRecordWriter
 
newHashBackedMap() - Static method in class org.canova.api.util.MultiDimensionalMap
Thread safe hash map impl
newInstance(Object...) - Method in class org.canova.api.berkeley.Factory.DefaultFactory
 
newInstance(Object...) - Method in interface org.canova.api.berkeley.Factory
 
newInstance(Class<T>, Configuration) - Static method in class org.canova.api.util.ReflectionUtils
Create an object for the given class and initialize it from conf
newIterable(Iterator<T>) - Static method in class org.canova.api.berkeley.Iterators
Wraps an iterator as an iterable
newKey() - Method in class org.canova.api.io.WritableComparator
Construct a new WritableComparable instance.
newPair(S, T) - Static method in class org.canova.api.berkeley.Pair
 
newThreadSafeHashBackedMap() - Static method in class org.canova.api.util.MultiDimensionalMap
Thread safe hash map implementation
newThreadSafeTreeBackedMap() - Static method in class org.canova.api.util.MultiDimensionalMap
Thread safe sorted map implementation
newTreeBackedMap() - Static method in class org.canova.api.util.MultiDimensionalMap
Tree map implementation
next() - Method in class org.canova.api.berkeley.Iterators.FilteredIterator
 
next() - Method in class org.canova.api.berkeley.Iterators.IteratorIterator
 
next() - Method in class org.canova.api.berkeley.Iterators.Transform
 
next() - Method in class org.canova.api.berkeley.Iterators.TransformingIterator
 
next() - Method in class org.canova.api.berkeley.PriorityQueue
 
next() - Method in interface org.canova.api.berkeley.PriorityQueueInterface
Returns the element in the queue with highest priority, and pops it from the queue.
next() - Method in class org.canova.api.records.reader.impl.CollectionRecordReader
 
next() - Method in class org.canova.api.records.reader.impl.ComposableRecordReader
 
next() - Method in class org.canova.api.records.reader.impl.CSVRecordReader
 
next() - Method in class org.canova.api.records.reader.impl.FileRecordReader
 
next() - Method in class org.canova.api.records.reader.impl.jackson.JacksonRecordReader
 
next() - Method in class org.canova.api.records.reader.impl.LibSvmRecordReader
 
next() - Method in class org.canova.api.records.reader.impl.LineRecordReader
 
next() - Method in class org.canova.api.records.reader.impl.MatlabRecordReader
 
next() - Method in class org.canova.api.records.reader.impl.regex.RegexLineRecordReader
 
next() - Method in class org.canova.api.records.reader.impl.SVMLightRecordReader
 
next() - Method in interface org.canova.api.records.reader.RecordReader
Get the next record
nextList(List<Iterator<T>>) - Static method in class org.canova.api.berkeley.Iterators
 
nextPowOf2(long) - Static method in class org.canova.api.util.MathUtils
See: http://stackoverflow.com/questions/466204/rounding-off-to-nearest-power-of-2
noNaNDivide(double, double) - Static method in class org.canova.api.berkeley.SloppyMath
 
normalize() - Method in class org.canova.api.berkeley.Counter
Destructively normalize this Counter in place.
normalize() - Method in class org.canova.api.berkeley.CounterMap
 
normalize(double, double, double) - Static method in class org.canova.api.util.MathUtils
Normalize a value (val - min) / (max - min)
normalize(double[], double) - Static method in class org.canova.api.util.MathUtils
Normalizes the doubles in the array using the given value.
normalizeToOne(double[]) - Static method in class org.canova.api.util.MathUtils
 
normalizeWithDiscount(double) - Method in class org.canova.api.berkeley.CounterMap
 
nthIndex(String, char, int) - Static method in class org.canova.api.berkeley.StringUtils
Returns the index of the nth occurrence of ch in s, or -1 if there are less than n occurrences of ch.
NullWritable - Class in org.canova.api.io.data
NullWritable.
NullWritable() - Constructor for class org.canova.api.io.data.NullWritable
 
NUM_ATTRIBUTES - Static variable in class org.canova.api.records.reader.impl.SVMLightRecordReader
 
NUM_FEATURES - Static variable in class org.canova.api.records.reader.impl.LibSvmRecordReader
 
NumberedFileInputSplit - Class in org.canova.api.split
InputSplit for sequences of numbered files.
NumberedFileInputSplit(String, int, int) - Constructor for class org.canova.api.split.NumberedFileInputSplit
 
numCategories - Variable in class org.canova.api.split.LimitFileSplit
 

O

objectIterator(ObjectInputStream) - Static method in class org.canova.api.berkeley.Iterators
 
oneItemIterator(U) - Static method in class org.canova.api.berkeley.Iterators
 
oneTailedFishersExact(int, int, int, int) - Static method in class org.canova.api.berkeley.SloppyMath
Find a one-tailed Fisher's exact probability.
onRecord(Collection<Writable>) - Method in interface org.canova.api.vector.Vectorizer.RecordCallBack
The record callback
open(InputStream) - Method in interface org.canova.api.io.serializers.Deserializer
Prepare the deserializer for reading.
open(OutputStream) - Method in interface org.canova.api.io.serializers.Serializer
Prepare the serializer for writing.
org.canova.api.berkeley - package org.canova.api.berkeley
 
org.canova.api.conf - package org.canova.api.conf
 
org.canova.api.exceptions - package org.canova.api.exceptions
 
org.canova.api.formats.input - package org.canova.api.formats.input
 
org.canova.api.formats.input.impl - package org.canova.api.formats.input.impl
 
org.canova.api.formats.output - package org.canova.api.formats.output
 
org.canova.api.formats.output.impl - package org.canova.api.formats.output.impl
 
org.canova.api.io - package org.canova.api.io
 
org.canova.api.io.converters - package org.canova.api.io.converters
 
org.canova.api.io.data - package org.canova.api.io.data
 
org.canova.api.io.filters - package org.canova.api.io.filters
 
org.canova.api.io.labels - package org.canova.api.io.labels
 
org.canova.api.io.serializers - package org.canova.api.io.serializers
 
org.canova.api.records - package org.canova.api.records
 
org.canova.api.records.reader - package org.canova.api.records.reader
 
org.canova.api.records.reader.factory - package org.canova.api.records.reader.factory
 
org.canova.api.records.reader.impl - package org.canova.api.records.reader.impl
 
org.canova.api.records.reader.impl.jackson - package org.canova.api.records.reader.impl.jackson
 
org.canova.api.records.reader.impl.regex - package org.canova.api.records.reader.impl.regex
 
org.canova.api.records.writer - package org.canova.api.records.writer
 
org.canova.api.records.writer.impl - package org.canova.api.records.writer.impl
 
org.canova.api.split - package org.canova.api.split
 
org.canova.api.util - package org.canova.api.util
 
org.canova.api.vector - package org.canova.api.vector
 
org.canova.api.writable - package org.canova.api.writable
 
out - Variable in class org.canova.api.records.writer.impl.FileRecordWriter
 
OUTPUT_PATH - Static variable in interface org.canova.api.formats.output.OutputFormat
 
OutputFormat - Interface in org.canova.api.formats.output
Create a record writer

P

pad(String, int) - Static method in class org.canova.api.berkeley.StringUtils
Return a String of length a minimum of totalChars characters by padding the input String str with spaces.
pad(Object, int) - Static method in class org.canova.api.berkeley.StringUtils
Pads the toString value of the given Object.
padLeft(String, int) - Static method in class org.canova.api.berkeley.StringUtils
Pads the given String to the left with spaces to ensure that it's at least totalChars long.
padLeft(Object, int) - Static method in class org.canova.api.berkeley.StringUtils
 
padLeft(int, int) - Static method in class org.canova.api.berkeley.StringUtils
 
padLeft(double, int) - Static method in class org.canova.api.berkeley.StringUtils
 
padOrTrim(String, int) - Static method in class org.canova.api.berkeley.StringUtils
Pad or trim so as to produce a string of exactly a certain length.
padOrTrim(Object, int) - Static method in class org.canova.api.berkeley.StringUtils
Pad or trim the toString value of the given Object.
Pair<F,S> - Class in org.canova.api.berkeley
A generic-typed pair of objects.
Pair(F, S) - Constructor for class org.canova.api.berkeley.Pair
 
Pair.DefaultLexicographicPairComparator<F extends Comparable<F>,S extends Comparable<S>> - Class in org.canova.api.berkeley
 
Pair.FirstComparator<S extends Comparable<? super S>,T> - Class in org.canova.api.berkeley
 
Pair.LexicographicPairComparator<F,S> - Class in org.canova.api.berkeley
 
Pair.ReverseFirstComparator<S extends Comparable<? super S>,T> - Class in org.canova.api.berkeley
 
Pair.ReverseSecondComparator<S,T extends Comparable<? super T>> - Class in org.canova.api.berkeley
 
Pair.SecondComparator<S,T extends Comparable<? super T>> - Class in org.canova.api.berkeley
 
parent(int) - Method in class org.canova.api.berkeley.PriorityQueue
 
ParentPathLabelGenerator - Class in org.canova.api.io.labels
 
ParentPathLabelGenerator() - Constructor for class org.canova.api.io.labels.ParentPathLabelGenerator
 
parseCommandLineArguments(String[]) - Static method in class org.canova.api.berkeley.StringUtils
A simpler form of command line argument parsing.
partitionVariable(List<Double>, int) - Static method in class org.canova.api.util.MathUtils
This will partition the given whole variable data applyTransformToDestination in to the specified chunk number.
PATH - Static variable in class org.canova.api.records.writer.impl.FileRecordWriter
 
PathFilter - Interface in org.canova.api.io.filters
 
PathLabelGenerator - Interface in org.canova.api.io.labels
PathLabelGenerator: interface to infer the label of a file directly from the path of a file
Example: /negative/file17.csv -> class "0"; /positive/file116.csv -> class "1" etc.
Though note that the output is a writable, hence it need not be numerical.
pattern - Variable in class org.canova.api.io.labels.PatternPathLabelGenerator
 
pattern - Variable in class org.canova.api.split.LimitFileSplit
 
PatternPathLabelGenerator - Class in org.canova.api.io.labels
 
PatternPathLabelGenerator(String, int) - Constructor for class org.canova.api.io.labels.PatternPathLabelGenerator
 
patternPosition - Variable in class org.canova.api.io.labels.PatternPathLabelGenerator
 
patternPosition - Variable in class org.canova.api.split.LimitFileSplit
 
peek() - Method in class org.canova.api.berkeley.PriorityQueue
 
peek() - Method in interface org.canova.api.berkeley.PriorityQueueInterface
Returns the highest-priority element in the queue, but does not pop it.
pennPOSToWordnetPOS(String) - Static method in class org.canova.api.berkeley.StringUtils
Computes the WordNet 2.0 POS tag corresponding to the PTB POS tag s.
permutation(double, double) - Static method in class org.canova.api.util.MathUtils
This returns the permutation of n choose r.
printStringOneCharPerLine(String) - Static method in class org.canova.api.berkeley.StringUtils
 
printThreadInfo(PrintWriter, String) - Static method in class org.canova.api.util.ReflectionUtils
Print all of the thread's information and stack traces.
printToFile(File, String, boolean) - Static method in class org.canova.api.berkeley.StringUtils
Prints to a file.
printToFile(File, String) - Static method in class org.canova.api.berkeley.StringUtils
Prints to a file.
printToFile(String, String, boolean) - Static method in class org.canova.api.berkeley.StringUtils
Prints to a file.
printToFile(String, String) - Static method in class org.canova.api.berkeley.StringUtils
Prints to a file.
PriorityQueue<E> - Class in org.canova.api.berkeley
A priority queue based on a binary heap.
PriorityQueue() - Constructor for class org.canova.api.berkeley.PriorityQueue
 
PriorityQueue(int) - Constructor for class org.canova.api.berkeley.PriorityQueue
 
PriorityQueueInterface<E> - Interface in org.canova.api.berkeley
 
probRound(double, Random) - Static method in class org.canova.api.util.MathUtils
Rounds a double to the next nearest integer value in a probabilistic fashion (e.g.
probToLogOdds(double) - Static method in class org.canova.api.util.MathUtils
Returns the log-odds for a given probability.
pruneKeysBelowThreshold(double) - Method in class org.canova.api.berkeley.Counter
 
put(E, double, boolean) - Method in class org.canova.api.berkeley.Counter
Set the count for the given key if it is larger than the previous one;
put(E, double) - Method in class org.canova.api.berkeley.PriorityQueue
 
put(E, double) - Method in interface org.canova.api.berkeley.PriorityQueueInterface
Adds a key to the queue with the given priority.
put(Pair<K, T>, V) - Method in class org.canova.api.util.MultiDimensionalMap
Associates the specified value with the specified key in this map (optional operation).
put(K, T, V) - Method in class org.canova.api.util.MultiDimensionalMap
 
putAll(Map<? extends Pair<K, T>, ? extends V>) - Method in class org.canova.api.util.MultiDimensionalMap
Copies all of the mappings from the specified map to this map (optional operation).

R

random - Variable in class org.canova.api.io.filters.RandomPathFilter
 
random - Variable in class org.canova.api.split.FileSplit
 
randomDoubleBetween(double, double) - Static method in class org.canova.api.util.MathUtils
 
randomFloatBetween(float, float) - Static method in class org.canova.api.util.MathUtils
 
randomize - Variable in class org.canova.api.split.FileSplit
 
randomNumberBetween(double, double) - Static method in class org.canova.api.util.MathUtils
Generates a random integer between the specified numbers
randomNumberBetween(double, double, RandomGenerator) - Static method in class org.canova.api.util.MathUtils
Generates a random integer between the specified numbers
RandomPathFilter - Class in org.canova.api.io.filters
 
RandomPathFilter(Random, String...) - Constructor for class org.canova.api.io.filters.RandomPathFilter
 
RandomPathFilter(Random, String[], int) - Constructor for class org.canova.api.io.filters.RandomPathFilter
 
RawComparator<T> - Interface in org.canova.api.io
A Comparator that operates directly on byte representations of objects.
readCompressedByteArray(DataInput) - Static method in class org.canova.api.io.WritableUtils
 
readCompressedString(DataInput) - Static method in class org.canova.api.io.WritableUtils
 
readCompressedStringArray(DataInput) - Static method in class org.canova.api.io.WritableUtils
 
readDouble(byte[], int) - Static method in class org.canova.api.io.WritableComparator
Parse a double from a byte array.
readDouble(byte[], int) - Static method in class org.canova.api.records.Utils
Parse a double from a byte array.
readEnum(DataInput, Class<T>) - Static method in class org.canova.api.io.WritableUtils
Read an Enum value from DataInput, Enums are read and written using String values.
readFields(DataInput) - Method in class org.canova.api.conf.Configuration
 
readFields(DataInput) - Method in class org.canova.api.formats.input.BaseInputFormat
 
readFields(DataInput) - Method in class org.canova.api.formats.input.impl.CSVInputFormat
 
readFields(DataInput) - Method in class org.canova.api.formats.input.impl.LineInputFormat
 
readFields(DataInput) - Method in class org.canova.api.io.data.BooleanWritable
 
readFields(DataInput) - Method in class org.canova.api.io.data.ByteWritable
 
readFields(DataInput) - Method in class org.canova.api.io.data.DoubleWritable
 
readFields(DataInput) - Method in class org.canova.api.io.data.FloatWritable
 
readFields(DataInput) - Method in class org.canova.api.io.data.IntWritable
 
readFields(DataInput) - Method in class org.canova.api.io.data.LongWritable
 
readFields(DataInput) - Method in class org.canova.api.io.data.NullWritable
 
readFields(DataInput) - Method in class org.canova.api.io.data.Text
deserialize
readFields(DataInput) - Method in class org.canova.api.split.CollectionInputSplit
 
readFields(DataInput) - Method in class org.canova.api.split.FileSplit
 
readFields(DataInput) - Method in class org.canova.api.split.InputStreamInputSplit
 
readFields(DataInput) - Method in class org.canova.api.split.NumberedFileInputSplit
 
readFields(DataInput) - Method in class org.canova.api.split.StringSplit
 
readFields(DataInput) - Method in interface org.canova.api.writable.Writable
Deserialize the fields of this object from in.
readFloat(byte[], int) - Static method in class org.canova.api.io.WritableComparator
Parse a float from a byte array.
readFloat(byte[], int) - Static method in class org.canova.api.records.Utils
Parse a float from a byte array.
readInt(byte[], int) - Static method in class org.canova.api.io.WritableComparator
Parse an integer from a byte array.
readLong(byte[], int) - Static method in class org.canova.api.io.WritableComparator
Parse a long from a byte array.
readString(DataInput) - Static method in class org.canova.api.io.data.Text
Read a UTF8 encoded string from in
readString(DataInput) - Static method in class org.canova.api.io.WritableUtils
 
readStringArray(DataInput) - Static method in class org.canova.api.io.WritableUtils
 
readUnsignedShort(byte[], int) - Static method in class org.canova.api.io.WritableComparator
Parse an unsigned short from a byte array.
readVInt(byte[], int) - Static method in class org.canova.api.io.WritableComparator
Reads a zero-compressed encoded integer from a byte array and returns it.
readVInt(DataInput) - Static method in class org.canova.api.io.WritableUtils
Reads a zero-compressed encoded integer from input stream and returns it.
readVInt(byte[], int) - Static method in class org.canova.api.records.Utils
Reads a zero-compressed encoded integer from a byte array and returns it.
readVInt(DataInput) - Static method in class org.canova.api.records.Utils
Reads a zero-compressed encoded integer from a stream and returns it.
readVLong(byte[], int) - Static method in class org.canova.api.io.WritableComparator
Reads a zero-compressed encoded long from a byte array and returns it.
readVLong(DataInput) - Static method in class org.canova.api.io.WritableUtils
Reads a zero-compressed encoded long from input stream and returns it.
readVLong(byte[], int) - Static method in class org.canova.api.records.Utils
Reads a zero-compressed encoded long from a byte array and returns it.
readVLong(DataInput) - Static method in class org.canova.api.records.Utils
Reads a zero-compressed encoded long from a stream and return it.
record(URI, DataInputStream) - Method in class org.canova.api.records.reader.impl.CollectionRecordReader
 
record(URI, DataInputStream) - Method in class org.canova.api.records.reader.impl.ComposableRecordReader
 
record(URI, DataInputStream) - Method in class org.canova.api.records.reader.impl.CSVRecordReader
 
record(URI, DataInputStream) - Method in class org.canova.api.records.reader.impl.FileRecordReader
 
record(URI, DataInputStream) - Method in class org.canova.api.records.reader.impl.jackson.JacksonRecordReader
 
record(URI, DataInputStream) - Method in class org.canova.api.records.reader.impl.LibSvmRecordReader
 
record(URI, DataInputStream) - Method in class org.canova.api.records.reader.impl.LineRecordReader
 
record(URI, DataInputStream) - Method in class org.canova.api.records.reader.impl.MatlabRecordReader
 
record(URI, DataInputStream) - Method in class org.canova.api.records.reader.impl.regex.RegexLineRecordReader
 
record(URI, DataInputStream) - Method in class org.canova.api.records.reader.impl.SVMLightRecordReader
 
record(URI, DataInputStream) - Method in interface org.canova.api.records.reader.RecordReader
Load the record from the given DataInputStream Unlike RecordReader.next() the internal state of the RecordReader is not modified Implementations of this method should not close the DataInputStream
RecordReader - Interface in org.canova.api.records.reader
Record reader
RecordReaderFactory - Interface in org.canova.api.records.reader.factory
Factory for creating RecordReader instance
RecordUtils - Class in org.canova.api.util
Create records from the specified input
RecordUtils() - Constructor for class org.canova.api.util.RecordUtils
 
RecordWriter - Interface in org.canova.api.records.writer
Record writer
RecordWriterFactory - Interface in org.canova.api.records.reader.factory
Factory for creating RecordWriter instance
recursive - Variable in class org.canova.api.split.FileSplit
 
ReflectionUtils - Class in org.canova.api.util
General reflection utils
ReflectionUtils() - Constructor for class org.canova.api.util.ReflectionUtils
 
RegexLineRecordReader - Class in org.canova.api.records.reader.impl.regex
RegexLineRecordReader: Read a file, one line at a time, and split it into fields using a regex.
RegexLineRecordReader(String, int) - Constructor for class org.canova.api.records.reader.impl.regex.RegexLineRecordReader
 
RegexSequenceRecordReader - Class in org.canova.api.records.reader.impl.regex
RegexSequenceRecordReader: Read an entire file (as a sequence), one line at a time and split each line into fields using a regex.
RegexSequenceRecordReader(String, int) - Constructor for class org.canova.api.records.reader.impl.regex.RegexSequenceRecordReader
 
RegexSequenceRecordReader(String, int, Charset, RegexSequenceRecordReader.LineErrorHandling) - Constructor for class org.canova.api.records.reader.impl.regex.RegexSequenceRecordReader
 
RegexSequenceRecordReader.LineErrorHandling - Enum in org.canova.api.records.reader.impl.regex
Error handling mode: How should invalid lines (i.e., those that don't match the provided regex) be handled?
FailOnInvalid: Throw an IllegalStateException when an invalid line is found
SkipInvalid: Skip invalid lines (quietly, with no warning)
SkipInvalidWithWarning: Skip invalid lines, but log a warning
relativeDifferance(double, double) - Static method in class org.canova.api.berkeley.SloppyMath
 
reloadConfiguration() - Method in class org.canova.api.conf.Configuration
Reload configuration from previously added resources.
remove() - Method in class org.canova.api.berkeley.Iterators.FilteredIterator
 
remove() - Method in class org.canova.api.berkeley.Iterators.IteratorIterator
 
remove() - Method in class org.canova.api.berkeley.Iterators.Transform
 
remove() - Method in class org.canova.api.berkeley.Iterators.TransformingIterator
 
remove() - Method in class org.canova.api.berkeley.PriorityQueue
 
remove() - Method in interface org.canova.api.berkeley.PriorityQueueInterface
Not supported -- next() already removes the head of the queue.
remove(Object) - Method in class org.canova.api.util.MultiDimensionalMap
Removes the mapping for a key from this map if it is present (optional operation).
remove(Object) - Method in class org.canova.api.util.MultiDimensionalSet
Removes the specified element from this applyTransformToDestination if it is present (optional operation).
removeAll(Collection<?>) - Method in class org.canova.api.util.MultiDimensionalSet
Removes from this applyTransformToDestination all of its elements that are contained in the specified collection (optional operation).
removeFirst() - Method in class org.canova.api.berkeley.PriorityQueue
 
removeKey(E) - Method in class org.canova.api.berkeley.Counter
 
removeKey(K) - Method in class org.canova.api.berkeley.CounterMap
 
removeKeyFromEntries(E) - Method in class org.canova.api.berkeley.Counter
 
reset(byte[], int) - Method in class org.canova.api.io.DataInputBuffer
Resets the data that the buffer reads.
reset(byte[], int, int) - Method in class org.canova.api.io.DataInputBuffer
Resets the data that the buffer reads.
reset() - Method in class org.canova.api.io.DataOutputBuffer
Resets the buffer to empty.
reset() - Method in class org.canova.api.records.Buffer
Reset the buffer to 0 size
reset() - Method in class org.canova.api.records.reader.impl.CollectionRecordReader
 
reset() - Method in class org.canova.api.records.reader.impl.ComposableRecordReader
 
reset() - Method in class org.canova.api.records.reader.impl.FileRecordReader
 
reset() - Method in class org.canova.api.records.reader.impl.jackson.JacksonRecordReader
 
reset() - Method in class org.canova.api.records.reader.impl.LineRecordReader
 
reset() - Method in class org.canova.api.records.reader.impl.regex.RegexLineRecordReader
 
reset() - Method in class org.canova.api.records.reader.impl.regex.RegexSequenceRecordReader
 
reset() - Method in interface org.canova.api.records.reader.RecordReader
Reset record reader iterator
retainAll(Collection<?>) - Method in class org.canova.api.util.MultiDimensionalSet
Retains only the elements in this applyTransformToDestination that are contained in the specified collection (optional operation).
reverse() - Method in class org.canova.api.berkeley.Pair
 
ReverseFirstComparator() - Constructor for class org.canova.api.berkeley.Pair.ReverseFirstComparator
 
ReverseSecondComparator() - Constructor for class org.canova.api.berkeley.Pair.ReverseSecondComparator
 
rightChild(int) - Method in class org.canova.api.berkeley.PriorityQueue
 
rootDir - Variable in class org.canova.api.split.FileSplit
 
rootMeansSquaredError(double[], double[]) - Static method in class org.canova.api.util.MathUtils
This returns the root mean squared error of two data sets
round(double) - Static method in class org.canova.api.util.MathUtils
Rounds a double to the next nearest integer value.
roundDouble(double, int) - Static method in class org.canova.api.util.MathUtils
Rounds a double to the given number of decimal places.
roundFloat(float, int) - Static method in class org.canova.api.util.MathUtils
Rounds a double to the given number of decimal places.

S

sample(Random) - Method in class org.canova.api.berkeley.Counter
Will return a sample from the counter, will throw exception if any of the counts are < 0.0 or if the totalCount() <= 0.0
sample() - Method in class org.canova.api.berkeley.Counter
Will return a sample from the counter, will throw exception if any of the counts are < 0.0 or if the totalCount() <= 0.0
sample(PathFilter, double...) - Method in class org.canova.api.split.BaseInputSplit
 
sampleDoublesInInterval(double[][], int) - Static method in class org.canova.api.util.MathUtils
 
scale(double) - Method in class org.canova.api.berkeley.Counter
 
scale(double) - Method in class org.canova.api.berkeley.CounterMap
Scale all entries in CounterMap by scaleFactor
scaledClone(double) - Method in class org.canova.api.berkeley.Counter
 
SecondComparator() - Constructor for class org.canova.api.berkeley.Pair.SecondComparator
 
SelfWritableConverter - Class in org.canova.api.io.converters
Baseline writable converter
SelfWritableConverter() - Constructor for class org.canova.api.io.converters.SelfWritableConverter
 
sequenceRecord(URI, DataInputStream) - Method in class org.canova.api.records.reader.impl.CSVSequenceRecordReader
 
sequenceRecord() - Method in class org.canova.api.records.reader.impl.CSVSequenceRecordReader
 
sequenceRecord() - Method in class org.canova.api.records.reader.impl.regex.RegexSequenceRecordReader
 
sequenceRecord(URI, DataInputStream) - Method in class org.canova.api.records.reader.impl.regex.RegexSequenceRecordReader
 
sequenceRecord() - Method in interface org.canova.api.records.reader.SequenceRecordReader
Returns a sequence record`
sequenceRecord(URI, DataInputStream) - Method in interface org.canova.api.records.reader.SequenceRecordReader
Load a sequence record from the given DataInputStream Unlike RecordReader.next() the internal state of the RecordReader is not modified Implementations of this method should not close the DataInputStream
SequenceRecordReader - Interface in org.canova.api.records.reader
A sequence of records.
Serialization<T> - Interface in org.canova.api.io.serializers
Encapsulates a Serializer/Deserializer pair.
SerializationFactory - Class in org.canova.api.io.serializers
A factory for Serializations.
SerializationFactory(Configuration) - Constructor for class org.canova.api.io.serializers.SerializationFactory
Serializations are found by reading the io.serializations property from conf, which is a comma-delimited list of classnames.
serialize(T) - Method in interface org.canova.api.io.serializers.Serializer
Serialize t to the underlying output stream.
Serializer<T> - Interface in org.canova.api.io.serializers
Provides a facility for serializing objects of type to an OutputStream.
set(String, String) - Method in class org.canova.api.conf.Configuration
Set the value of the name property.
set(boolean) - Method in class org.canova.api.io.data.BooleanWritable
Set the value of the BooleanWritable
set(byte) - Method in class org.canova.api.io.data.ByteWritable
Set the value of this ByteWritable.
set(double) - Method in class org.canova.api.io.data.DoubleWritable
 
set(float) - Method in class org.canova.api.io.data.FloatWritable
Set the value of this FloatWritable.
set(int) - Method in class org.canova.api.io.data.IntWritable
Set the value of this IntWritable.
set(long) - Method in class org.canova.api.io.data.LongWritable
Set the value of this LongWritable.
set(String) - Method in class org.canova.api.io.data.Text
Set to contain the contents of a string.
set(byte[]) - Method in class org.canova.api.io.data.Text
Set to a utf8 byte array
set(Text) - Method in class org.canova.api.io.data.Text
copy a text.
set(byte[], int, int) - Method in class org.canova.api.io.data.Text
Set the Text to range of bytes
set(byte[]) - Method in class org.canova.api.records.Buffer
Use the specified bytes array as underlying sequence.
setAllCounts(double) - Method in class org.canova.api.berkeley.Counter
Sets all counts to the given value, but does not remove any keys
setBoolean(String, boolean) - Method in class org.canova.api.conf.Configuration
Set the value of the name property to a boolean.
setBooleanIfUnset(String, boolean) - Method in class org.canova.api.conf.Configuration
Set the given property, if it is currently unset.
setCapacity(int) - Method in class org.canova.api.records.Buffer
Change the capacity of the backing storage.
setClass(String, Class<?>, Class<?>) - Method in class org.canova.api.conf.Configuration
Set the value of the name property to the name of a theClass implementing the given interface xface.
setClassLoader(ClassLoader) - Method in class org.canova.api.conf.Configuration
Set the class loader that will be used to load the various objects.
setConf(Configuration) - Method in interface org.canova.api.conf.Configurable
Set the configuration to be used by this object.
setConf(Configuration) - Method in class org.canova.api.conf.Configured
 
setConf(Configuration) - Method in class org.canova.api.records.reader.impl.CollectionRecordReader
 
setConf(Configuration) - Method in class org.canova.api.records.reader.impl.ComposableRecordReader
 
setConf(Configuration) - Method in class org.canova.api.records.reader.impl.FileRecordReader
 
setConf(Configuration) - Method in class org.canova.api.records.reader.impl.jackson.JacksonRecordReader
 
setConf(Configuration) - Method in class org.canova.api.records.reader.impl.LibSvmRecordReader
 
setConf(Configuration) - Method in class org.canova.api.records.reader.impl.LineRecordReader
 
setConf(Configuration) - Method in class org.canova.api.records.reader.impl.SVMLightRecordReader
 
setConf(Configuration) - Method in class org.canova.api.records.writer.impl.FileRecordWriter
 
setConf(Object, Configuration) - Static method in class org.canova.api.util.ReflectionUtils
Check and set 'configuration' if necessary.
setContentionTracing(boolean) - Static method in class org.canova.api.util.ReflectionUtils
 
setCount(E, double) - Method in class org.canova.api.berkeley.Counter
Set the count for the given key, clobbering any previous count.
setCount(K, V, double) - Method in class org.canova.api.berkeley.CounterMap
Sets the count for a particular (key, value) pair.
setCounter(K, Counter<V>) - Method in class org.canova.api.berkeley.CounterMap
 
setDefault(double) - Method in class org.canova.api.berkeley.CounterMap
 
setDeflt(double) - Method in class org.canova.api.berkeley.Counter
 
setDirty(boolean) - Method in class org.canova.api.berkeley.Counter
 
setFirst(F) - Method in class org.canova.api.berkeley.Pair
 
setFirst(S) - Method in class org.canova.api.berkeley.Triple
 
setFirstKey(K) - Method in class org.canova.api.util.MultiDimensionalMap.Entry
 
setFloat(String, float) - Method in class org.canova.api.conf.Configuration
Set the value of the name property to a float.
setIfUnset(String, String) - Method in class org.canova.api.conf.Configuration
Sets a property if it is currently unset.
setInt(String, int) - Method in class org.canova.api.conf.Configuration
Set the value of the name property to an int.
setIs(InputStream) - Method in class org.canova.api.split.InputStreamInputSplit
 
setLabels(List<String>) - Method in class org.canova.api.records.reader.impl.FileRecordReader
 
setLong(String, long) - Method in class org.canova.api.conf.Configuration
Set the value of the name property to a long.
setMaxCount(E, double) - Method in class org.canova.api.berkeley.Counter
Set's the key's count to the maximum of the current count and val.
setMinCount(E, double) - Method in class org.canova.api.berkeley.Counter
Set's the key's count to the minimum of the current count and val.
setPattern(String, Pattern) - Method in class org.canova.api.conf.Configuration
Set the given property to Pattern.
setQuietMode(boolean) - Method in class org.canova.api.conf.Configuration
Set the quietness-mode.
setSecond(S) - Method in class org.canova.api.berkeley.Pair
 
setSecond(T) - Method in class org.canova.api.berkeley.Triple
 
setSecondKey(T) - Method in class org.canova.api.util.MultiDimensionalMap.Entry
 
setStrings(String, String...) - Method in class org.canova.api.conf.Configuration
Set the array of string values for the name property as as comma delimited values.
setThird(U) - Method in class org.canova.api.berkeley.Triple
 
SetUtils - Class in org.canova.api.util
 
setValue(V) - Method in class org.canova.api.util.MultiDimensionalMap.Entry
Replaces the value corresponding to this entry with the specified value (optional operation).
sigmoid(double) - Static method in class org.canova.api.util.MathUtils
1 / 1 + exp(-x)
simpleHostname(String) - Static method in class org.canova.api.util.StringUtils
Given a full hostname, return the word upto the first dot.
size() - Method in class org.canova.api.berkeley.Counter
The number of entries in the counter (not the total count -- use totalCount() instead).
size() - Method in class org.canova.api.berkeley.CounterMap
The number of keys in this CounterMap (not the number of key-value entries -- use totalSize() for that)
size() - Method in class org.canova.api.berkeley.PriorityQueue
 
size() - Method in interface org.canova.api.berkeley.PriorityQueueInterface
Number of elements in the queue.
size() - Method in class org.canova.api.conf.Configuration
Return the number of keys in the configuration.
size() - Method in class org.canova.api.util.Index
 
size() - Method in class org.canova.api.util.MultiDimensionalMap
Returns the number of key-value mappings in this map.
size() - Method in class org.canova.api.util.MultiDimensionalSet
Returns the number of elements in this applyTransformToDestination (its cardinality).
skip(DataInput) - Static method in class org.canova.api.io.data.Text
Skips over one Text in the input.
SKIP_NUM_LINES - Static variable in class org.canova.api.records.reader.impl.CSVRecordReader
 
SKIP_NUM_LINES - Static variable in class org.canova.api.records.reader.impl.regex.RegexLineRecordReader
 
SKIP_NUM_LINES - Static variable in class org.canova.api.records.reader.impl.regex.RegexSequenceRecordReader
 
skipCompressedByteArray(DataInput) - Static method in class org.canova.api.io.WritableUtils
 
skipFully(DataInput, int) - Static method in class org.canova.api.io.WritableUtils
Skip len number of bytes in input streamin
slope(double, double, double, double) - Method in class org.canova.api.util.MathUtils
This returns the slope of the given points.
SloppyMath - Class in org.canova.api.berkeley
The class SloppyMath contains methods for performing basic numeric operations.
SloppyMath() - Constructor for class org.canova.api.berkeley.SloppyMath
 
slurpFile(File) - Static method in class org.canova.api.berkeley.StringUtils
Returns all the text in the given File.
slurpFile(String, String) - Static method in class org.canova.api.berkeley.StringUtils
Returns all the text in the given file with the given encoding.
slurpFile(String) - Static method in class org.canova.api.berkeley.StringUtils
Returns all the text in the given file
slurpFileNoExceptions(String, String) - Static method in class org.canova.api.berkeley.StringUtils
Returns all the text in the given file with the given encoding.
slurpFileNoExceptions(File) - Static method in class org.canova.api.berkeley.StringUtils
Returns all the text in the given File.
slurpFileNoExceptions(String) - Static method in class org.canova.api.berkeley.StringUtils
Returns all the text in the given File.
slurpGBFile(String) - Static method in class org.canova.api.berkeley.StringUtils
 
slurpGBFileNoExceptions(String) - Static method in class org.canova.api.berkeley.StringUtils
 
slurpGBURL(URL) - Static method in class org.canova.api.berkeley.StringUtils
Returns all the text at the given URL.
slurpGBURLNoExceptions(URL) - Static method in class org.canova.api.berkeley.StringUtils
Returns all the text at the given URL.
slurpReader(Reader) - Static method in class org.canova.api.berkeley.StringUtils
Returns all the text from the given Reader.
slurpURL(URL, String) - Static method in class org.canova.api.berkeley.StringUtils
Returns all the text at the given URL.
slurpURL(URL) - Static method in class org.canova.api.berkeley.StringUtils
Returns all the text at the given URL.
slurpURL(String) - Static method in class org.canova.api.berkeley.StringUtils
Returns all the text at the given URL.
slurpURLNoExceptions(URL, String) - Static method in class org.canova.api.berkeley.StringUtils
Returns all the text at the given URL.
slurpURLNoExceptions(URL) - Static method in class org.canova.api.berkeley.StringUtils
Returns all the text at the given URL.
slurpURLNoExceptions(String) - Static method in class org.canova.api.berkeley.StringUtils
Returns all the text at the given URL.
sm(double, double) - Static method in class org.canova.api.util.MathUtils
Tests if a is smaller than b.
SMALL - Static variable in class org.canova.api.util.MathUtils
The small deviation allowed in double comparisons.
split(String) - Static method in class org.canova.api.berkeley.StringUtils
Splits on whitespace (\\s+).
split(String, String) - Static method in class org.canova.api.berkeley.StringUtils
Splits the given string using the given regex as delimiters.
split(String) - Static method in class org.canova.api.util.StringUtils
Split a string using the default separator
split(String, char, char) - Static method in class org.canova.api.util.StringUtils
Split a string using the given separator
splitOnCharWithQuoting(String, char, char, char) - Static method in class org.canova.api.berkeley.StringUtils
This function splits the String s into multiple Strings using the splitChar.
squaredLoss(double[], double[], double, double) - Static method in class org.canova.api.util.MathUtils
This will return the squared loss of the given points
ssError(double[], double[]) - Static method in class org.canova.api.util.MathUtils
How much of the variance is NOT explained by the regression
ssReg(double[], double[]) - Static method in class org.canova.api.util.MathUtils
How much of the variance is explained by the regression
ssTotal(double[], double[]) - Static method in class org.canova.api.util.MathUtils
Total variance in target attribute
string2long(String) - Static method in enum org.canova.api.util.StringUtils.TraditionalBinaryPrefix
Convert a string to long.
stringifyException(Throwable) - Static method in class org.canova.api.util.StringUtils
Make a string representation of the exception.
stringSimilarity(String...) - Static method in class org.canova.api.util.MathUtils
Calculate string similarity with tfidf weights relative to each character frequency and how many times a character appears in a given string
StringSplit - Class in org.canova.api.split
String split used for single line inputs
StringSplit(String) - Constructor for class org.canova.api.split.StringSplit
 
stringToProperties(String) - Static method in class org.canova.api.berkeley.StringUtils
This method converts a comma-separated String (with whitespace optionally allowed after the comma) representing properties to a Properties object.
stringToURI(String[]) - Static method in class org.canova.api.util.StringUtils
 
StringUtils - Class in org.canova.api.berkeley
StringUtils is a class for random String things.
StringUtils - Class in org.canova.api.util
General string utils
StringUtils() - Constructor for class org.canova.api.util.StringUtils
 
StringUtils.TraditionalBinaryPrefix - Enum in org.canova.api.util
The traditional binary prefixes, kilo, mega, ..., exa, which can be represented by a 64-bit integer.
stripNonAlphaNumerics(String) - Static method in class org.canova.api.berkeley.StringUtils
 
sum(double[]) - Static method in class org.canova.api.util.MathUtils
This returns the sum of the given array.
sumOfMeanDifferences(double[], double[]) - Static method in class org.canova.api.util.MathUtils
Used for calculating top part of simple regression for beta 1
sumOfMeanDifferencesOnePoint(double[]) - Static method in class org.canova.api.util.MathUtils
Used for calculating top part of simple regression for beta 1
sumOfProducts(double[]...) - Static method in class org.canova.api.util.MathUtils
This returns the sum of products for the given numbers.
sumOfSquares(double[]) - Static method in class org.canova.api.util.MathUtils
This returns the sum of squares for the given vector.
SVMLightInputFormat - Class in org.canova.api.formats.input.impl
SVMLight input format
SVMLightInputFormat() - Constructor for class org.canova.api.formats.input.impl.SVMLightInputFormat
 
SVMLightOutputFormat - Class in org.canova.api.formats.output.impl
Created by agibsonccc on 1/11/15.
SVMLightOutputFormat() - Constructor for class org.canova.api.formats.output.impl.SVMLightOutputFormat
 
SVMLightRecordReader - Class in org.canova.api.records.reader.impl
Adapted from the weka svmlight reader June 2015 - adapted to understand HDFS-style block splits
SVMLightRecordReader() - Constructor for class org.canova.api.records.reader.impl.SVMLightRecordReader
 
SVMLightRecordWriter - Class in org.canova.api.records.writer.impl
SVM Light Record Writer
SVMLightRecordWriter() - Constructor for class org.canova.api.records.writer.impl.SVMLightRecordWriter
 
SVMLightRecordWriter(File) - Constructor for class org.canova.api.records.writer.impl.SVMLightRecordWriter
 
SVMLightRecordWriter(File, boolean) - Constructor for class org.canova.api.records.writer.impl.SVMLightRecordWriter
 
SVMLightRecordWriter(Configuration) - Constructor for class org.canova.api.records.writer.impl.SVMLightRecordWriter
 
swap(int, int) - Method in class org.canova.api.berkeley.PriorityQueue
 
symbol - Variable in enum org.canova.api.util.StringUtils.TraditionalBinaryPrefix
 

T

Text - Class in org.canova.api.io.data
This class stores text using standard UTF8 encoding.
Text() - Constructor for class org.canova.api.io.data.Text
 
Text(String) - Constructor for class org.canova.api.io.data.Text
Construct from a string.
Text(Text) - Constructor for class org.canova.api.io.data.Text
Construct from another text.
Text(byte[]) - Constructor for class org.canova.api.io.data.Text
Construct from a byte array.
Text.Comparator - Class in org.canova.api.io.data
A WritableComparator optimized for Text keys.
tf(int) - Static method in class org.canova.api.util.MathUtils
Term frequency: 1+ log10(count)
tfidf(double, double) - Static method in class org.canova.api.util.MathUtils
Return td * idf
thread(Iterator<T>) - Static method in class org.canova.api.berkeley.Iterators
Executes calls to next() in a different thread
times(double[]) - Static method in class org.canova.api.util.MathUtils
This returns the product of all numbers in the given array.
toArray() - Method in class org.canova.api.util.MultiDimensionalSet
Returns an array containing all of the elements in this applyTransformToDestination.
toArray(T[]) - Method in class org.canova.api.util.MultiDimensionalSet
Returns an array containing all of the elements in this applyTransformToDestination; the runtime type of the returned array is that of the specified array.
toByteArray(Writable...) - Static method in class org.canova.api.io.WritableUtils
Convert writables to a byte array
toDecimal(String) - Static method in class org.canova.api.util.MathUtils
This will convert the given binary string to a decimal based integer
toDouble() - Method in class org.canova.api.conf.Configuration
 
toDouble() - Method in class org.canova.api.formats.input.BaseInputFormat
 
toDouble() - Method in class org.canova.api.io.data.BooleanWritable
 
toDouble() - Method in class org.canova.api.io.data.ByteWritable
 
toDouble() - Method in class org.canova.api.io.data.DoubleWritable
 
toDouble() - Method in class org.canova.api.io.data.FloatWritable
 
toDouble() - Method in class org.canova.api.io.data.IntWritable
 
toDouble() - Method in class org.canova.api.io.data.LongWritable
 
toDouble() - Method in class org.canova.api.io.data.NullWritable
 
toDouble() - Method in class org.canova.api.io.data.Text
 
toDouble() - Method in class org.canova.api.split.BaseInputSplit
 
toDouble() - Method in class org.canova.api.split.CollectionInputSplit
 
toDouble() - Method in class org.canova.api.split.InputStreamInputSplit
 
toDouble() - Method in class org.canova.api.split.NumberedFileInputSplit
 
toDouble() - Method in class org.canova.api.split.StringSplit
 
toDouble() - Method in class org.canova.api.writable.ArrayWritable
 
toDouble() - Method in interface org.canova.api.writable.Writable
Convert Writable to double.
toFloat() - Method in class org.canova.api.conf.Configuration
 
toFloat() - Method in class org.canova.api.formats.input.BaseInputFormat
 
toFloat() - Method in class org.canova.api.io.data.BooleanWritable
 
toFloat() - Method in class org.canova.api.io.data.ByteWritable
 
toFloat() - Method in class org.canova.api.io.data.DoubleWritable
 
toFloat() - Method in class org.canova.api.io.data.FloatWritable
 
toFloat() - Method in class org.canova.api.io.data.IntWritable
 
toFloat() - Method in class org.canova.api.io.data.LongWritable
 
toFloat() - Method in class org.canova.api.io.data.NullWritable
 
toFloat() - Method in class org.canova.api.io.data.Text
 
toFloat() - Method in class org.canova.api.split.BaseInputSplit
 
toFloat() - Method in class org.canova.api.split.CollectionInputSplit
 
toFloat() - Method in class org.canova.api.split.InputStreamInputSplit
 
toFloat() - Method in class org.canova.api.split.NumberedFileInputSplit
 
toFloat() - Method in class org.canova.api.split.StringSplit
 
toFloat() - Method in class org.canova.api.writable.ArrayWritable
 
toFloat() - Method in interface org.canova.api.writable.Writable
Convert Writable to float.
toInt() - Method in class org.canova.api.conf.Configuration
 
toInt() - Method in class org.canova.api.formats.input.BaseInputFormat
 
toInt() - Method in class org.canova.api.io.data.BooleanWritable
 
toInt() - Method in class org.canova.api.io.data.ByteWritable
 
toInt() - Method in class org.canova.api.io.data.DoubleWritable
 
toInt() - Method in class org.canova.api.io.data.FloatWritable
 
toInt() - Method in class org.canova.api.io.data.IntWritable
 
toInt() - Method in class org.canova.api.io.data.LongWritable
 
toInt() - Method in class org.canova.api.io.data.NullWritable
 
toInt() - Method in class org.canova.api.io.data.Text
 
toInt() - Method in class org.canova.api.split.BaseInputSplit
 
toInt() - Method in class org.canova.api.split.CollectionInputSplit
 
toInt() - Method in class org.canova.api.split.InputStreamInputSplit
 
toInt() - Method in class org.canova.api.split.NumberedFileInputSplit
 
toInt() - Method in class org.canova.api.split.StringSplit
 
toInt() - Method in class org.canova.api.writable.ArrayWritable
 
toInt() - Method in interface org.canova.api.writable.Writable
Convert Writable to int.
toLogSpace() - Method in class org.canova.api.berkeley.Counter
 
toLong() - Method in class org.canova.api.conf.Configuration
 
toLong() - Method in class org.canova.api.formats.input.BaseInputFormat
 
toLong() - Method in class org.canova.api.io.data.BooleanWritable
 
toLong() - Method in class org.canova.api.io.data.ByteWritable
 
toLong() - Method in class org.canova.api.io.data.DoubleWritable
 
toLong() - Method in class org.canova.api.io.data.FloatWritable
 
toLong() - Method in class org.canova.api.io.data.IntWritable
 
toLong() - Method in class org.canova.api.io.data.LongWritable
 
toLong() - Method in class org.canova.api.io.data.NullWritable
 
toLong() - Method in class org.canova.api.io.data.Text
 
toLong() - Method in class org.canova.api.split.BaseInputSplit
 
toLong() - Method in class org.canova.api.split.CollectionInputSplit
 
toLong() - Method in class org.canova.api.split.InputStreamInputSplit
 
toLong() - Method in class org.canova.api.split.NumberedFileInputSplit
 
toLong() - Method in class org.canova.api.split.StringSplit
 
toLong() - Method in class org.canova.api.writable.ArrayWritable
 
toLong() - Method in interface org.canova.api.writable.Writable
Convert Writable to long.
toRecord(double[]) - Static method in class org.canova.api.util.RecordUtils
 
toRecord(float[]) - Static method in class org.canova.api.util.RecordUtils
 
toString() - Method in class org.canova.api.berkeley.Counter
Returns a string representation with the keys ordered by decreasing counts.
toString(int) - Method in class org.canova.api.berkeley.Counter
Returns a string representation which includes no more than the maxKeysToPrint elements with largest counts.
toString(int, boolean) - Method in class org.canova.api.berkeley.Counter
Returns a string representation which includes no more than the maxKeysToPrint elements with largest counts and optionally prints one element per line.
toString(int) - Method in class org.canova.api.berkeley.CounterMap
 
toString() - Method in class org.canova.api.berkeley.CounterMap
 
toString(Collection<String>) - Method in class org.canova.api.berkeley.CounterMap
 
toString() - Method in class org.canova.api.berkeley.Pair
 
toString() - Method in class org.canova.api.berkeley.PriorityQueue
Returns a representation of the queue in decreasing priority order.
toString(int, boolean) - Method in class org.canova.api.berkeley.PriorityQueue
Returns a representation of the queue in decreasing priority order, displaying at most maxKeysToPrint elements and optionally printing one element per line.
toString() - Method in class org.canova.api.berkeley.Triple
 
toString() - Method in class org.canova.api.conf.Configuration.IntegerRanges
 
toString() - Method in class org.canova.api.conf.Configuration
 
toString() - Method in class org.canova.api.io.data.BooleanWritable
 
toString() - Method in class org.canova.api.io.data.ByteWritable
 
toString() - Method in class org.canova.api.io.data.DoubleWritable
 
toString() - Method in class org.canova.api.io.data.FloatWritable
 
toString() - Method in class org.canova.api.io.data.IntWritable
 
toString() - Method in class org.canova.api.io.data.LongWritable
 
toString() - Method in class org.canova.api.io.data.NullWritable
 
toString() - Method in class org.canova.api.io.data.Text
Convert text back to string
toString() - Method in class org.canova.api.records.Buffer
 
toString(String) - Method in class org.canova.api.records.Buffer
Convert the byte buffer to a string an specific character encoding
toString() - Method in class org.canova.api.util.Index
 
toString() - Method in class org.canova.api.util.MultiDimensionalMap
 
toStringSortedByKeys() - Method in class org.canova.api.berkeley.Counter
 
toStringTabSeparated() - Method in class org.canova.api.berkeley.Counter
 
totalCount() - Method in class org.canova.api.berkeley.Counter
Finds the total of all counts in the counter.
totalCount() - Method in class org.canova.api.berkeley.CounterMap
Returns the total of all counts in sub-counters.
totalNumExamples - Variable in class org.canova.api.split.LimitFileSplit
 
totalSize() - Method in class org.canova.api.berkeley.CounterMap
Returns the total number of (key, value) entries in the CounterMap (not their total counts).
Transform(Iterator<S>) - Constructor for class org.canova.api.berkeley.Iterators.Transform
 
transform(S) - Method in class org.canova.api.berkeley.Iterators.Transform
 
transform(Collection<Writable>) - Method in interface org.canova.api.vector.Vectorizer
Transform a record in to a vector
TransformingIterator(Iterator<I>, MyMethod<I, O>) - Constructor for class org.canova.api.berkeley.Iterators.TransformingIterator
 
TreeMapFactory() - Constructor for class org.canova.api.berkeley.MapFactory.TreeMapFactory
 
treeSet() - Static method in class org.canova.api.util.MultiDimensionalSet
 
trim(String, int) - Static method in class org.canova.api.berkeley.StringUtils
Returns s if it's at most maxWidth chars, otherwise chops right side to fit.
trim(Object, int) - Static method in class org.canova.api.berkeley.StringUtils
 
Triple<S,T,U> - Class in org.canova.api.berkeley
 
Triple(S, T, U) - Constructor for class org.canova.api.berkeley.Triple
 
truncate(int, int, int) - Static method in class org.canova.api.berkeley.StringUtils
This returns a string from decimal digit smallestDigit to decimal digit biggest digit.
truncate() - Method in class org.canova.api.records.Buffer
Change the capacity of the backing store to be the same as the current count of buffer.

U

unEscapeString(String) - Static method in class org.canova.api.util.StringUtils
Unescape commas in the string using the default escape char
unEscapeString(String, char, char) - Static method in class org.canova.api.util.StringUtils
Unescape charToEscape in the string with the escape char escapeChar
unEscapeString(String, char, char[]) - Static method in class org.canova.api.util.StringUtils
 
uniform(Random, double, double) - Static method in class org.canova.api.util.MathUtils
Generate a uniform random number from the given rng
union(Set<? extends T>, Set<? extends T>) - Static method in class org.canova.api.util.SetUtils
 
UnknownFormatException - Exception in org.canova.api.exceptions
 
UnknownFormatException() - Constructor for exception org.canova.api.exceptions.UnknownFormatException
 
UnknownFormatException(String) - Constructor for exception org.canova.api.exceptions.UnknownFormatException
 
UnknownFormatException(String, Throwable) - Constructor for exception org.canova.api.exceptions.UnknownFormatException
 
UnknownFormatException(Throwable) - Constructor for exception org.canova.api.exceptions.UnknownFormatException
 
UnknownFormatException(String, Throwable, boolean, boolean) - Constructor for exception org.canova.api.exceptions.UnknownFormatException
 
unsafeAdd(double, double) - Static method in class org.canova.api.berkeley.SloppyMath
 
unsafeSubtract(double, double) - Static method in class org.canova.api.berkeley.SloppyMath
 
unzipFileTo(String, String) - Static method in class org.canova.api.util.ArchiveUtils
Extracts files to the specified destination
uriToString(URI[]) - Static method in class org.canova.api.util.StringUtils
 
utf8Length(String) - Static method in class org.canova.api.io.data.Text
For the given string, returns the number of UTF-8 bytes required to encode the string.
Utils - Class in org.canova.api.records
Various utility functions for Hadooop record I/O runtime.

V

validateUTF8(byte[]) - Static method in class org.canova.api.io.data.Text
Check if a byte array contains valid utf-8
validateUTF8(byte[], int, int) - Static method in class org.canova.api.io.data.Text
Check to see if a byte array is valid utf-8
value - Variable in enum org.canova.api.util.StringUtils.TraditionalBinaryPrefix
 
valueOf(String) - Static method in enum org.canova.api.records.reader.impl.regex.RegexSequenceRecordReader.LineErrorHandling
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.canova.api.util.StringUtils.TraditionalBinaryPrefix
Returns the enum constant of this type with the specified name.
valueOf(char) - Static method in enum org.canova.api.util.StringUtils.TraditionalBinaryPrefix
 
values() - Static method in enum org.canova.api.records.reader.impl.regex.RegexSequenceRecordReader.LineErrorHandling
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.canova.api.util.MultiDimensionalMap
Returns a Collection view of the values contained in this map.
values() - Static method in enum org.canova.api.util.StringUtils.TraditionalBinaryPrefix
Returns an array containing the constants of this enum type, in the order they are declared.
Vectorizer<VECTOR_TYPE> - Interface in org.canova.api.vector
Vectorizer of a particular type.
Vectorizer.RecordCallBack - Interface in org.canova.api.vector
On record call back.
vectorLength(double[]) - Static method in class org.canova.api.util.MathUtils
Returns the vector length (sqrt(sum(x_i))

W

w_0(double[], double[], int) - Static method in class org.canova.api.util.MathUtils
 
w_1(double[], double[], int) - Static method in class org.canova.api.util.MathUtils
 
WeakHashMapFactory() - Constructor for class org.canova.api.berkeley.MapFactory.WeakHashMapFactory
 
weightsFor(List<Double>) - Static method in class org.canova.api.util.MathUtils
This returns the minimized loss values for a given vector.
weightsFor(double[]) - Static method in class org.canova.api.util.MathUtils
This returns the minimized loss values for a given vector.
Writable - Interface in org.canova.api.writable
A serializable object which implements a simple, efficient, serialization protocol, based on DataInput and DataOutput.
WritableComparable<T> - Interface in org.canova.api.io
A Writable which is also Comparable.
WritableComparator - Class in org.canova.api.io
A Comparator for WritableComparables.
WritableComparator(Class<? extends WritableComparable>) - Constructor for class org.canova.api.io.WritableComparator
Construct for a WritableComparable implementation.
WritableComparator(Class<? extends WritableComparable>, boolean) - Constructor for class org.canova.api.io.WritableComparator
 
WritableConverter - Interface in org.canova.api.io
Convert a writable to another writable (used for say: transitioning dates or categorical to numbers)
WritableConverterException - Exception in org.canova.api.io.converters
Writable converter exception represents an error for being unable to convert a writable
WritableConverterException() - Constructor for exception org.canova.api.io.converters.WritableConverterException
 
WritableConverterException(String) - Constructor for exception org.canova.api.io.converters.WritableConverterException
 
WritableConverterException(String, Throwable) - Constructor for exception org.canova.api.io.converters.WritableConverterException
 
WritableConverterException(Throwable) - Constructor for exception org.canova.api.io.converters.WritableConverterException
 
WritableConverterException(String, Throwable, boolean, boolean) - Constructor for exception org.canova.api.io.converters.WritableConverterException
 
Writables - Class in org.canova.api.writable
Util class for writable conversions
Writables() - Constructor for class org.canova.api.writable.Writables
 
writables(Collection<String>) - Static method in class org.canova.api.writable.Writables
 
WritableUtils - Class in org.canova.api.io
 
WritableUtils() - Constructor for class org.canova.api.io.WritableUtils
 
write(DataOutput) - Method in class org.canova.api.conf.Configuration
 
write(DataOutput) - Method in class org.canova.api.formats.input.BaseInputFormat
 
write(DataOutput) - Method in class org.canova.api.formats.input.impl.CSVInputFormat
 
write(DataOutput) - Method in class org.canova.api.formats.input.impl.LineInputFormat
 
write(DataOutput) - Method in class org.canova.api.io.data.BooleanWritable
 
write(DataOutput) - Method in class org.canova.api.io.data.ByteWritable
 
write(DataOutput) - Method in class org.canova.api.io.data.DoubleWritable
 
write(DataOutput) - Method in class org.canova.api.io.data.FloatWritable
 
write(DataOutput) - Method in class org.canova.api.io.data.IntWritable
 
write(DataOutput) - Method in class org.canova.api.io.data.LongWritable
 
write(DataOutput) - Method in class org.canova.api.io.data.NullWritable
 
write(DataOutput) - Method in class org.canova.api.io.data.Text
serialize write this object to out length uses zero-compressed encoding
write(DataInput, int) - Method in class org.canova.api.io.DataOutputBuffer
Writes bytes from a DataInput directly into the buffer.
write(Collection<Writable>) - Method in class org.canova.api.records.writer.impl.CSVRecordWriter
 
write(Collection<Writable>) - Method in class org.canova.api.records.writer.impl.FileRecordWriter
 
write(Collection<Writable>) - Method in class org.canova.api.records.writer.impl.LibSvmRecordWriter
 
write(Collection<Writable>) - Method in class org.canova.api.records.writer.impl.LineRecordWriter
 
write(Collection<Writable>) - Method in class org.canova.api.records.writer.impl.MatlabRecordWriter
 
write(Collection<Writable>) - Method in class org.canova.api.records.writer.impl.SVMLightRecordWriter
 
write(Collection<Writable>) - Method in interface org.canova.api.records.writer.RecordWriter
Write a record
write(DataOutput) - Method in class org.canova.api.split.CollectionInputSplit
 
write(DataOutput) - Method in class org.canova.api.split.FileSplit
 
write(DataOutput) - Method in class org.canova.api.split.InputStreamInputSplit
 
write(DataOutput) - Method in class org.canova.api.split.NumberedFileInputSplit
 
write(DataOutput) - Method in class org.canova.api.split.StringSplit
 
write(DataOutput) - Method in interface org.canova.api.writable.Writable
Serialize the fields of this object to out.
writeCompressedByteArray(DataOutput, byte[]) - Static method in class org.canova.api.io.WritableUtils
 
writeCompressedString(DataOutput, String) - Static method in class org.canova.api.io.WritableUtils
 
writeCompressedStringArray(DataOutput, String[]) - Static method in class org.canova.api.io.WritableUtils
 
writeEnum(DataOutput, Enum<?>) - Static method in class org.canova.api.io.WritableUtils
writes String value of enum to DataOutput.
writeString(DataOutput, String) - Static method in class org.canova.api.io.data.Text
Write a UTF8 encoded string to out
writeString(DataOutput, String) - Static method in class org.canova.api.io.WritableUtils
 
writeStringArray(DataOutput, String[]) - Static method in class org.canova.api.io.WritableUtils
 
writeTo(OutputStream) - Method in class org.canova.api.io.DataOutputBuffer
Write to a file stream
writeTo - Variable in class org.canova.api.records.writer.impl.FileRecordWriter
 
writeVInt(DataOutput, int) - Static method in class org.canova.api.io.WritableUtils
Serializes an integer to a binary stream with zero-compressed encoding.
writeVInt(DataOutput, int) - Static method in class org.canova.api.records.Utils
Serializes an int to a binary stream with zero-compressed encoding.
writeVLong(DataOutput, long) - Static method in class org.canova.api.io.WritableUtils
Serializes a long to a binary stream with zero-compressed encoding.
writeVLong(DataOutput, long) - Static method in class org.canova.api.records.Utils
Serializes a long to a binary stream with zero-compressed encoding.
writeXml(OutputStream) - Method in class org.canova.api.conf.Configuration
Write out the non-default properties in this configuration to the give OutputStream.

X

xVals(double[]) - Static method in class org.canova.api.util.MathUtils
This returns the x values of the given vector.

Y

yVals(double[]) - Static method in class org.canova.api.util.MathUtils
This returns the odd indexed values for the given vector

Z

zip(Iterator<S>, Iterator<T>) - Static method in class org.canova.api.berkeley.Iterators
 
A B C D E F G H I J K L M N O P R S T U V W X Y Z 
Skip navigation links

Copyright © 2016. All rights reserved.