Uses of Class
com.yahoo.labs.samoa.instances.Instances
-
-
Uses of Instances in com.yahoo.labs.samoa.instances
Subclasses of Instances in com.yahoo.labs.samoa.instances Modifier and Type Class Description class
InstancesHeader
Class for storing the header or context of a data stream.Fields in com.yahoo.labs.samoa.instances declared as Instances Modifier and Type Field Description protected Instances
WekaToSamoaInstanceConverter. samoaInstanceInformation
Methods in com.yahoo.labs.samoa.instances that return Instances Modifier and Type Method Description Instances
Instance. dataset()
Dataset.Instances
InstanceImpl. dataset()
Dataset.Instances
WekaToSamoaInstanceConverter. samoaInstances(weka.core.Instances instances)
Samoa instances from weka instances.Instances
WekaToSamoaInstanceConverter. samoaInstancesInformation(weka.core.Instances instances)
Samoa instances information.Instances
Instances. testCV(int numFolds, int numFold)
Test cv.Instances
Instances. trainCV(int numFolds, int numFold)
Instances
Instances. trainCV(int numFolds, int numFold, Random random)
Train cv.Methods in com.yahoo.labs.samoa.instances with parameters of type Instances Modifier and Type Method Description protected void
Instances. copyInstances(int from, Instances dest, int num)
void
Instance. setDataset(Instances dataset)
Sets the dataset.void
InstanceImpl. setDataset(Instances dataset)
Sets the dataset.weka.core.Instances
SamoaToWekaInstanceConverter. wekaInstances(Instances instances)
Weka instances.weka.core.Instances
SamoaToWekaInstanceConverter. wekaInstancesInformation(Instances instances)
Weka instances information.Constructors in com.yahoo.labs.samoa.instances with parameters of type Instances Constructor Description Instances(Instances chunk)
Instantiates a new instances.Instances(Instances chunk, int capacity)
Instantiates a new instances.Instances(Instances chunk, int first, int toCopy)
Instantiates a new instances.InstancesHeader(Instances i)
-
Uses of Instances in moa.classifiers
Methods in moa.classifiers with parameters of type Instances Modifier and Type Method Description protected static int
AbstractClassifier. modelAttIndexToInstanceAttIndex(int index, Instances insts)
Gets the index of the attribute in a set of instances, given the index of the attribute in the learner. -
Uses of Instances in moa.classifiers.bayes
Fields in moa.classifiers.bayes declared as Instances Modifier and Type Field Description protected Instances
NaiveBayesMultinomial. m_headerInfo
copy of header information for use in toString method -
Uses of Instances in moa.classifiers.lazy
Fields in moa.classifiers.lazy declared as Instances Modifier and Type Field Description protected Instances
kNN. window
-
Uses of Instances in moa.classifiers.lazy.neighboursearch
Fields in moa.classifiers.lazy.neighboursearch declared as Instances Modifier and Type Field Description protected Instances
NormalizableDistance. m_Data
the instances used internally.protected Instances
NearestNeighbourSearch. m_Instances
The neighbourhood of instances to find neighbours in.Methods in moa.classifiers.lazy.neighboursearch that return Instances Modifier and Type Method Description Instances
DistanceFunction. getInstances()
returns the instances currently set.Instances
NearestNeighbourSearch. getInstances()
returns the instances currently set.Instances
NormalizableDistance. getInstances()
returns the instances currently set.Instances
KDTree. kNearestNeighbours(Instance target, int k)
Returns the k nearest neighbours of the supplied instance.Instances
LinearNNSearch. kNearestNeighbours(Instance target, int kNN)
Returns k nearest instances in the current neighbourhood to the supplied instance.abstract Instances
NearestNeighbourSearch. kNearestNeighbours(Instance target, int k)
Returns k nearest instances in the current neighbourhood to the supplied instance.Methods in moa.classifiers.lazy.neighboursearch with parameters of type Instances Modifier and Type Method Description void
KDTree. assignSubToCenters(KDTreeNode node, Instances centers, int[] centList, int[] assignments)
Assigns instances of this node to center.protected void
KDTree. buildKDTree(Instances instances)
Builds the KDTree on the supplied set of instances/points.void
KDTree. centerInstances(Instances centers, int[] assignments, double pc)
Assigns instances to centers using KDTree.protected void
KDTree. checkMissing(Instances instances)
Checks if there is any instance with missing values.int
EuclideanDistance. closestPoint(Instance instance, Instances allPoints, int[] pointList)
Returns the index of the closest point to the current instance.protected void
KDTree. determineAssignments(KDTreeNode node, Instances centers, int[] candidates, int[] assignments, double pc)
Assigns instances to the current centers called candidates.protected int[]
KDTree. refineOwners(KDTreeNode node, Instances centers, int[] candidates)
Refines the ownerlist.void
DistanceFunction. setInstances(Instances insts)
Sets the instances.void
KDTree. setInstances(Instances instances)
Builds the KDTree on the given set of instances.void
LinearNNSearch. setInstances(Instances insts)
Sets the instances comprising the current neighbourhood.void
NearestNeighbourSearch. setInstances(Instances insts)
Sets the instances.void
NormalizableDistance. setInstances(Instances insts)
Sets the instances.Constructors in moa.classifiers.lazy.neighboursearch with parameters of type Instances Constructor Description EuclideanDistance(Instances data)
Constructs an Euclidean Distance object and automatically initializes the ranges.KDTree(Instances insts)
Creates a new instance of KDTree.LinearNNSearch(Instances insts)
Constructor that uses the supplied set of instances.NearestNeighbourSearch(Instances insts)
Constructor.NormalizableDistance(Instances data)
Initializes the distance function and automatically initializes the ranges. -
Uses of Instances in moa.classifiers.lazy.neighboursearch.kdtrees
Fields in moa.classifiers.lazy.neighboursearch.kdtrees declared as Instances Modifier and Type Field Description protected Instances
KDTreeNodeSplitter. m_Instances
The instances that'll be used for tree construction.Methods in moa.classifiers.lazy.neighboursearch.kdtrees with parameters of type Instances Modifier and Type Method Description protected static int
KMeansInpiredMethod. partition(Instances insts, int[] index, int attidx, int l, int r)
Partitions the instances around a pivot.protected static void
KMeansInpiredMethod. quickSort(Instances insts, int[] indices, int attidx, int left, int right)
Sorts the instances according to the given attribute/dimension.void
KDTreeNodeSplitter. setInstances(Instances inst)
Sets the training instances on which the tree is (or is to be) built.Constructors in moa.classifiers.lazy.neighboursearch.kdtrees with parameters of type Instances Constructor Description KDTreeNodeSplitter(int[] instList, Instances insts, EuclideanDistance e)
Creates a new instance of KDTreeNodeSplitter. -
Uses of Instances in moa.classifiers.meta
Fields in moa.classifiers.meta declared as Instances Modifier and Type Field Description protected Instances
LearnNSE. buffer
protected Instances
AccuracyUpdatedEnsemble. currentChunk
Current chunk of instances.protected Instances
AccuracyWeightedEnsemble. currentChunk
protected Instances
TemporallyAugmentedClassifier. header
protected Instances
ADACC. recentChunk
Last chunk of data of size (tau_size) to compute the stability indexInstances
StreamingRandomPatches.StreamingRandomPatchesClassifier. subset
Methods in moa.classifiers.meta with parameters of type Instances Modifier and Type Method Description protected double
AccuracyWeightedEnsemble. computeCandidateWeight(Classifier candidate, Instances chunk, int numFolds)
Computes the weight of a candidate classifier.protected double
AccuracyUpdatedEnsemble. computeMse(Classifier learner, Instances chunk)
Computes the MSE of a learner for a given chunk of examples.protected double
AccuracyWeightedEnsemble. computeWeight(Classifier learner, Instances chunk)
Computes the weight of a given classifie.void
TemporallyAugmentedClassifier. initHeader(Instances dataset)
-
Uses of Instances in moa.classifiers.meta.imbalanced
Fields in moa.classifiers.meta.imbalanced declared as Instances Modifier and Type Field Description protected Instances
CSMOTE. maj
protected Instances
CSMOTE. min
protected Instances
OnlineSMOTEBagging. posSamples
-
Uses of Instances in moa.clusterers
Methods in moa.clusterers that return Instances Modifier and Type Method Description Instances
WekaClusteringAlgorithm. getDataset(int numdim, int numclass)
Methods in moa.clusterers with parameters of type Instances Modifier and Type Method Description protected static int
AbstractClusterer. modelAttIndexToInstanceAttIndex(int index, Instances insts)
-
Uses of Instances in moa.core
Subclasses of Instances in moa.core Modifier and Type Class Description class
MultilabelInstancesHeader
Class for storing the header or context of a multilabel data stream.Constructors in moa.core with parameters of type Instances Constructor Description MultilabelInstancesHeader(Instances i, int numLabels)
-
Uses of Instances in moa.core.utils
Fields in moa.core.utils declared as Instances Modifier and Type Field Description protected Instances
Converter. m_InstancesTemplate
Methods in moa.core.utils that return Instances Modifier and Type Method Description Instances
Converter. createTemplate(Instances i)
Methods in moa.core.utils with parameters of type Instances Modifier and Type Method Description Instances
Converter. createTemplate(Instances i)
-
Uses of Instances in moa.gui.featureanalysis
Fields in moa.gui.featureanalysis declared as Instances Modifier and Type Field Description protected Instances
LineAndScatterPanel. m_data
This holds the current set of instancesprotected Instances
AttributeSummaryPanel. m_Instances
The instances we're playing withprotected Instances
FeatureImportanceDataModelPanel. m_Instances
The dataset.protected Instances
FeatureImportancePanel. m_Instances
This holds the current set of instancesprotected Instances
InstancesSummaryPanel. m_Instances
The instances we're playing withprotected Instances
VisualizeFeaturesPanel. m_Instances
The working instancesMethods in moa.gui.featureanalysis that return Instances Modifier and Type Method Description Instances
VisualizeFeaturesPanel. getInstances()
Gets the working set of instances.Methods in moa.gui.featureanalysis with parameters of type Instances Modifier and Type Method Description void
AttributeSelectionPanel. setInstances(Instances newInstances)
Sets the instances who's attribute names will be displayed.void
AttributeSummaryPanel. setInstances(Instances inst)
Tells the panel to use a new set of instances.void
FeatureImportanceDataModelPanel. setInstances(Instances newInstances)
Sets the instances who's attribute names will be displayed.void
FeatureImportancePanel. setInstances(Instances inst)
Tells the panel to use a new base set of instances.void
InstancesSummaryPanel. setInstances(Instances inst)
Tells the panel to use a new set of instances.void
LineAndScatterPanel. setInstances(Instances inst)
Set dataset which is the data source of line graph or scatter diagram.void
VisualizeFeaturesPanel. setInstances(Instances inst)
Tells the panel to use a new base set of instances. -
Uses of Instances in moa.gui.visualization
Constructors in moa.gui.visualization with parameters of type Instances Constructor Description WekaExplorer(Instances instances)
-
Uses of Instances in moa.streams
Fields in moa.streams declared as Instances Modifier and Type Field Description protected Instances
ArffFileStream. instances
protected Instances
MultiTargetArffFileStream. instances
protected Instances[]
ImbalancedStream. instancesBuffer
protected Instances
CachedInstancesStream. toStream
Constructors in moa.streams with parameters of type Instances Constructor Description CachedInstancesStream(Instances toStream)
-
Uses of Instances in moa.streams.clustering
Fields in moa.streams.clustering declared as Instances Modifier and Type Field Description protected Instances
SimpleCSVStream. dataset
protected Instances
FileStream. instances
-
Uses of Instances in moa.streams.generators.multilabel
Fields in moa.streams.generators.multilabel declared as Instances Modifier and Type Field Description protected Instances
MetaMultilabelGenerator. multilabelStreamTemplate
Methods in moa.streams.generators.multilabel with parameters of type Instances Modifier and Type Method Description protected MultilabelInstancesHeader
MetaMultilabelGenerator. generateMultilabelHeader(Instances si)
GenerateMultilabelHeader. -
Uses of Instances in moa.tasks
Fields in moa.tasks declared as Instances Modifier and Type Field Description protected Instances
FeatureImportanceConfig. m_instances
This holds the current set of instancesMethods in moa.tasks with parameters of type Instances Modifier and Type Method Description void
FeatureImportanceConfig. setInstances(Instances instances)
-