Uses of Class
ace.datatypes.SegmentedClassification

Packages that use SegmentedClassification
ace   
ace.datatypes   
 

Uses of SegmentedClassification in ace
 

Methods in ace that return SegmentedClassification
 SegmentedClassification[] Coordinator.classify(java.lang.String results_file, TrainedModel trained)
          Classifies a set of instances with the given trained classifier.
static SegmentedClassification[] InstanceClassifier.classify(TrainedModel trained, DataBoard data_board, weka.core.Instances instances, java.lang.String results_file, boolean save_intermediate_arffs)
          Classify a set of instances using a trained Weka Classifier.
 

Methods in ace with parameters of type SegmentedClassification
static double[] InstanceClassifier.getSuccessRate(SegmentedClassification[] models, SegmentedClassification[] results, java.lang.StringBuffer out)
          Gets the number of correct classifications for overall instances and subsections and appends the results of each classification to a given StringBuffer object.
static double[] InstanceClassifier.getSuccessRate(SegmentedClassification[] models, SegmentedClassification[] results, java.lang.StringBuffer out)
          Gets the number of correct classifications for overall instances and subsections and appends the results of each classification to a given StringBuffer object.
static java.lang.String InstanceClassifier.getSuccessString(SegmentedClassification[] models, SegmentedClassification[] results, java.lang.StringBuffer out)
          Gets a String describing the success rate of a classification.
static java.lang.String InstanceClassifier.getSuccessString(SegmentedClassification[] models, SegmentedClassification[] results, java.lang.StringBuffer out)
          Gets a String describing the success rate of a classification.
 

Uses of SegmentedClassification in ace.datatypes
 

Fields in ace.datatypes declared as SegmentedClassification
 SegmentedClassification[] DataBoard.model_classifications
          The model classifications that are used in supervised training.
 SegmentedClassification[] SegmentedClassification.sub_classifications
          Classifications corresponding to sub-sections of an instance.
 

Methods in ace.datatypes that return SegmentedClassification
static SegmentedClassification SegmentedClassification.findMatchingClassification(DataSet instance, SegmentedClassification[] classes)
          Compares the given DataSet object to each of the SegmentedClassification objects in order to find a SegmentedClassification object with the same identifier as the given DataSet object.
 SegmentedClassification[] DataBoard.getClassifiedResults(weka.core.Instances instances, boolean save_intermediate_arffs, TrainedModel trained, boolean use_top_level_features, boolean use_sub_section_features)
          Classify the given set of Instances using the given AttributeSelection and the given Classifier.
 SegmentedClassification DataBoard.getMatchingModelClassification(DataSet data_set)
          Searches the model_classifications stored in this DataBoard with an identifier that matches the identifier of the given DataSet.
 SegmentedClassification[] DataBoard.getModelClassifications()
          Returns the model classifications that are used in supervised training.
static SegmentedClassification[] SegmentedClassification.parseClassificationsFile(java.lang.String model_classification_file_path)
          Parses a classifications_file XML file and returns an array of SegmentedClassification objects holding its contents.
 

Methods in ace.datatypes with parameters of type SegmentedClassification
static SegmentedClassification SegmentedClassification.findMatchingClassification(DataSet instance, SegmentedClassification[] classes)
          Compares the given DataSet object to each of the SegmentedClassification objects in order to find a SegmentedClassification object with the same identifier as the given DataSet object.
static Taxonomy Taxonomy.generateTaxonomy(SegmentedClassification[] classifications)
          Automatically generates a flat taxonomy based on the class labels in the given SegmentedClassification object.
 java.lang.String[] Taxonomy.getClassesInClassificationsButNotTaxonomy(SegmentedClassification[] seg_classes)
          Returns an array listing the classes that are found in the given classifications (either overall classifications or classifications of sub-sections) but not in this taxonomy.
 java.lang.String[] Taxonomy.getClassesInTaxonomyButNotInClassifications(SegmentedClassification[] seg_classes)
          Returns an array listing the classes that are found in this taxonomy but not in the given classifications (either overall classifications or classifications of sub-sections).
static java.lang.String SegmentedClassification.getClassificationDescriptions(SegmentedClassification[] seg_classes)
          Returns a formatted text description of the given SegmentedClassification objects.
static java.lang.String[] SegmentedClassification.getLeafClasses(SegmentedClassification[] seg_classes)
          Returns an array containing the names of all classes that any instances or sub-sections of the given SegmentedClassification belong to.
static java.lang.String[][][] SegmentedClassification.getMergedSectionalClassifications(SegmentedClassification[] sub_classes, DataSet[] sub_set, double[][][] times)
          Finds the timeframes in which the sub-sets overlap with the sub-classifications.
static int SegmentedClassification.getNumberOverallInstancesBelongingToClass(SegmentedClassification[] model_classifications, java.lang.String class_of_interest)
          Returns the number of given instances that belong to the given class.
static int SegmentedClassification.getNumberSectionsInInstancesBelongingToClass(SegmentedClassification[] model_classifications, java.lang.String class_of_interest)
          Returns the number of given instances that have sections belonging to the given class.
static java.lang.String[][] SegmentedClassification.getOverallLabelsOfDataSets(DataSet[] data_sets, SegmentedClassification[] set_classifications)
          Returns a 2-D array describing the top-level label(s) of the given DataSets, according to the given SegmentedClassifications.
static java.lang.String[][][] SegmentedClassification.getSubSectionLabelsOfDataSets(DataSet[] data_sets, SegmentedClassification[] set_classifications)
          Returns a 3-D array describing the sub-section label(s) of the given DataSets, according to the given SegmentedClassifications.
static void SegmentedClassification.mergeAdjacentSections(SegmentedClassification verbose_classifications)
          Merges any overlapping adjacent sub-sections of the given SegmentedClassification if they belong to the same class(es) and the end of the first matches the start of the second.
static void SegmentedClassification.saveClassifications(SegmentedClassification[] seg_classifications, java.io.File to_save_to, java.lang.String comments)
          Saves a classifications_file XML file with the contents specified in the given SegmentedClassification array and the comments specified in the comments parameter.
static boolean SegmentedClassification.verifyUniquenessOfIdentifiers(SegmentedClassification[] seg_classes)
          Verifies that none of the given set of SegmentedClassification refer to data sets with the same identifiers.
 

Constructors in ace.datatypes with parameters of type SegmentedClassification
DataBoard(Taxonomy taxonomy, FeatureDefinition[] feature_definitions, DataSet[] feature_vectors, SegmentedClassification[] model_classifications)
          Generates a DataBoard with the fields specified in the parameters.
SegmentedClassification(java.lang.String identifier, double start, double stop, java.lang.String[] classifications, java.lang.String[] misc_info, java.lang.String[] misc_info_key, SegmentedClassification[] sub_classifications)
          Explicitly create a new Classification.