📄 boundarypanel.html
字号:
<HR><A NAME="setColors(weka.core.FastVector)"><!-- --></A><H3>setColors</H3><PRE>public void <B>setColors</B>(<A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> colors)</PRE><DL><DD>Set a vector of Color objects for the classes<P><DD><DL><DT><B>Parameters:</B><DD><CODE>colors</CODE> - a <code>FastVector</code> value</DL></DD></DL><HR><A NAME="setPlotTrainingData(boolean)"><!-- --></A><H3>setPlotTrainingData</H3><PRE>public void <B>setPlotTrainingData</B>(boolean pg)</PRE><DL><DD>Set whether to superimpose the training data plot<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pg</CODE> - a <code>boolean</code> value</DL></DD></DL><HR><A NAME="getPlotTrainingData()"><!-- --></A><H3>getPlotTrainingData</H3><PRE>public boolean <B>getPlotTrainingData</B>()</PRE><DL><DD>Returns true if training data is to be superimposed<P><DD><DL><DT><B>Returns:</B><DD>a <code>boolean</code> value</DL></DD></DL><HR><A NAME="getColors()"><!-- --></A><H3>getColors</H3><PRE>public <A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> <B>getColors</B>()</PRE><DL><DD>Get the current vector of Color objects used for the classes<P><DD><DL><DT><B>Returns:</B><DD>a <code>FastVector</code> value</DL></DD></DL><HR><A NAME="replot()"><!-- --></A><H3>replot</H3><PRE>public void <B>replot</B>()</PRE><DL><DD>Quickly replot the display using cached probability estimates<P><DD><DL></DL></DD></DL><HR><A NAME="addTrainingInstanceFromMouseLocation(int, int, int, double)"><!-- --></A><H3>addTrainingInstanceFromMouseLocation</H3><PRE>public void <B>addTrainingInstanceFromMouseLocation</B>(int mouseX, int mouseY, int classAttIndex, double classValue)</PRE><DL><DD>Adds a training instance to our dataset, based on the coordinates of the mouse on the panel. This method sets the x and y attributes and the class (as defined by classAttIndex), and sets all other values as Missing.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>mouseX</CODE> - the x coordinate of the mouse, in pixels.<DD><CODE>mouseY</CODE> - the y coordinate of the mouse, in pixels.<DD><CODE>classAttIndex</CODE> - the index of the attribute that is currently selected as the class attribute.<DD><CODE>classValue</CODE> - the value to set the class to in our new point.</DL></DD></DL><HR><A NAME="removeAllInstances()"><!-- --></A><H3>removeAllInstances</H3><PRE>public void <B>removeAllInstances</B>()</PRE><DL><DD>Deletes all training instances from our dataset.<P><DD><DL></DL></DD></DL><HR><A NAME="removeTrainingInstanceFromMouseLocation(int, int)"><!-- --></A><H3>removeTrainingInstanceFromMouseLocation</H3><PRE>public void <B>removeTrainingInstanceFromMouseLocation</B>(int mouseX, int mouseY)</PRE><DL><DD>Removes a single training instance from our dataset, if there is one that is close enough to the specified mouse location.<P><DD><DL></DL></DD></DL><HR><A NAME="startPlotThread()"><!-- --></A><H3>startPlotThread</H3><PRE>public void <B>startPlotThread</B>()</PRE><DL><DD>Starts the plotting thread. Will also create it if necessary.<P><DD><DL></DL></DD></DL><HR><A NAME="addMouseListener(java.awt.event.MouseListener)"><!-- --></A><H3>addMouseListener</H3><PRE>public void <B>addMouseListener</B>(java.awt.event.MouseListener l)</PRE><DL><DD>Adds a mouse listener.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>addMouseListener</CODE> in class <CODE>java.awt.Component</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getMinXBound()"><!-- --></A><H3>getMinXBound</H3><PRE>public double <B>getMinXBound</B>()</PRE><DL><DD>Gets the minimum x-coordinate bound, in training-instance units (not mouse coordinates).<P><DD><DL></DL></DD></DL><HR><A NAME="getMinYBound()"><!-- --></A><H3>getMinYBound</H3><PRE>public double <B>getMinYBound</B>()</PRE><DL><DD>Gets the minimum y-coordinate bound, in training-instance units (not mouse coordinates).<P><DD><DL></DL></DD></DL><HR><A NAME="getMaxXBound()"><!-- --></A><H3>getMaxXBound</H3><PRE>public double <B>getMaxXBound</B>()</PRE><DL><DD>Gets the maximum x-coordinate bound, in training-instance units (not mouse coordinates).<P><DD><DL></DL></DD></DL><HR><A NAME="getMaxYBound()"><!-- --></A><H3>getMaxYBound</H3><PRE>public double <B>getMaxYBound</B>()</PRE><DL><DD>Gets the maximum x-coordinate bound, in training-instance units (not mouse coordinates).<P><DD><DL></DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[] args)</PRE><DL><DD>Main method for testing this class<P><DD><DL><DT><B>Parameters:</B><DD><CODE>args</CODE> - a <code>String[]</code> value</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <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> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</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"> PREV CLASS <A HREF="../../../weka/gui/boundaryvisualizer/BoundaryPanelDistributed.html" title="class in weka.gui.boundaryvisualizer"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?weka/gui/boundaryvisualizer/BoundaryPanel.html" target="_top"><B>FRAMES</B></A> <A HREF="BoundaryPanel.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.JComponent">NESTED</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><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -