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

📄 discretefunction.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<A NAME="DiscreteFunction()"><!-- --></A><H3>DiscreteFunction</H3><PRE>public <B>DiscreteFunction</B>()</PRE><DL><DD>Constructs an empty discrete function<P></DL><HR><A NAME="DiscreteFunction(weka.classifiers.functions.pace.DoubleVector)"><!-- --></A><H3>DiscreteFunction</H3><PRE>public <B>DiscreteFunction</B>(<A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A>&nbsp;p)</PRE><DL><DD>Constructs a discrete function with the point values provides and the  function values are all 1/n.<P><DT><B>Parameters:</B><DD><CODE>p</CODE> - the point values</DL><HR><A NAME="DiscreteFunction(weka.classifiers.functions.pace.DoubleVector, weka.classifiers.functions.pace.DoubleVector)"><!-- --></A><H3>DiscreteFunction</H3><PRE>public <B>DiscreteFunction</B>(<A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A>&nbsp;p,                        <A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace">DoubleVector</A>&nbsp;v)</PRE><DL><DD>Constructs a discrete function with both the point values and  function values provided.<P><DT><B>Parameters:</B><DD><CODE>p</CODE> - the point values<DD><CODE>v</CODE> - the function values</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="normalize()"><!-- --></A><H3>normalize</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DiscreteFunction.html" title="class in weka.classifiers.functions.pace">DiscreteFunction</A> <B>normalize</B>()</PRE><DL><DD>Normalizes the function values with L1-norm.<P><DD><DL></DL></DD></DL><HR><A NAME="sort()"><!-- --></A><H3>sort</H3><PRE>public void <B>sort</B>()</PRE><DL><DD>Sorts the point values of the discrete function.<P><DD><DL></DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD>Clones the discrete function<P><DD><DL></DL></DD></DL><HR><A NAME="unique()"><!-- --></A><H3>unique</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DiscreteFunction.html" title="class in weka.classifiers.functions.pace">DiscreteFunction</A> <B>unique</B>()</PRE><DL><DD>Makes each individual point value unique<P><DD><DL></DL></DD></DL><HR><A NAME="size()"><!-- --></A><H3>size</H3><PRE>public int <B>size</B>()</PRE><DL><DD>Returns the size of the point set.<P><DD><DL></DL></DD></DL><HR><A NAME="getPointValue(int)"><!-- --></A><H3>getPointValue</H3><PRE>public double <B>getPointValue</B>(int&nbsp;i)</PRE><DL><DD>Gets a particular point value<P><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - the index</DL></DD></DL><HR><A NAME="getFunctionValue(int)"><!-- --></A><H3>getFunctionValue</H3><PRE>public double <B>getFunctionValue</B>(int&nbsp;i)</PRE><DL><DD>Gets a particular function value<P><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - the index</DL></DD></DL><HR><A NAME="setPointValue(int, double)"><!-- --></A><H3>setPointValue</H3><PRE>public void <B>setPointValue</B>(int&nbsp;i,                          double&nbsp;p)</PRE><DL><DD>Sets a particular point value<P><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - the index</DL></DD></DL><HR><A NAME="setFunctionValue(int, double)"><!-- --></A><H3>setFunctionValue</H3><PRE>public void <B>setFunctionValue</B>(int&nbsp;i,                             double&nbsp;v)</PRE><DL><DD>Sets a particular function value<P><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - the index</DL></DD></DL><HR><A NAME="isEmpty()"><!-- --></A><H3>isEmpty</H3><PRE>public boolean <B>isEmpty</B>()</PRE><DL><DD>Returns true if it is empty.<P><DD><DL></DL></DD></DL><HR><A NAME="plus(weka.classifiers.functions.pace.DiscreteFunction)"><!-- --></A><H3>plus</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DiscreteFunction.html" title="class in weka.classifiers.functions.pace">DiscreteFunction</A> <B>plus</B>(<A HREF="../../../../weka/classifiers/functions/pace/DiscreteFunction.html" title="class in weka.classifiers.functions.pace">DiscreteFunction</A>&nbsp;d)</PRE><DL><DD>Returns the combined of two discrete functions<P><DD><DL><DT><B>Parameters:</B><DD><CODE>d</CODE> - the second discrete function<DT><B>Returns:</B><DD>the combined discrte function</DL></DD></DL><HR><A NAME="plusEquals(weka.classifiers.functions.pace.DiscreteFunction)"><!-- --></A><H3>plusEquals</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DiscreteFunction.html" title="class in weka.classifiers.functions.pace">DiscreteFunction</A> <B>plusEquals</B>(<A HREF="../../../../weka/classifiers/functions/pace/DiscreteFunction.html" title="class in weka.classifiers.functions.pace">DiscreteFunction</A>&nbsp;d)</PRE><DL><DD>Returns the combined of two discrete functions. The first function is replaced with the new one.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>d</CODE> - the second discrete function<DT><B>Returns:</B><DD>the combined discrte function</DL></DD></DL><HR><A NAME="timesEquals(double)"><!-- --></A><H3>timesEquals</H3><PRE>public <A HREF="../../../../weka/classifiers/functions/pace/DiscreteFunction.html" title="class in weka.classifiers.functions.pace">DiscreteFunction</A> <B>timesEquals</B>(double&nbsp;x)</PRE><DL><DD>All function values are multiplied by a double<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the multiplier</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Converts the discrete function to string.<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[]&nbsp;args)</PRE><DL><DD><DL></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=3 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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../Tutorial.pdf"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/index.html"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../weka/classifiers/functions/pace/ChisqMixture.html" title="class in weka.classifiers.functions.pace"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../weka/classifiers/functions/pace/DoubleVector.html" title="class in weka.classifiers.functions.pace"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="DiscreteFunction.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -