Package | Description |
---|---|
com.structed.dal | |
com.structed.data | |
com.structed.data.entities | |
com.structed.data.featurefunctions | |
com.structed.models | |
com.structed.models.algorithms | |
com.structed.models.inference |
Modifier and Type | Method and Description |
---|---|
Example |
LazyReader.readExample(java.util.ArrayList<java.lang.String> paths)
read only one example and it's labels
|
Modifier and Type | Method and Description |
---|---|
static Example |
Factory.getExample(int type)
Get specific example
This function can be used also for adding new example types
|
Example |
LazyInstancesContainer.getInstance(int index) |
Example |
InstancesContainer.getInstance(int index) |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Example> |
InstancesContainer.getInstances() |
Modifier and Type | Method and Description |
---|---|
static double |
CacheVowelData.getCumulativeValue(Example example,
int frameIndex,
int featureNumber)
get the cumulative value for a given feature from a given example
|
static void |
CacheVowelData.updateCache(Example example)
update the cache for the given example
|
Modifier and Type | Method and Description |
---|---|
void |
InstancesContainer.setInstances(java.util.ArrayList<Example> instances) |
Modifier and Type | Class and Description |
---|---|
class |
Example1D
this class will store the raw data and the desired label
the raw data here will be presented as 1D array
|
class |
Example2D
this class will store the raw data and the desired label
the raw data here will be presented as 2D array
|
Modifier and Type | Method and Description |
---|---|
Example |
IFeatureFunctions.convert(Example vector,
java.lang.String label,
IKernel kernel) |
Example |
FeatureFunctionsVowelDuration.convert(Example example,
java.lang.String label,
IKernel kernel) |
Example |
FeatureFunctionsSparse.convert(Example vector,
java.lang.String label,
IKernel kernel) |
Example |
FeatureFunctionsRank.convert(Example vector,
java.lang.String label,
IKernel kernel) |
Example |
FeatureFunctionsOCR.convert(Example vector,
java.lang.String label,
IKernel kernel) |
Example |
FeatureFunctionsDummy.convert(Example vector,
java.lang.String label,
IKernel kernel) |
Modifier and Type | Method and Description |
---|---|
Example |
IFeatureFunctions.convert(Example vector,
java.lang.String label,
IKernel kernel) |
Example |
FeatureFunctionsVowelDuration.convert(Example example,
java.lang.String label,
IKernel kernel) |
Example |
FeatureFunctionsSparse.convert(Example vector,
java.lang.String label,
IKernel kernel) |
Example |
FeatureFunctionsRank.convert(Example vector,
java.lang.String label,
IKernel kernel) |
Example |
FeatureFunctionsOCR.convert(Example vector,
java.lang.String label,
IKernel kernel) |
Example |
FeatureFunctionsDummy.convert(Example vector,
java.lang.String label,
IKernel kernel) |
Modifier and Type | Method and Description |
---|---|
PredictedLabels |
Classifier.test(Vector W,
Example example,
int returnAll)
predict
|
Modifier and Type | Method and Description |
---|---|
Vector |
SVM.update(Vector currentWeights,
Example example,
ClassifierData classifierData)
Implementation of the update rule
|
Vector |
RankSVM.update(Vector currentWeights,
Example example,
ClassifierData classifierData)
Implementation of the update rule
|
Vector |
RampLoss.update(Vector currentWeights,
Example example,
ClassifierData classifierData)
Implementation of the update rule
|
Vector |
ProbitLoss.update(Vector currentWeights,
Example example,
ClassifierData classifierData)
Implementation of the update rule
|
Vector |
Perceptron.update(Vector currentWeights,
Example example,
ClassifierData classifierData)
Implementation of the update rule
|
Vector |
PassiveAggressive.update(Vector currentWeights,
Example example,
ClassifierData classifierData)
Implementation of the update rule
|
Vector |
OrbitLoss.update(Vector currentWeights,
Example example,
ClassifierData classifierData)
Implementation of the update rule
|
Vector |
MultiClassReject.update(Vector currentWeights,
Example example,
ClassifierData classifierData) |
Vector |
IUpdateRule.update(Vector currentWeights,
Example example,
ClassifierData classifierData) |
Vector |
DirectLoss.update(Vector currentWeights,
Example example,
ClassifierData classifierData)
Implementation of the update rule
|
Vector |
CRF.update(Vector currentWeights,
Example example,
ClassifierData classifierData)
Implementation of the update rule
|
Modifier and Type | Method and Description |
---|---|
PredictedLabels |
InferenceVowelDurationData.predictForTest(Example vector,
Vector W,
java.lang.String realClass,
ClassifierData classifierData,
int returnAll) |
PredictedLabels |
InferenceRanking.predictForTest(Example vector,
Vector W,
java.lang.String realClass,
ClassifierData classifierData,
int returnAll) |
PredictedLabels |
InferenceOCR.predictForTest(Example vector,
Vector W,
java.lang.String realClass,
ClassifierData classifierData,
int returnAll) |
PredictedLabels |
InferenceMultiClassOld.predictForTest(Example vector,
Vector W,
java.lang.String realClass,
ClassifierData classifierData,
int returnAll) |
PredictedLabels |
InferenceMultiClass.predictForTest(Example vector,
Vector W,
java.lang.String realClass,
ClassifierData classifierData,
int returnAll) |
PredictedLabels |
InferenceDummyData.predictForTest(Example vector,
Vector W,
java.lang.String realClass,
ClassifierData classifierData,
int returnAll) |
PredictedLabels |
IInference.predictForTest(Example vector,
Vector W,
java.lang.String realClass,
ClassifierData classifierData,
int returnAll) |
PredictedLabels |
InferenceVowelDurationData.predictForTrain(Example vector,
Vector W,
java.lang.String realClass,
ClassifierData classifierData,
double epsilonArgMax) |
PredictedLabels |
InferenceRanking.predictForTrain(Example vector,
Vector W,
java.lang.String realClass,
ClassifierData classifierData,
double epsilonArgMax) |
PredictedLabels |
InferenceOCR.predictForTrain(Example vector,
Vector W,
java.lang.String realClass,
ClassifierData classifierData,
double epsilonArgMax) |
PredictedLabels |
InferenceMultiClassOld.predictForTrain(Example vector,
Vector W,
java.lang.String realClass,
ClassifierData classifierData,
double epsilonArgMax) |
PredictedLabels |
InferenceMultiClass.predictForTrain(Example vector,
Vector W,
java.lang.String realClass,
ClassifierData classifierData,
double epsilonArgMax) |
PredictedLabels |
InferenceDummyData.predictForTrain(Example vector,
Vector W,
java.lang.String realClass,
ClassifierData classifierData,
double epsilonArgMax) |
PredictedLabels |
IInference.predictForTrain(Example vector,
Vector W,
java.lang.String realClass,
ClassifierData classifierData,
double epsilonArgMax) |