📄 preprocesspanel.html
字号:
</DL></DD></DL><HR><A NAME="setInstancesFromDBQ(java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>setInstancesFromDBQ</H3><PRE>public void <B>setInstancesFromDBQ</B>(java.lang.String url, java.lang.String user, java.lang.String pw, java.lang.String query)</PRE><DL><DD>Loads instances from an SQL query the user provided with the SqlViewerDialog, then loads the instances in a background process. This is done in the IO thread, and an error message is popped up if the IO thread is busy.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>url</CODE> - the database URL<DD><CODE>user</CODE> - the user to connect as<DD><CODE>pw</CODE> - the password of the user<DD><CODE>query</CODE> - the query for retrieving instances from</DL></DD></DL><HR><A NAME="setInstancesFromURLQ()"><!-- --></A><H3>setInstancesFromURLQ</H3><PRE>public void <B>setInstancesFromURLQ</B>()</PRE><DL><DD>Queries the user for a URL to load instances from, then loads the instances in a background process. This is done in the IO thread, and an error message is popped up if the IO thread is busy.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="generateInstances()"><!-- --></A><H3>generateInstances</H3><PRE>public void <B>generateInstances</B>()</PRE><DL><DD>sets Instances generated via DataGenerators (pops up a Dialog)<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setInstancesFromFile(weka.core.converters.AbstractFileLoader)"><!-- --></A><H3>setInstancesFromFile</H3><PRE>public void <B>setInstancesFromFile</B>(<A HREF="../../../weka/core/converters/AbstractFileLoader.html" title="class in weka.core.converters">AbstractFileLoader</A> loader)</PRE><DL><DD>Loads results from a set of instances retrieved with the supplied loader. This is started in the IO thread, and a dialog is popped up if there's a problem.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>loader</CODE> - the loader to use</DL></DD></DL><HR><A NAME="setInstancesFromDB(weka.experiment.InstanceQuery)"><!-- --></A><H3>setInstancesFromDB</H3><PRE>public void <B>setInstancesFromDB</B>(<A HREF="../../../weka/experiment/InstanceQuery.html" title="class in weka.experiment">InstanceQuery</A> iq)</PRE><DL><DD>Loads instances from a database<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>iq</CODE> - the InstanceQuery object to load from (this is assumed to have been already connected to a valid database).</DL></DD></DL><HR><A NAME="setInstancesFromURL(java.net.URL)"><!-- --></A><H3>setInstancesFromURL</H3><PRE>public void <B>setInstancesFromURL</B>(java.net.URL u)</PRE><DL><DD>Loads instances from a URL.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>u</CODE> - the URL to load from.</DL></DD></DL><HR><A NAME="addUndoPoint()"><!-- --></A><H3>addUndoPoint</H3><PRE>public void <B>addUndoPoint</B>() throws java.lang.Exception</PRE><DL><DD>Backs up the current state of the dataset, so the changes can be undone.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL></DD></DL><HR><A NAME="undo()"><!-- --></A><H3>undo</H3><PRE>public void <B>undo</B>()</PRE><DL><DD>Reverts to the last backed up version of the dataset.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="edit()"><!-- --></A><H3>edit</H3><PRE>public void <B>edit</B>()</PRE><DL><DD>edits the current instances object in the viewer<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setExplorer(weka.gui.explorer.Explorer)"><!-- --></A><H3>setExplorer</H3><PRE>public void <B>setExplorer</B>(<A HREF="../../../weka/gui/explorer/Explorer.html" title="class in weka.gui.explorer">Explorer</A> parent)</PRE><DL><DD>Sets the Explorer to use as parent frame (used for sending notifications about changes in the data)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent frame</DL></DD></DL><HR><A NAME="getExplorer()"><!-- --></A><H3>getExplorer</H3><PRE>public <A HREF="../../../weka/gui/explorer/Explorer.html" title="class in weka.gui.explorer">Explorer</A> <B>getExplorer</B>()</PRE><DL><DD>returns the parent Explorer frame<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the parent</DL></DD></DL><HR><A NAME="capabilitiesFilterChanged(weka.gui.explorer.Explorer.CapabilitiesFilterChangeEvent)"><!-- --></A><H3>capabilitiesFilterChanged</H3><PRE>public void <B>capabilitiesFilterChanged</B>(<A HREF="../../../weka/gui/explorer/Explorer.CapabilitiesFilterChangeEvent.html" title="class in weka.gui.explorer">Explorer.CapabilitiesFilterChangeEvent</A> e)</PRE><DL><DD>method gets called in case of a change event<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/explorer/Explorer.CapabilitiesFilterChangeListener.html#capabilitiesFilterChanged(weka.gui.explorer.Explorer.CapabilitiesFilterChangeEvent)">capabilitiesFilterChanged</A></CODE> in interface <CODE><A HREF="../../../weka/gui/explorer/Explorer.CapabilitiesFilterChangeListener.html" title="interface in weka.gui.explorer">Explorer.CapabilitiesFilterChangeListener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - the associated change event</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>Tests out the instance-preprocessing panel from the command line.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>args</CODE> - ignored</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"> <A HREF="../../../weka/gui/explorer/ExplorerDefaults.html" title="class in weka.gui.explorer"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?weka/gui/explorer/PreprocessPanel.html" target="_top"><B>FRAMES</B></A> <A HREF="PreprocessPanel.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="#fields_inherited_from_class_javax.swing.JComponent">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: FIELD | <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 + -