📄 classifierpanel.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Wed Sep 04 10:31:52 CDT 2002 --><TITLE>: Class ClassifierPanel</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../weka/gui/explorer/AttributeSelectionPanel.html"><B>PREV CLASS</B></A> <A HREF="../../../weka/gui/explorer/ClustererPanel.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="ClassifierPanel.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#inner_classes_inherited_from_class_javax.swing.JPanel">INNER</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">weka.gui.explorer</FONT><BR>Class ClassifierPanel</H2><PRE>java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--<B>weka.gui.explorer.ClassifierPanel</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD>javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable</DD></DL><HR><DL><DT>public class <B>ClassifierPanel</B><DT>extends javax.swing.JPanel</DL><P>This panel allows the user to select and configure a classifier, set the attribute of the current dataset to be used as the class, and evaluate the classifier using a number of testing modes (test on the training data, train/test on a percentage split, n-fold cross-validation, test on a separate split). The results of classification runs are stored in a result history so that previous results are accessible.<P><DL><DT><B>See Also: </B><DD><A HREF="../../../serialized-form.html#weka.gui.explorer.ClassifierPanel">Serialized Form</A></DL><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><A NAME="inner_classes_inherited_from_class_javax.swing.JPanel"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Inner classes inherited from class javax.swing.JPanel</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>javax.swing.JPanel.AccessibleJPanel</CODE></TD></TR></TABLE> <A NAME="inner_classes_inherited_from_class_javax.swing.JComponent"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Inner classes inherited from class javax.swing.JComponent</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>javax.swing.JComponent.AccessibleJComponent</CODE></TD></TR></TABLE> <A NAME="inner_classes_inherited_from_class_java.awt.Container"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Inner classes inherited from class java.awt.Container</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>java.awt.Container.AccessibleAWTContainer</CODE></TD></TR></TABLE> <A NAME="inner_classes_inherited_from_class_java.awt.Component"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Inner classes inherited from class java.awt.Component</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>java.awt.Component.AccessibleAWTComponent</CODE></TD></TR></TABLE> <!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JTextArea</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_AddressesArea">m_AddressesArea</A></B></CODE><BR> Area where all the computers to connect to during parallel cross validation are entered</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../weka/gui/PropertyPanel.html">PropertyPanel</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_CEPanel">m_CEPanel</A></B></CODE><BR> The panel showing the current classifier selection</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JComboBox</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_ClassCombo">m_ClassCombo</A></B></CODE><BR> Lets the user select the class column</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../weka/gui/GenericObjectEditor.html">GenericObjectEditor</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_ClassifierEditor">m_ClassifierEditor</A></B></CODE><BR> Lets the user configure the classifier</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../weka/gui/CostMatrixEditor.html">CostMatrixEditor</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_CostMatrixEditor">m_CostMatrixEditor</A></B></CODE><BR> The cost matrix editor for evaluation costs</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../weka/gui/visualize/VisualizePanel.html">VisualizePanel</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_CurrentVis">m_CurrentVis</A></B></CODE><BR> The current visualization object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JRadioButton</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_CVBut">m_CVBut</A></B></CODE><BR> Click to set test mode to cross-validation</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JLabel</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_CVLab">m_CVLab</A></B></CODE><BR> Label by where the cv folds are entered</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JButton</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_CVSettingsBut">m_CVSettingsBut</A></B></CODE><BR> Click to set the settings for cross-validation</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JTextField</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_CVText">m_CVText</A></B></CODE><BR> The field where the cv folds are entered</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JCheckBox</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_EvalWRTCostsBut">m_EvalWRTCostsBut</A></B></CODE><BR> Check to evaluate w.r.t a cost matrix</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../weka/gui/ResultHistoryPanel.html">ResultHistoryPanel</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_History">m_History</A></B></CODE><BR> A panel controlling results viewing</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../weka/core/Instances.html">Instances</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_Instances">m_Instances</A></B></CODE><BR> The main set of instances we're playing with</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../weka/gui/Logger.html">Logger</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_Log">m_Log</A></B></CODE><BR> The destination for log/status messages</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JCheckBox</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_OutputConfusionBut">m_OutputConfusionBut</A></B></CODE><BR> Check to output a confusion matrix</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JCheckBox</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_OutputEntropyBut">m_OutputEntropyBut</A></B></CODE><BR> Check to output entropy statistics</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JCheckBox</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_OutputModelBut">m_OutputModelBut</A></B></CODE><BR> Check to output the model built from the training data</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JCheckBox</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_OutputPerClassBut">m_OutputPerClassBut</A></B></CODE><BR> Check to output true/false positives, precision/recall for each class</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JTextArea</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_OutText">m_OutText</A></B></CODE><BR> The output area for classification results</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JButton</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_ParallelConfigBut">m_ParallelConfigBut</A></B></CODE><BR> Click to edit the settings of running cross-validation in parallel</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JRadioButton</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_PercentBut">m_PercentBut</A></B></CODE><BR> Click to set test mode to generate a % split</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JLabel</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_PercentLab">m_PercentLab</A></B></CODE><BR> Label by where the % split is entered</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JTextField</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_PercentText">m_PercentText</A></B></CODE><BR> The field where the % split is entered</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JLabel</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_PortLab">m_PortLab</A></B></CODE><BR> Label by where the port number is entered</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected javax.swing.JTextField</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/explorer/ClassifierPanel.html#m_PortText">m_PortText</A></B></CODE><BR> TextField where the port number is entered</TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -