Serialized Form


Package tc

Class tc.TCBatchResult extends java.lang.Object implements Serializable

Serialized Fields

numberOfCurves

int numberOfCurves
the number of curves that can be plotted


numberOfPointsPerCurve

int numberOfPointsPerCurve
number of points per curve


title

java.lang.String title
the title of the batch evaluation


curve_label

java.lang.String[] curve_label
holds all the labels of the different curves


xaxis_label

java.lang.String xaxis_label
the label for the x axis


yaxis_label

java.lang.String yaxis_label
the label for the y axis


data

double[][] data
the actual data of the batch evaluation

Class tc.TCkNNListElement extends java.lang.Object implements Serializable

Serialized Fields

categoryLabels

java.util.ArrayList categoryLabels
the index of the category


distance

double distance
the distance (euclidian or cosine simlarity) to the vector to classify


sortMethod

int sortMethod

Class tc.TCNaiveBayesResult extends java.lang.Object implements Serializable

Serialized Fields

testDocumentIndex

int testDocumentIndex
the test document index, if the result if used for a test document


bayesResults

java.util.ArrayList bayesResults
holds the TCBayesCategoryListElements for every category


Package graph

Class graph.G2Dint extends Graph2D implements Serializable

Serialized Fields

drag

boolean drag
Set to true when a rectangle is being dragged out by the mouse


userlimits

boolean userlimits
User limits. The user has set the limits using the mouse drag option


cpgin

Gin cpgin
Ths popup window for the cursor position command


dpgin

Gin dpgin
Ths popup window for the data point command


range

Range range
The popup window to manually set the range


x0

int x0
Button Down position


y0

int y0
Button Down position


x1

int x1
Button Drag position


y1

int y1
Button Drag position


x1old

int x1old

y1old

int y1old

xaxis

Axis xaxis
Attached X Axis which must be registered with this class. This is one of the axes used to find the drag range. If no X axis is registered no mouse drag.


yaxis

Axis yaxis
Attached Y Axis which must be registered with this class. This is one of the axes used to find the drag range. If no Y axis is registered no mouse drag.

Class graph.Graph2D extends java.awt.Canvas implements Serializable

Serialized Fields

DefaultBackground

java.awt.Color DefaultBackground

axis

java.util.Vector axis
A vector list of All the axes attached

See Also:
Graph2d#attachAxis()

dataset

java.util.Vector dataset
A vector list of All the DataSets attached

See Also:
Graph2d#attachDataSet(), DataSet

markers

Markers markers
The markers that may have been loaded

See Also:
Graph2D#setMarkers()

load_thread

LoadMessage load_thread
The blinking "data loading" thread

See Also:
Graph2D.startedloading()

DataBackground

java.awt.Color DataBackground
The background color for the data window


loadingData

int loadingData
If this is greater than zero it means that data loading threads are active so the message "loading data" is flashed on the plot canvas. When it is back to zero the plot progresses normally


borderTop

int borderTop
The width of the border at the top of the canvas. This allows slopover from axis labels, legends etc.


borderBottom

int borderBottom
The width of the border at the bottom of the canvas. This allows slopover from axis labels, legends etc.


borderLeft

int borderLeft
The width of the border at the left of the canvas. This allows slopover from axis labels, legends etc.


borderRight

int borderRight
The width of the border at the right of the canvas. This allows slopover from axis labels, legends etc.


frame

boolean frame
If set true a frame will be drawn around the data window. Any axes will overlay this frame.


framecolor

java.awt.Color framecolor
The color of the frame to be drawn


drawgrid

boolean drawgrid
If set true (the default) a grid will be drawn over the data window. The grid will align with the major tic marks of the Innermost axes.


gridcolor

java.awt.Color gridcolor
The color of the grid to be drawn


drawzero

boolean drawzero
If set true (the default) a grid line will be drawn across the data window at the zeros of the innermost axes.


zerocolor

java.awt.Color zerocolor
The color of the zero grid lines.


datarect

java.awt.Rectangle datarect
The rectangle that the data will be plotted within. This is an output variable only.


clearAll

boolean clearAll
If set true (the default) the canvas will be set to the background color (erasing the plot) when the update method is called. This would only be changed for special effects.


paintAll

boolean paintAll
If set true (the default) everything associated with the plot will be drawn when the update method or paint method are called. Normally only modified for special effects


square

boolean square
Modify the position of the axis and the range of the axis so that the aspect ratio of the major tick marks are 1 and the plot is square on the screen


lastText

TextLine lastText
Text to be painted Last onto the Graph Canvas.


Class TCEJ extends javax.swing.JFrame implements Serializable

Serialized Fields

desktop

javax.swing.JDesktopPane desktop

tcExperiment

TCExperiment tcExperiment
the TCExperiment object, the interface to the actual tc-package


weightFunctionStrings

java.lang.String[] weightFunctionStrings

corpusNameStrings

java.lang.String[] corpusNameStrings

weightFunctionSumMethodStrings

java.lang.String[] weightFunctionSumMethodStrings

stemmerNamesStrings

java.lang.String[] stemmerNamesStrings

stemmerList

javax.swing.JComboBox stemmerList

weightFunctionList

javax.swing.JComboBox weightFunctionList

weightFunctionSumMethodList

javax.swing.JComboBox weightFunctionSumMethodList

corpusTypeList

javax.swing.JComboBox corpusTypeList

textDFTFThreshold

javax.swing.JTextField textDFTFThreshold

textNumOfFeatures

javax.swing.JTextField textNumOfFeatures

textkNNK

javax.swing.JTextField textkNNK

bayesThreshold

javax.swing.JTextField bayesThreshold

kNNThreshold

javax.swing.JTextField kNNThreshold

kNNThresholdStepSize

javax.swing.JTextField kNNThresholdStepSize

bayesThresholdStepSize

javax.swing.JTextField bayesThresholdStepSize

textConsole

javax.swing.JTextArea textConsole

classificationDisplayText

javax.swing.JTextArea classificationDisplayText

checkStopwordRemoval

javax.swing.JCheckBox checkStopwordRemoval

loadCorpusProgressBar

javax.swing.JProgressBar loadCorpusProgressBar

consoleScrollPane

javax.swing.JScrollPane consoleScrollPane

classificationDisplayScrollPane

javax.swing.JScrollPane classificationDisplayScrollPane

trainKNN

javax.swing.JButton trainKNN

trainNBB

javax.swing.JButton trainNBB

buttonEvaluateOnceNBB

javax.swing.JButton buttonEvaluateOnceNBB

buttonEvaluateOnceKNN

javax.swing.JButton buttonEvaluateOnceKNN

buttonPrecisionRecallNBB

javax.swing.JButton buttonPrecisionRecallNBB

buttonPrecisionRecallKNN

javax.swing.JButton buttonPrecisionRecallKNN

buttonClassifyFileKNN

javax.swing.JButton buttonClassifyFileKNN

buttonClassifyFileNBB

javax.swing.JButton buttonClassifyFileNBB


Class TCEJInternalFrame extends javax.swing.JInternalFrame implements Serializable