# Package weka.core

package weka.core

Related Packages
Package
Description
weka.core.converters
weka.core.logging
weka.core.mathematicalexpression
weka.core.matrix
weka.core.neighboursearch
weka.core.pmml
weka.core.stemmers
weka.core.tokenizers
weka.core.xml
Class
Description
AbstractStringDistanceFunction
Represents the abstract ancestor for string-based distance functions, like EditDistance.
AdditionalMeasureProducer
Interface to something that can produce measures other than those calculated by evaluation modules.
AlgVector
Class for performing operations on an algebraic vector of floating-point values.
AllJavadoc
Applies all known Javadoc-derived classes to a source file.
Attribute
Class for handling an attribute.
AttributeExpression
A general purpose class for parsing mathematical expressions involving attribute values.
AttributeLocator
This class locates and records the indices of a certain type of attributes, recursively in case of Relational attributes.
AttributeStats
A Utility class that contains summary information on an the values that appear in a dataset for a particular attribute.
BinarySparseInstance
Class for storing a binary-data-only instance as a sparse vector.
Capabilities
A class that describes the capabilites (e.g., handling certain types of attributes, missing values, types of classes, etc.) of a specific classifier.
Capabilities.Capability
enumeration of all capabilities
CapabilitiesHandler
Classes implementing this interface return their capabilities in regards to datasets.
ChebyshevDistance
Implements the Chebyshev distance.
Check
Abstract general class for testing in Weka.
CheckGOE
Simple command line checking of classes that are editable in the GOE.
CheckOptionHandler
Simple command line checking of classes that implement OptionHandler.
CheckScheme
Abstract general class for testing schemes in Weka.
CheckScheme.PostProcessor
a class for postprocessing the test-data
ClassDiscovery
This class is used for discovering classes that implement a certain interface or a derived from a certain class.
ClassDiscovery.StringCompare
compares two strings.
ClassloaderUtil
Utility class that can add jar files to the classpath dynamically.
ContingencyTables
Class implementing some statistical routines for contingency tables.
Copyable
Interface implemented by classes that can produce "shallow" copies of their objects.
Copyright
A class for providing centralized Copyright information.
Debug
A helper class for debug output, logging, clocking, etc.
Debug.Clock
A little helper class for clocking and outputting times.
Debug.DBO
contains debug methods
Debug.Log
A helper class for logging stuff.
Debug.Random
This extended Random class enables one to print the generated random numbers etc., before they are returned.
Debug.SimpleLog
A little, simple helper class for logging stuff.
Debug.Timestamp
A class that can be used for timestamps in files, The toString() method simply returns the associated Date object in a timestamp format.
DistanceFunction
Interface for any class that can compute and return distances between two instances.
Drawable
Interface to something that can be drawn as a graph.
EditDistance
Computes the Levenshtein edit distance between two strings.
Environment
This class encapsulates a map of all environment and java system properties.
EnvironmentHandler
Interface for something that can utilize environment variables.
EuclideanDistance
Implementing Euclidean distance (or similarity) function.
One object defines not one distance but the data model in which the distances between objects of that data model can be computed.
Attention: For efficiency reasons the use of consistency checks (like are the data models of the two instances exactly the same), is low.
For more information, see:
Wikipedia.
FastVector
Implements a fast vector class without synchronized methods.
FindWithCapabilities
Locates all classes with certain capabilities.
GlobalInfoJavadoc
Generates Javadoc comments from the class's globalInfo method.
Instance
Class for handling an instance.
InstanceComparator
A comparator for the Instance class.
Instances
Class for handling an ordered set of weighted instances.
Javadoc
Abstract superclass for classes that generate Javadoc comments and replace the content between certain comment tags.
Jython
A helper class for Jython.
JythonObject
An indicator interface for Jython objects.
JythonSerializableObject
An indicator interface for serializable Jython objects.
ListOptions
Lists the options of an OptionHandler
ManhattanDistance
Implements the Manhattan distance (or Taxicab geometry).
Matchable
Interface to something that can be matched with tree matching algorithms.
MathematicalExpression
Class for evaluating a string adhering the following grammar:
Matrix
Deprecated.
Use `weka.core.matrix.Matrix` instead - only for backwards compatibility.
Memory
A little helper class for Memory management.
MultiInstanceCapabilitiesHandler
Multi-Instance classifiers can specify an additional Capabilities object for the data in the relational attribute, since the format of multi-instance data is fixed to "bag/NOMINAL,data/RELATIONAL,class".
NormalizableDistance
Represents the abstract ancestor for normalizable distance functions, like Euclidean or Manhattan distance.
NoSupportForMissingValuesException
Exception that is raised by an object that is unable to process data with missing values.
Optimization
Implementation of Active-sets method with BFGS update to solve optimization problem with only bounds constraints in multi-dimensions.
Option
Class to store information about an option.
OptionHandler
Interface to something that understands options.
OptionHandlerJavadoc
Generates Javadoc comments from the OptionHandler's options.
PropertyPath
A helper class for accessing properties in nested objects, e.g., accessing the "getRidge" method of a LinearRegression classifier part of MultipleClassifierCombiner, e.g., Vote.
PropertyPath.Path
Contains a (property) path structure
PropertyPath.PathElement
Represents a single element of a property path
ProtectedProperties
Simple class that extends the Properties class so that the properties are unable to be modified.
Queue
Class representing a FIFO queue.
Randomizable
Interface to something that has random behaviour that is able to be seeded with an integer.
RandomVariates
Class implementing some simple random variates generator.
Range
Class representing a range of cardinal numbers.
RelationalLocator
This class locates and records the indices of relational attributes,
RevisionHandler
For classes that should return their source control revision.
RevisionUtils
Contains utility functions for handling revisions.
RevisionUtils.Type
Enumeration of source control types.
SelectedTag
Represents a selected value from a finite set of values, where each value is a Tag (i.e.
SerializationHelper
A helper class for determining serialVersionUIDs and checking whether classes contain one and/or need one.
SerializedObject
Class for storing an object in serialized form in memory.
SingleIndex
Class representing a single cardinal number.
SparseInstance
Class for storing an instance as a sparse vector.
SpecialFunctions
Class implementing some mathematical functions.
Statistics
Class implementing some distributions, tests, etc.
Stopwords
Class that can test whether a given string is a stop word.
StringLocator
This class locates and records the indices of String attributes, recursively in case of Relational attributes.
Summarizable
Interface to something that provides a short textual summary (as opposed to toString() which is usually a fairly complete description) of itself.
SystemInfo
This class prints some information about the system setup, like Java version, JVM settings etc.
Tag
A `Tag` simply associates a numeric ID with a String description.
TechnicalInformation
Used for paper references in the Javadoc and for BibTex generation.
TechnicalInformation.Field
the possible fields
TechnicalInformation.Type
the different types of information
TechnicalInformationHandler
For classes that are based on some kind of publications.
TechnicalInformationHandlerJavadoc
Generates Javadoc comments from the TechnicalInformationHandler's data.
Tee
This class pipelines print/println's to several PrintStreams.
TestInstances
Generates artificial datasets for testing.
Trie
A class representing a Trie data structure for strings.
Trie.TrieIterator
Represents an iterator over a trie
Trie.TrieNode
Represents a node in the trie.
UnassignedClassException
Exception that is raised when trying to use some data that has no class assigned to it, but a class is needed to perform the operation.
UnassignedDatasetException
Exception that is raised when trying to use something that has no reference to a dataset, when one is required.
Undoable
Interface implemented by classes that support undo.
UnsupportedAttributeTypeException
Exception that is raised by an object that is unable to process some of the attribute types it has been passed.
UnsupportedClassTypeException
Exception that is raised by an object that is unable to process the class type of the data it has been passed.
Utils
Class implementing some simple utility methods.
Version
This class contains the version number of the current WEKA release and some methods for comparing another version string.
WeightedInstancesHandler
Interface to something that makes use of the information provided by instance weights.
WekaException
Class for Weka-specific exceptions.