- 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.
- 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
-
- 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
-
- 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() - 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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).
- 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.
- 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
-
- SerializationFactory - Class in org.canova.api.io.serializers
-
- 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
-
- 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.