public abstract class AbstractDataIndexer extends java.lang.Object implements DataIndexer
Constructor and Description |
---|
AbstractDataIndexer() |
Modifier and Type | Method and Description |
---|---|
int[][] |
getContexts()
Returns the array of predicates seen in each event.
|
int |
getNumEvents()
Returns the number of total events indexed.
|
int[] |
getNumTimesEventsSeen()
Returns an array indicating the number of times a particular event was seen.
|
java.lang.String[] |
getOutcomeLabels()
Returns an array of outcome names.
|
int[] |
getOutcomeList()
Returns an array indicating the outcome index for each event.
|
int[] |
getPredCounts()
Returns an array of the count of each predicate in the events.
|
java.lang.String[] |
getPredLabels()
Returns an array of predicate/context names.
|
float[][] |
getValues()
Returns the values associated with each event context or null if integer values are to be used.
|
public int[][] getContexts()
DataIndexer
getContexts
in interface DataIndexer
public int[] getNumTimesEventsSeen()
DataIndexer
getNumTimesEventsSeen
in interface DataIndexer
public int[] getOutcomeList()
DataIndexer
getOutcomeList
in interface DataIndexer
public java.lang.String[] getPredLabels()
DataIndexer
getPredLabels
in interface DataIndexer
getContexts
.public java.lang.String[] getOutcomeLabels()
DataIndexer
getOutcomeLabels
in interface DataIndexer
public int[] getPredCounts()
DataIndexer
getPredCounts
in interface DataIndexer
public int getNumEvents()
DataIndexer
getNumEvents
in interface DataIndexer
public float[][] getValues()
DataIndexer
getValues
in interface DataIndexer
Copyright © 2010 - 2020 Adobe. All Rights Reserved