⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 boundarypanel.html

📁 weka是机器学习和数据挖掘领域最有影响力的开源项目之一
💻 HTML
📖 第 1 页 / 共 4 页
字号:
public static final java.awt.Color[] <B>DEFAULT_COLORS</B></PRE><DL><DL></DL></DL><HR><A NAME="REMOVE_POINT_RADIUS"><!-- --></A><H3>REMOVE_POINT_RADIUS</H3><PRE>public static final double <B>REMOVE_POINT_RADIUS</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.gui.boundaryvisualizer.BoundaryPanel.REMOVE_POINT_RADIUS">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="BoundaryPanel(int, int)"><!-- --></A><H3>BoundaryPanel</H3><PRE>public <B>BoundaryPanel</B>(int&nbsp;panelWidth,                     int&nbsp;panelHeight)</PRE><DL><DD>Creates a new <code>BoundaryPanel</code> instance.<P><DL><DT><B>Parameters:</B><DD><CODE>panelWidth</CODE> - the width in pixels of the panel<DD><CODE>panelHeight</CODE> - the height in pixels of the panel</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="setNumSamplesPerRegion(int)"><!-- --></A><H3>setNumSamplesPerRegion</H3><PRE>public void <B>setNumSamplesPerRegion</B>(int&nbsp;num)</PRE><DL><DD>Set the number of points to uniformly sample from a region (fixed dimensions).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>num</CODE> - an <code>int</code> value</DL></DD></DL><HR><A NAME="getNumSamplesPerRegion()"><!-- --></A><H3>getNumSamplesPerRegion</H3><PRE>public int <B>getNumSamplesPerRegion</B>()</PRE><DL><DD>Get the number of points to sample from a region (fixed dimensions).<P><DD><DL><DT><B>Returns:</B><DD>an <code>int</code> value</DL></DD></DL><HR><A NAME="setGeneratorSamplesBase(double)"><!-- --></A><H3>setGeneratorSamplesBase</H3><PRE>public void <B>setGeneratorSamplesBase</B>(double&nbsp;ksb)</PRE><DL><DD>Set the base for computing the number of samples to obtain from each generator. number of samples = base ^ (# non fixed dimensions)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>ksb</CODE> - a <code>double</code> value</DL></DD></DL><HR><A NAME="getGeneratorSamplesBase()"><!-- --></A><H3>getGeneratorSamplesBase</H3><PRE>public double <B>getGeneratorSamplesBase</B>()</PRE><DL><DD>Get the base used for computing the number of samples to obtain from each generator<P><DD><DL><DT><B>Returns:</B><DD>a <code>double</code> value</DL></DD></DL><HR><A NAME="stopPlotting()"><!-- --></A><H3>stopPlotting</H3><PRE>public void <B>stopPlotting</B>()</PRE><DL><DD>Stop the plotting thread<P><DD><DL></DL></DD></DL><HR><A NAME="computeMinMaxAtts()"><!-- --></A><H3>computeMinMaxAtts</H3><PRE>public void <B>computeMinMaxAtts</B>()</PRE><DL><DD>Set up the bounds of our graphic based by finding the smallest reasonable      area in the instance space to surround our data points.<P><DD><DL></DL></DD></DL><HR><A NAME="start()"><!-- --></A><H3>start</H3><PRE>public void <B>start</B>()           throws java.lang.Exception</PRE><DL><DD>Start the plotting thread<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="plotTrainingData()"><!-- --></A><H3>plotTrainingData</H3><PRE>public void <B>plotTrainingData</B>()</PRE><DL><DD>Render the training points on-screen.<P><DD><DL></DL></DD></DL><HR><A NAME="setTrainingData(weka.core.Instances)"><!-- --></A><H3>setTrainingData</H3><PRE>public void <B>setTrainingData</B>(<A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A>&nbsp;trainingData)                     throws java.lang.Exception</PRE><DL><DD>Set the training data to use<P><DD><DL><DT><B>Parameters:</B><DD><CODE>trainingData</CODE> - the training data<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="addTrainingInstance(weka.core.Instance)"><!-- --></A><H3>addTrainingInstance</H3><PRE>public void <B>addTrainingInstance</B>(<A HREF="../../../weka/core/Instance.html" title="class in weka.core">Instance</A>&nbsp;instance)</PRE><DL><DD>Adds a training instance to the visualization dataset.<P><DD><DL></DL></DD></DL><HR><A NAME="addActionListener(java.awt.event.ActionListener)"><!-- --></A><H3>addActionListener</H3><PRE>public void <B>addActionListener</B>(java.awt.event.ActionListener&nbsp;newListener)</PRE><DL><DD>Register a listener to be notified when plotting completes<P><DD><DL><DT><B>Parameters:</B><DD><CODE>newListener</CODE> - the listener to add</DL></DD></DL><HR><A NAME="removeActionListener(java.awt.event.ActionListener)"><!-- --></A><H3>removeActionListener</H3><PRE>public void <B>removeActionListener</B>(java.awt.event.ActionListener&nbsp;removeListener)</PRE><DL><DD>Remove a listener<P><DD><DL><DT><B>Parameters:</B><DD><CODE>removeListener</CODE> - the listener to remove</DL></DD></DL><HR><A NAME="setClassifier(weka.classifiers.Classifier)"><!-- --></A><H3>setClassifier</H3><PRE>public void <B>setClassifier</B>(<A HREF="../../../weka/classifiers/Classifier.html" title="class in weka.classifiers">Classifier</A>&nbsp;classifier)</PRE><DL><DD>Set the classifier to use.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>classifier</CODE> - the classifier to use</DL></DD></DL><HR><A NAME="setDataGenerator(weka.gui.boundaryvisualizer.DataGenerator)"><!-- --></A><H3>setDataGenerator</H3><PRE>public void <B>setDataGenerator</B>(<A HREF="../../../weka/gui/boundaryvisualizer/DataGenerator.html" title="interface in weka.gui.boundaryvisualizer">DataGenerator</A>&nbsp;dataGenerator)</PRE><DL><DD>Set the data generator to use for generating new instances<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dataGenerator</CODE> - the data generator to use</DL></DD></DL><HR><A NAME="setXAttribute(int)"><!-- --></A><H3>setXAttribute</H3><PRE>public void <B>setXAttribute</B>(int&nbsp;xatt)                   throws java.lang.Exception</PRE><DL><DD>Set the x attribute index<P><DD><DL><DT><B>Parameters:</B><DD><CODE>xatt</CODE> - index of the attribute to use on the x axis<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="setYAttribute(int)"><!-- --></A><H3>setYAttribute</H3><PRE>public void <B>setYAttribute</B>(int&nbsp;yatt)                   throws java.lang.Exception</PRE><DL><DD>Set the y attribute index<P><DD><DL><DT><B>Parameters:</B><DD><CODE>yatt</CODE> - index of the attribute to use on the y axis<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -