algorithmpf.html,v
来自「包含了模式识别中常用的一些分类器设计算法」· HTML,V 代码 · 共 766 行 · 第 1/2 页
HTML,V
766 行
double[] y2, int 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<MyPoint> v, java.util.Vector<MyPoint> 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 mean_x_a, double mean_y_a, int 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<MyPoint> <B>transformPCA</B>(int point_index_a, int 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> </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> </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="AlgorithmPCA2.html" title="class in <Unnamed>"><B>PREV CLASS</B></A> <A HREF="AlgorithmRVM.html" title="class in <Unnamed>"><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> <A HREF="AlgorithmPF.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 | FIELD | <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>@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> 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<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> y_estimate, java.util.Vector<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> iset)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="AlgorithmPF.html#autocorrelate(java.util.Vector, double[])">autocorrelate</A></B>(java.util.Vector<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> v, double[] autoCoeff_co)</CODE><BR> Actaully computes the autocorrelation coefficients</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="AlgorithmPF.html#autoCorrelation()">autoCorrelation</A></B>()</CODE><BR> 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> double</CODE></FONT></TD><TD><CODE><B><A HREF="AlgorithmPF.html#calculate_pfc(double[], double[], double[])">calculate_pfc</A></B>(double[] auto_coeff, double[] pfc, double[] rc_reg)</CODE><BR> 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<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> 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[] auto_coeff, double[] refCoef, double[] final_pfc, double est_err, double act_err, int index, int length)</CODE><BR> 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> 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<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> iset, java.util.Vector<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> y_estimate, double avg, double[] final_pfc)</CODE>d144 1a144 9 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="AlgorithmPF.html#final_estimate()">final_estimate</A></B>()</CODE><BR> 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<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> v, java.util.Vector<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> 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<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> v, java.util.Vector<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> mv)</CODE>a174 8<TD><CODE><B><A HREF="AlgorithmPF.html#pfcCoefficient()">pfcCoefficient</A></B>()</CODE><BR> 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> 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 <Unnamed>">MyPoint</A> u1, <A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A> u2, <A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A> r,d206 3a208 2<CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="AlgorithmPF.html#step2_display()">step2_display</A></B>()</CODE>d211 2a212 1 Displays PF order, Error Energy and Reflection Coefficients</TD>d285 1a285 1public boolean <B>checkdata_PF</B>(java.util.Vector<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> pf)</PRE>d318 2a319 2public void <B>interpol</B>(java.util.Vector<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> v, java.util.Vector<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> iset)</PRE>d348 3a350 3public void <B>splint</B>(<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A> u1, <A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A> u2, <A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A> r,d366 2a367 2public double <B>mean</B>(java.util.Vector<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> v, java.util.Vector<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> 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<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> v, double[] 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[] auto_coeff, double[] pfc, double[] 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<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> iset, java.util.Vector<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> y_estimate, double avg, double[] 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<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> y_estimate, java.util.Vector<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> 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[] auto_coeff, double[] refCoef, double[] final_pfc, double est_err, double act_err, int index, int 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 + -
显示快捷键?