algorithmpf.html,v

来自「包含了模式识别中常用的一些分类器设计算法」· HTML,V 代码 · 共 766 行 · 第 1/2 页

HTML,V
766
字号
                   double[]&nbsp;y2,                   int&nbsp;i)</PRE><DL><DD>Interpolates for a point between the two known points using Cubic Interpolation<P><DD><DL><DT><B>Parameters:</B><DD><CODE>u1</CODE> - start point for the interpolation<DD><CODE>u2</CODE> - end point for the interpolation<DD><CODE>r</CODE> - returning point, basically the interpolated point<DD><CODE>y2</CODE> - array used for reassigning of r<DD><CODE>i</CODE> - the sample number</DL></DD></DL><HR><A NAME="mean(java.util.Vector, java.util.Vector)"><!-- --></A><H3>mean</H3><PRE>public double <B>mean</B>(java.util.Vector&lt;MyPoint&gt;&nbsp;v,                   java.util.Vector&lt;MyPoint&gt;&nbsp;mv)</PRE><DL><DD>Calculates the mean and the zero-mean data points<P><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - orginal datapoints<DD><CODE>mv</CODE> - zero mean datapoints<DT><B>Returns:</B><DD>The average in a double</DL></DD></DL><HR><A NAME="drawGaussian(double, double, int)"><!-- --></A><H3>drawGaussian</H3><PRE>public void <B>drawGaussian</B>(double&nbsp;mean_x_a,                         double&nbsp;mean_y_a,                         int&nbsp;set_index_a)</PRE><DL><DD>Draws Gaussian points around each data point<P><DD><DL><DT><B>Parameters:</B><DD><CODE>mean_x_a</CODE> - double x value of mean point<DD><CODE>mean_y_a</CODE> - double y value of mean point<DD><CODE>set_index_a</CODE> - which data set of points to draw gaussian</DL></DD></DL><HR><A NAME="transformPCA(int, int)"><!-- --></A><H3>transformPCA</H3><PRE>public java.util.Vector&lt;MyPoint&gt; <B>transformPCA</B>(int&nbsp;point_index_a,                                              int&nbsp;set_index_a)</PRE><DL><DD>Transforms a given set of points to a new space using the class independent principal component analysis algorithm<P><DD><DL><DT><B>Parameters:</B><DD><CODE>point_index_a</CODE> - the index in the data vector to use<DD><CODE>set_index_a</CODE> - the set to use<DT><B>Returns:</B><DD>a vector of points in a circle</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="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="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</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="AlgorithmPCA2.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="AlgorithmRVM.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="index.html?AlgorithmPF.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="AlgorithmPF.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>@1.1log@temp.text@text@d5 1a5 1<!-- Generated by javadoc (build 1.5.0_03) on Fri Jun 03 16:18:39 CDT 2005 -->a129 38<CODE>&nbsp;double</CODE></FONT></TD><TD><CODE><B><A HREF="AlgorithmPF.html#actual_error(java.util.Vector, java.util.Vector)">actual_error</A></B>(java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;y_estimate,             java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;iset)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compute the actual error from the given data points and the estimated values.</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><A HREF="AlgorithmPF.html#autocorrelate(java.util.Vector, double[])">autocorrelate</A></B>(java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;v,              double[]&nbsp;autoCoeff_co)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Actaully computes the autocorrelation coefficients</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><A HREF="AlgorithmPF.html#autoCorrelation()">autoCorrelation</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Computes the autocorrelation coeffient from the data sets</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;double</CODE></FONT></TD><TD><CODE><B><A HREF="AlgorithmPF.html#calculate_pfc(double[], double[], double[])">calculate_pfc</A></B>(double[]&nbsp;auto_coeff,              double[]&nbsp;pfc,              double[]&nbsp;rc_reg)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Actually calculate the PF coefficient and the Residual Error  Energy, and Reflection Coefficients</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">d131 1a131 1<TD><CODE><B><A HREF="AlgorithmPF.html#checkdata_PF(java.util.Vector)">checkdata_PF</A></B>(java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;pf)</CODE>d139 3a141 18<TD><CODE><B><A HREF="AlgorithmPF.html#display_result(double[], double[], double[], double, double, int, int)">display_result</A></B>(double[]&nbsp;auto_coeff,               double[]&nbsp;refCoef,               double[]&nbsp;final_pfc,               double&nbsp;est_err,               double&nbsp;act_err,               int&nbsp;index,               int&nbsp;length)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Display the results in the process box</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><A HREF="AlgorithmPF.html#estimate(java.util.Vector, java.util.Vector, double, double[])">estimate</A></B>(java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;iset,         java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;y_estimate,         double&nbsp;avg,         double[]&nbsp;final_pfc)</CODE>d144 1a144 9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Estimates the amplitude based on the PF coeficients.</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><A HREF="AlgorithmPF.html#final_estimate()">final_estimate</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates the estimated points for the data inputs</TD>d157 2a158 2<TD><CODE><B><A HREF="AlgorithmPF.html#interpol(java.util.Vector, java.util.Vector)">interpol</A></B>(java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;v,         java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;iset)</CODE>d166 2a167 2<TD><CODE><B><A HREF="AlgorithmPF.html#mean(java.util.Vector, java.util.Vector)">mean</A></B>(java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;v,     java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;mv)</CODE>a174 8<TD><CODE><B><A HREF="AlgorithmPF.html#pfcCoefficient()">pfcCoefficient</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Computes the Particle Filtering coefficient from the data sets</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD>d194 3a196 3<TD><CODE><B><A HREF="AlgorithmPF.html#splint(MyPoint, MyPoint, MyPoint, double[], int)">splint</A></B>(<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&nbsp;u1,       <A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&nbsp;u2,       <A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&nbsp;r,d206 3a208 2<CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="AlgorithmPF.html#step2_display()">step2_display</A></B>()</CODE>d211 2a212 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Displays PF order, Error Energy and Reflection Coefficients</TD>d285 1a285 1public boolean <B>checkdata_PF</B>(java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;pf)</PRE>d318 2a319 2public void <B>interpol</B>(java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;v,                     java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;iset)</PRE>d348 3a350 3public void <B>splint</B>(<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&nbsp;u1,                   <A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&nbsp;u2,                   <A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&nbsp;r,d366 2a367 2public double <B>mean</B>(java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;v,                   java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;mv)</PRE>d378 2a379 15<A NAME="autoCorrelation()"><!-- --></A><H3>autoCorrelation</H3><PRE>public void <B>autoCorrelation</B>()</PRE><DL><DD>Computes the autocorrelation coeffient from the data sets<P><DD><DL></DL></DD></DL><HR><A NAME="autocorrelate(java.util.Vector, double[])"><!-- --></A><H3>autocorrelate</H3>d381 3a383 2public void <B>autocorrelate</B>(java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;v,                          double[]&nbsp;autoCoeff_co)</PRE>d385 1a385 1<DD>Actaully computes the autocorrelation coefficientsd388 1a388 89<DT><B>Parameters:</B><DD><CODE>v</CODE> - Vector of datapoints<DD><CODE>autoCoeff_co</CODE> - array of autocorrelation coefficients</DL></DD></DL><HR><A NAME="pfcCoefficient()"><!-- --></A><H3>pfcCoefficient</H3><PRE>public void <B>pfcCoefficient</B>()</PRE><DL><DD>Computes the Particle Filtering coefficient from the data sets<P><DD><DL></DL></DD></DL><HR><A NAME="calculate_pfc(double[], double[], double[])"><!-- --></A><H3>calculate_pfc</H3><PRE>public double <B>calculate_pfc</B>(double[]&nbsp;auto_coeff,                            double[]&nbsp;pfc,                            double[]&nbsp;rc_reg)</PRE><DL><DD>Actually calculate the PF coefficient and the Residual Error  Energy, and Reflection Coefficients<P><DD><DL><DT><B>Parameters:</B><DD><CODE>auto_coeff</CODE> - array of auto correlation coefficients<DD><CODE>pfc</CODE> - array of particle filtering coefficients<DD><CODE>rc_reg</CODE> - array of reflection coefficients<DT><B>Returns:</B><DD>residual error energy in a double</DL></DD></DL><HR><A NAME="final_estimate()"><!-- --></A><H3>final_estimate</H3><PRE>public void <B>final_estimate</B>()</PRE><DL><DD>Calculates the estimated points for the data inputs<P><DD><DL></DL></DD></DL><HR><A NAME="estimate(java.util.Vector, java.util.Vector, double, double[])"><!-- --></A><H3>estimate</H3><PRE>public void <B>estimate</B>(java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;iset,                     java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;y_estimate,                     double&nbsp;avg,                     double[]&nbsp;final_pfc)</PRE><DL><DD>Estimates the amplitude based on the PF coeficients.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>iset</CODE> - interpolated data points<DD><CODE>y_estimate</CODE> - predicted final signal data points<DD><CODE>avg</CODE> - mean of the original datapoints given<DD><CODE>final_pfc</CODE> - array of final particle filtering coefficients</DL></DD></DL><HR><A NAME="actual_error(java.util.Vector, java.util.Vector)"><!-- --></A><H3>actual_error</H3><PRE>public double <B>actual_error</B>(java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;y_estimate,                           java.util.Vector&lt;<A HREF="MyPoint.html" title="class in &lt;Unnamed&gt;">MyPoint</A>&gt;&nbsp;iset)</PRE><DL><DD>Compute the actual error from the given data points and the estimated values.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>y_estimate</CODE> - datapoints of the estimated datapoints<DD><CODE>iset</CODE> - original datapoints<DT><B>Returns:</B><DD>actual error energy in a double</DL></DD></DL><HR><A NAME="step2_display()"><!-- --></A><H3>step2_display</H3><PRE>public void <B>step2_display</B>()</PRE><DL><DD>Displays PF order, Error Energy and Reflection Coefficients<P><DD><DL></DL>d393 2a394 2<A NAME="display_result(double[], double[], double[], double, double, int, int)"><!-- --></A><H3>display_result</H3>d396 2a397 7public void <B>display_result</B>(double[]&nbsp;auto_coeff,                           double[]&nbsp;refCoef,                           double[]&nbsp;final_pfc,                           double&nbsp;est_err,                           double&nbsp;act_err,                           int&nbsp;index,                           int&nbsp;length)</PRE>d399 2a400 1<DD>Display the results in the process boxd403 2a404 1<DT><B>Parameters:</B><DD><CODE>auto_coeff</CODE> - Auto Correlation Coefficients<DD><CODE>refCoef</CODE> - Refelction Coefficient<DD><CODE>final_pfc</CODE> - Particle Filering Coefficients<DD><CODE>est_err</CODE> - Estimated Error<DD><CODE>act_err</CODE> - Actual Error<DD><CODE>length</CODE> - Length of the data points</DL>@

⌨️ 快捷键说明

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