exampleset.html

来自「数据挖掘方面最新软件」· HTML 代码 · 共 983 行 · 第 1/5 页

HTML
983
字号
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A></CODE></FONT></TD><TD><CODE><B>ExampleSetFactory.</B><B><A HREF="../../../../com/rapidminer/example/ExampleSetFactory.html#createExampleSet(double[][], int)">createExampleSet</A></B>(double[][]&nbsp;data,                 int&nbsp;classColumn)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a numerical example set from the given data matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A></CODE></FONT></TD><TD><CODE><B>ExampleSetFactory.</B><B><A HREF="../../../../com/rapidminer/example/ExampleSetFactory.html#createExampleSet(java.lang.Object[][])">createExampleSet</A></B>(java.lang.Object[][]&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a mixed-type example set from the given data matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A></CODE></FONT></TD><TD><CODE><B>ExampleSetFactory.</B><B><A HREF="../../../../com/rapidminer/example/ExampleSetFactory.html#createExampleSet(java.lang.Object[][], int)">createExampleSet</A></B>(java.lang.Object[][]&nbsp;data,                 int&nbsp;classColumn)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a numerical example set from the given data matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A></CODE></FONT></TD><TD><CODE><B>ExampleSetFactory.</B><B><A HREF="../../../../com/rapidminer/example/ExampleSetFactory.html#createExampleSet(java.lang.Object[][], java.lang.Object[])">createExampleSet</A></B>(java.lang.Object[][]&nbsp;data,                 java.lang.Object[]&nbsp;labels)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a numerical example set from the given data matrix.</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../com/rapidminer/example/package-summary.html">com.rapidminer.example</A> with parameters of type <A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>Tools.</B><B><A HREF="../../../../com/rapidminer/example/Tools.html#checkAndCreateIds(com.rapidminer.example.ExampleSet)">checkAndCreateIds</A></B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;es)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The example set has to have ids.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../com/rapidminer/example/ExampleFormatter.html" title="class in com.rapidminer.example">ExampleFormatter</A></CODE></FONT></TD><TD><CODE><B>ExampleFormatter.</B><B><A HREF="../../../../com/rapidminer/example/ExampleFormatter.html#compile(java.lang.String, com.rapidminer.example.ExampleSet, int, boolean)">compile</A></B>(java.lang.String&nbsp;formatString,        <A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet,        int&nbsp;fractionDigits,        boolean&nbsp;quoteWhitespace)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Factory method that compiles a format string and creates an instance of ExampleFormatter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>Tools.</B><B><A HREF="../../../../com/rapidminer/example/Tools.html#containsValueType(com.rapidminer.example.ExampleSet, int)">containsValueType</A></B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet,                  int&nbsp;valueType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>[]</CODE></FONT></TD><TD><CODE><B>Tools.</B><B><A HREF="../../../../com/rapidminer/example/Tools.html#createRegularAttributeArray(com.rapidminer.example.ExampleSet)">createRegularAttributeArray</A></B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A></CODE></FONT></TD><TD><CODE><B>Tools.</B><B><A HREF="../../../../com/rapidminer/example/Tools.html#createSpecialAttribute(com.rapidminer.example.ExampleSet, java.lang.String, int)">createSpecialAttribute</A></B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet,                       java.lang.String&nbsp;name,                       int&nbsp;valueType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A></CODE></FONT></TD><TD><CODE><B>Tools.</B><B><A HREF="../../../../com/rapidminer/example/Tools.html#createWeightAttribute(com.rapidminer.example.ExampleSet)">createWeightAttribute</A></B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>Tools.</B><B><A HREF="../../../../com/rapidminer/example/Tools.html#fillTableWithRandomValues(com.rapidminer.example.table.ExampleTable, com.rapidminer.example.ExampleSet, com.rapidminer.tools.RandomGenerator)">fillTableWithRandomValues</A></B>(<A HREF="../../../../com/rapidminer/example/table/ExampleTable.html" title="interface in com.rapidminer.example.table">ExampleTable</A>&nbsp;exampleTable,                          <A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;baseSet,                          <A HREF="../../../../com/rapidminer/tools/RandomGenerator.html" title="class in com.rapidminer.tools">RandomGenerator</A>&nbsp;random)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;After creation of a new MemoryExampleTable with given size all values are Double.NaN.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>AttributeParser.</B><B><A HREF="../../../../com/rapidminer/example/AttributeParser.html#generateAll(com.rapidminer.tools.LoggingHandler, com.rapidminer.example.ExampleSet, java.io.InputStream)">generateAll</A></B>(<A HREF="../../../../com/rapidminer/tools/LoggingHandler.html" title="interface in com.rapidminer.tools">LoggingHandler</A>&nbsp;logging,            <A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet,            java.io.InputStream&nbsp;in)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses all lines.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>[]</CODE></FONT></TD><TD><CODE><B>Tools.</B><B><A HREF="../../../../com/rapidminer/example/Tools.html#getRandomCompatibleAttributes(com.rapidminer.example.ExampleSet, com.rapidminer.generator.FeatureGenerator, int, java.lang.String[], java.util.Random)">getRandomCompatibleAttributes</A></B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet,                              <A HREF="../../../../com/rapidminer/generator/FeatureGenerator.html" title="class in com.rapidminer.generator">FeatureGenerator</A>&nbsp;generator,                              int&nbsp;maxDepth,                              java.lang.String[]&nbsp;functions,                              java.util.Random&nbsp;random)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD><TD><CODE><B>Tools.</B><B><A HREF="../../../../com/rapidminer/example/Tools.html#getRegularAttributeNames(com.rapidminer.example.ExampleSet)">getRegularAttributeNames</A></B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>Tools.</B><B><A HREF="../../../../com/rapidminer/example/Tools.html#hasNominalLabels(com.rapidminer.example.ExampleSet)">hasNominalLabels</A></B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;es)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The example set has to have nominal labels.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>Tools.</B><B><A HREF="../../../../com/rapidminer/example/Tools.html#isLabelled(com.rapidminer.example.ExampleSet)">isLabelled</A></B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;es)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The example set has to contain labels.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>Tools.</B><B><A HREF="../../../../com/rapidminer/example/Tools.html#isNonEmpty(com.rapidminer.example.ExampleSet)">isNonEmpty</A></B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;es)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The example set has to contain at least one example.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>Tools.</B><B><A HREF="../../../../com/rapidminer/example/Tools.html#onlyNominalAttributes(com.rapidminer.example.ExampleSet, java.lang.String)">onlyNominalAttributes</A></B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;es,                      java.lang.String&nbsp;task)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The attributes all have to be nominal or binary.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>Tools.</B><B><A HREF="../../../../com/rapidminer/example/Tools.html#onlyNonMissingValues(com.rapidminer.example.ExampleSet, java.lang.String)">onlyNonMissingValues</A></B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet,                     java.lang.String&nbsp;task)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The data set is not allowed to contain missing values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>Tools.</B><B><A HREF="../../../../com/rapidminer/example/Tools.html#onlyNumericalAttributes(com.rapidminer.example.ExampleSet, java.lang.String)">onlyNumericalAttributes</A></B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;es,                        java.lang.String&nbsp;task)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The attributes all have to be numerical.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>Tools.</B><B><A HREF="../../../../com/rapidminer/example/Tools.html#replaceValue(com.rapidminer.example.ExampleSet, com.rapidminer.example.Attribute, double, double)">replaceValue</A></B>(<A HREF="../../../../com/rapidminer/example/ExampleSet.html" title="interface in com.rapidminer.example">ExampleSet</A>&nbsp;exampleSet,             <A HREF="../../../../com/rapidminer/example/Attribute.html" title="interface in com.rapidminer.example">Attribute</A>&nbsp;attribute,             double&nbsp;oldValue,             double&nbsp;newValue)</CODE>

⌨️ 快捷键说明

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