resultwriter.html
来自「数据挖掘方面最新软件」· HTML 代码 · 共 434 行 · 第 1/2 页
HTML
434 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.5.0_13) on Mon Jul 14 01:36:26 CEST 2008 --><TITLE>ResultWriter (RapidMiner Class Documentation)</TITLE><META NAME="keywords" CONTENT="com.rapidminer.operator.io.ResultWriter class"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="ResultWriter (RapidMiner Class Documentation)";}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" 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_top_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="class-use/ResultWriter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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="../../../../com/rapidminer/operator/io/ResultSetExampleSource.html" title="class in com.rapidminer.operator.io"><B>PREV CLASS</B></A> <A HREF="../../../../com/rapidminer/operator/io/SimpleExampleSource.html" title="class in com.rapidminer.operator.io"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/rapidminer/operator/io/ResultWriter.html" target="_top"><B>FRAMES</B></A> <A HREF="ResultWriter.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: NESTED | <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_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">com.rapidminer.operator.io</FONT><BR>Class ResultWriter</H2><PRE>java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">com.rapidminer.operator.Operator</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.rapidminer.operator.io.ResultWriter</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/rapidminer/gui/wizards/ConfigurationListener.html" title="interface in com.rapidminer.gui.wizards">ConfigurationListener</A>, <A HREF="../../../../com/rapidminer/gui/wizards/PreviewListener.html" title="interface in com.rapidminer.gui.wizards">PreviewListener</A>, <A HREF="../../../../com/rapidminer/parameter/ParameterHandler.html" title="interface in com.rapidminer.parameter">ParameterHandler</A>, <A HREF="../../../../com/rapidminer/tools/LoggingHandler.html" title="interface in com.rapidminer.tools">LoggingHandler</A></DD></DL><HR><DL><DT><PRE>public class <B>ResultWriter</B><DT>extends <A HREF="../../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A></DL></PRE><P>This operator can be used at each point in an operator chain. It returns all input it receives without any modification. Every input object which implements the <A HREF="../../../../com/rapidminer/operator/ResultObject.html" title="interface in com.rapidminer.operator"><CODE>ResultObject</CODE></A> interface (which is the case for almost all objects generated by the core RapidMiner operators) will write its results to the file specified by the parameter <var>result_file</var>. If the definition of this parameter is ommited then the global result file parameter with the same name of the ProcessRootOperator (the root of the process) will be used. If this file is also not specified the results are simply written to the console (standard out).<P><P><DL><DT><B>Version:</B></DT> <DD>$Id: ResultWriter.java,v 1.9 2008/07/07 07:06:38 ingomierswa Exp $</DD><DT><B>Author:</B></DT> <DD>Ingo Mierswa</DD></DL><HR><P><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Field Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/operator/io/ResultWriter.html#PARAMETER_RESULT_FILE">PARAMETER_RESULT_FILE</A></B></CODE><BR> The parameter name for "Appends the descriptions of the input objects to this file.</TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../com/rapidminer/operator/io/ResultWriter.html#ResultWriter(com.rapidminer.operator.OperatorDescription)">ResultWriter</A></B>(<A HREF="../../../../com/rapidminer/operator/OperatorDescription.html" title="class in com.rapidminer.operator">OperatorDescription</A> description)</CODE><BR> </TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../com/rapidminer/operator/IOObject.html" title="interface in com.rapidminer.operator">IOObject</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/operator/io/ResultWriter.html#apply()">apply</A></B>()</CODE><BR> Use the ResultService to write the results of all input ResultObjects into the result file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Class<?>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/operator/io/ResultWriter.html#getInputClasses()">getInputClasses</A></B>()</CODE><BR> Returns an empty array.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Class<?>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/operator/io/ResultWriter.html#getOutputClasses()">getOutputClasses</A></B>()</CODE><BR> Returns an empty array.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.List<<A HREF="../../../../com/rapidminer/parameter/ParameterType.html" title="class in com.rapidminer.parameter">ParameterType</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/operator/io/ResultWriter.html#getParameterTypes()">getParameterTypes</A></B>()</CODE><BR> Returns a list of <tt>ParameterTypes</tt> describing the parameters of this operator.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/rapidminer/operator/io/ResultWriter.html#processStarts()">processStarts</A></B>()</CODE><BR> Called when the process starts.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.rapidminer.operator.Operator"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.rapidminer.operator.<A HREF="../../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../com/rapidminer/operator/Operator.html#addError(java.lang.String)">addError</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#addValue(com.rapidminer.operator.Value)">addValue</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#addWarning(java.lang.String)">addWarning</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#apply(com.rapidminer.operator.IOContainer)">apply</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#checkDeprecations()">checkDeprecations</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#checkForStop()">checkForStop</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#checkIO(java.lang.Class[])">checkIO</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#checkProperties()">checkProperties</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#clearErrorList()">clearErrorList</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#cloneOperator(java.lang.String)">cloneOperator</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#createExperimentTree(int)">createExperimentTree</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#createExperimentTree(int, java.lang.String, java.lang.String, com.rapidminer.operator.Operator, java.lang.String)">createExperimentTree</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#createFromXML(org.w3c.dom.Element)">createFromXML</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#createMarkedExperimentTree(int, java.lang.String, com.rapidminer.operator.Operator)">createMarkedExperimentTree</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#createMarkedProcessTree(int, java.lang.String, com.rapidminer.operator.Operator)">createMarkedProcessTree</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#createProcessTree(int)">createProcessTree</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#createProcessTree(int, java.lang.String, java.lang.String, com.rapidminer.operator.Operator, java.lang.String)">createProcessTree</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getAddOnlyAdditionalOutput()">getAddOnlyAdditionalOutput</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getApplyCount()">getApplyCount</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getDeliveredOutputClasses()">getDeliveredOutputClasses</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getDeprecationInfo()">getDeprecationInfo</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getDesiredInputClasses()">getDesiredInputClasses</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getEncoding()">getEncoding</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getErrorList()">getErrorList</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getExperiment()">getExperiment</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getInnerOperatorsXML(java.lang.String)">getInnerOperatorsXML</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getInput()">getInput</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getInput(java.lang.Class)">getInput</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getInput(java.lang.Class, int)">getInput</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getInputDescription(java.lang.Class)">getInputDescription</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getIOContainerForInApplyLoopBreakpoint()">getIOContainerForInApplyLoopBreakpoint</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getLog()">getLog</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getName()">getName</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getOperatorClassName()">getOperatorClassName</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getOperatorDescription()">getOperatorDescription</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameter(java.lang.String)">getParameter</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterAsBoolean(java.lang.String)">getParameterAsBoolean</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterAsColor(java.lang.String)">getParameterAsColor</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterAsDouble(java.lang.String)">getParameterAsDouble</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterAsFile(java.lang.String)">getParameterAsFile</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterAsInt(java.lang.String)">getParameterAsInt</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterAsMatrix(java.lang.String)">getParameterAsMatrix</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterAsString(java.lang.String)">getParameterAsString</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterList(java.lang.String)">getParameterList</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameters()">getParameters</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParameterType(java.lang.String)">getParameterType</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getParent()">getParent</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getProcess()">getProcess</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getStartTime()">getStartTime</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getStatus()">getStatus</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getUserDescription()">getUserDescription</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getValue(java.lang.String)">getValue</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getValues()">getValues</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#getXML(java.lang.String)">getXML</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#hasBreakpoint()">hasBreakpoint</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#hasBreakpoint(int)">hasBreakpoint</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#hasInput(java.lang.Class)">hasInput</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#inApplyLoop()">inApplyLoop</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#isDebugMode()">isDebugMode</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#isEnabled()">isEnabled</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#isExpanded()">isExpanded</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#isParallel()">isParallel</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#isParameterSet(java.lang.String)">isParameterSet</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#log(java.lang.String)">log</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#logError(java.lang.String)">logError</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#logNote(java.lang.String)">logNote</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#logWarning(java.lang.String)">logWarning</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#performAdditionalChecks()">performAdditionalChecks</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#processFinished()">processFinished</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#register(com.rapidminer.Process, java.lang.String)">register</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#registerOperator(com.rapidminer.Process)">registerOperator</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#remove()">remove</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#rename(java.lang.String)">rename</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#resume()">resume</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setApplyCount(int)">setApplyCount</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setBreakpoint(int, boolean)">setBreakpoint</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setEnabled(boolean)">setEnabled</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setExpanded(boolean)">setExpanded</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setInput(com.rapidminer.operator.IOContainer)">setInput</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setListParameter(java.lang.String, java.util.List)">setListParameter</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setOperatorParameters(org.w3c.dom.Element)">setOperatorParameters</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setParameter(java.lang.String, java.lang.String)">setParameter</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setParameters(com.rapidminer.parameter.Parameters)">setParameters</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setParent(com.rapidminer.operator.OperatorChain)">setParent</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#setUserDescription(java.lang.String)">setUserDescription</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#toString()">toString</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#unregisterOperator(com.rapidminer.Process)">unregisterOperator</A>, <A HREF="../../../../com/rapidminer/operator/Operator.html#writeXML(java.io.PrintWriter, java.lang.String)">writeXML</A></CODE></TD>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?