Package | Description |
---|---|
org.openimaj.feature | |
org.openimaj.lsh.functions | |
org.openimaj.util.array | |
org.openimaj.workinprogress.sgdsvm |
Modifier and Type | Field and Description |
---|---|
SparseFloatArray |
SparseFloatFV.values
The underlying data backing the feature vector
|
Modifier and Type | Method and Description |
---|---|
SparseFloatArray |
SparseFloatFV.getVector() |
Modifier and Type | Method and Description |
---|---|
abstract double |
SparseFloatFVComparison.compare(SparseFloatArray h1,
SparseFloatArray h2)
Compare two feature vectors in the form of sparse arrays,
returning a score or distance.
|
Constructor and Description |
---|
SparseFloatFV(SparseFloatArray values)
Construct from sparse array
|
Modifier and Type | Method and Description |
---|---|
int |
FloatPStableFactory.PStableFunction.computeHashCode(SparseFloatArray array) |
int |
FloatHashFunction.computeHashCode(SparseFloatArray array)
Compute the hash code for the sparse array.
|
Modifier and Type | Class and Description |
---|---|
class |
SparseBinSearchFloatArray
A Sparse array of float values implemented using a pair of
sorted parallel arrays.
|
class |
SparseHashedFloatArray
A
SparseFloatArray implementation based on a
TIntFloatHashMap . |
Modifier and Type | Method and Description |
---|---|
SparseFloatArray |
SparseFloatArray.add(SparseFloatArray vector)
Add the values in the given vector to a copy of
this array and return the result
|
SparseFloatArray |
SparseFloatArray.addInplace(SparseFloatArray vector)
Add the values in the given vector to
this vector and return this
|
SparseFloatArray |
SparseFloatArray.concatenate(List<SparseFloatArray> ins) |
SparseFloatArray |
SparseFloatArray.concatenate(SparseFloatArray... ins) |
static SparseFloatArray |
SparseFloatArray.concatenateArrays(SparseFloatArray... arrays)
Concatenate multiple arrays into a single new array.
|
SparseFloatArray |
SparseBinSearchFloatArray.copy() |
SparseFloatArray |
SparseHashedFloatArray.copy() |
abstract SparseFloatArray |
SparseFloatArray.copy()
Deep copy the array.
|
SparseFloatArray |
SparseFloatArray.multiply(double value)
Copy this vector and multiply its values by a
scalar
|
SparseFloatArray |
SparseFloatArray.multiplyInplace(double value)
Multiply the values inplace by a scalar and return this
|
SparseFloatArray |
SparseBinSearchFloatArray.reverse() |
SparseFloatArray |
SparseHashedFloatArray.reverse() |
abstract SparseFloatArray |
SparseFloatArray.reverse()
Reverse the elements, returning this.
|
SparseFloatArray |
SparseFloatArray.subtract(SparseFloatArray vector)
Subtract the values in the given vector from a copy of
this vector and return the result
|
SparseFloatArray |
SparseFloatArray.subtractInplace(SparseFloatArray vector)
Subtract the values in the given vector from
this array and return this
|
Modifier and Type | Method and Description |
---|---|
SparseFloatArray |
SparseFloatArray.add(SparseFloatArray vector)
Add the values in the given vector to a copy of
this array and return the result
|
SparseFloatArray |
SparseFloatArray.addInplace(SparseFloatArray vector)
Add the values in the given vector to
this vector and return this
|
SparseFloatArray |
SparseFloatArray.concatenate(SparseFloatArray... ins) |
static SparseFloatArray |
SparseFloatArray.concatenateArrays(SparseFloatArray... arrays)
Concatenate multiple arrays into a single new array.
|
double |
SparseFloatArray.dotProduct(SparseFloatArray vector)
Compute the dot product with another vector
|
Iterable<SparseFloatArray.DualEntry> |
SparseFloatArray.intersectEntries(SparseFloatArray otherArray)
Provide an iterator over the intersection of values present in
both this array and another array.
|
SparseFloatArray |
SparseFloatArray.subtract(SparseFloatArray vector)
Subtract the values in the given vector from a copy of
this vector and return the result
|
SparseFloatArray |
SparseFloatArray.subtractInplace(SparseFloatArray vector)
Subtract the values in the given vector from
this array and return this
|
Iterable<SparseFloatArray.DualEntry> |
SparseBinSearchFloatArray.unionEntries(SparseFloatArray otherArray) |
Iterable<SparseFloatArray.DualEntry> |
SparseFloatArray.unionEntries(SparseFloatArray otherArray)
Provide an iterator over the union of values present in
both this array and another array.
|
Modifier and Type | Method and Description |
---|---|
SparseFloatArray |
SparseFloatArray.concatenate(List<SparseFloatArray> ins) |
Modifier and Type | Method and Description |
---|---|
void |
SvmSgd.determineEta0(int imin,
int imax,
SparseFloatArray[] xp,
double[] yp) |
double |
SvmSgd.evaluateEta(int imin,
int imax,
SparseFloatArray[] xp,
double[] yp,
double eta) |
void |
SvmSgd.test(int imin,
int imax,
SparseFloatArray[] xp,
double[] yp,
String prefix) |
double |
SvmSgd.testOne(SparseFloatArray x,
double y,
double[] ploss,
double[] pnerr) |
void |
SvmSgd.train(int imin,
int imax,
SparseFloatArray[] xp,
double[] yp) |
void |
SvmSgd.trainOne(SparseFloatArray x,
double y,
double eta) |
Modifier and Type | Method and Description |
---|---|
void |
SvmSgd.determineEta0(int imin,
int imax,
List<SparseFloatArray> xp,
gnu.trove.list.array.TDoubleArrayList yp) |
double |
SvmSgd.evaluateEta(int imin,
int imax,
List<SparseFloatArray> xp,
gnu.trove.list.array.TDoubleArrayList yp,
double eta) |
int |
Loader.load(List<SparseFloatArray> xp,
gnu.trove.list.array.TDoubleArrayList yp,
boolean normalize,
int maxrows,
int[] p_maxdim,
int[] p_pcount,
int[] p_ncount) |
void |
SvmSgd.test(int imin,
int imax,
List<SparseFloatArray> xp,
gnu.trove.list.array.TDoubleArrayList yp,
String prefix) |
void |
SvmSgd.train(int imin,
int imax,
List<SparseFloatArray> xp,
gnu.trove.list.array.TDoubleArrayList yp) |