📄 algorithmlda.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="AlgorithmLDA()"><!-- --></A><H3>AlgorithmLDA</H3><PRE>public <B>AlgorithmLDA</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="initialize()"><!-- --></A><H3>initialize</H3><PRE>public boolean <B>initialize</B>()</PRE><DL><DD>Overrides the initialize() method in the base class. Initializes member data and prepares for execution of first step. This method "resets" the algorithm.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="Algorithm.html#initialize()">initialize</A></CODE> in class <CODE><A HREF="Algorithm.html" title="class in <Unnamed>">Algorithm</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Returns true.</DL></DD></DL><HR><A NAME="withinClass(Matrix)"><!-- --></A><H3>withinClass</H3><PRE>public void <B>withinClass</B>(<A HREF="Matrix.html" title="class in <Unnamed>">Matrix</A> M)</PRE><DL><DD>Determines the within class scatter matrix<P><DD><DL><DT><B>Parameters:</B><DD><CODE>M</CODE> - Matrix for within class scatter matrix<DT><B>See Also:</B><DD><A HREF="Matrix.html" title="class in <Unnamed>"><CODE>Matrix</CODE></A></DL></DD></DL><HR><A NAME="betweenClass(Matrix)"><!-- --></A><H3>betweenClass</H3><PRE>public void <B>betweenClass</B>(<A HREF="Matrix.html" title="class in <Unnamed>">Matrix</A> M)</PRE><DL><DD>Determines the between class scatter matrix for the class independent linear discrimination algorithm<P><DD><DL><DT><B>Parameters:</B><DD><CODE>M</CODE> - Matrix for storing between class scatter matrix<DT><B>See Also:</B><DD><A HREF="Matrix.html" title="class in <Unnamed>"><CODE>Matrix</CODE></A></DL></DD></DL><HR><A NAME="run()"><!-- --></A><H3>run</H3><PRE>public void <B>run</B>()</PRE><DL><DD>Implementation of the run function from the Runnable interface. Determines what the current step is and calls the appropriate method.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>run</CODE> in interface <CODE>java.lang.Runnable</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="Algorithm.html#run()">run</A></CODE> in class <CODE><A HREF="Algorithm.html" title="class in <Unnamed>">Algorithm</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="displayMatrices()"><!-- --></A><H3>displayMatrices</H3><PRE>public void <B>displayMatrices</B>()</PRE><DL><DD>Display two matrices - covariance matrix and the transformation matrix in the text message window<P><DD><DL></DL></DD></DL><HR><A NAME="transformLDA(DataPoints, Matrix)"><!-- --></A><H3>transformLDA</H3><PRE>public void <B>transformLDA</B>(<A HREF="DataPoints.html" title="class in <Unnamed>">DataPoints</A> d, <A HREF="Matrix.html" title="class in <Unnamed>">Matrix</A> S)</PRE><DL><DD>Transforms a given set of points to a new space using the class independent linear discrimination analysis algorithm<P><DD><DL><DT><B>Parameters:</B><DD><CODE>d</CODE> - Datapoint - input data point<DD><CODE>S</CODE> - Matrix containing between class to within class ratio<DT><B>See Also:</B><DD><A HREF="DataPoints.html" title="class in <Unnamed>"><CODE>DataPoints</CODE></A>, <A HREF="Matrix.html" title="class in <Unnamed>"><CODE>Matrix</CODE></A></DL></DD></DL><HR><A NAME="computeDecisionRegions()"><!-- --></A><H3>computeDecisionRegions</H3><PRE>public void <B>computeDecisionRegions</B>()</PRE><DL><DD>Computes the line of discrimination for class independent LDA<P><DD><DL></DL></DD></DL><HR><A NAME="computeErrors()"><!-- --></A><H3>computeErrors</H3><PRE>public void <B>computeErrors</B>()</PRE><DL><DD>Counts the data points in each set in error and displays them on the text message window<P><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=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="AlgorithmLBG.html" title="class in <Unnamed>"><B>PREV CLASS</B></A> <A HREF="AlgorithmLDA2.html" title="class in <Unnamed>"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="index.html?AlgorithmLDA.html" target="_top"><B>FRAMES</B></A> <A HREF="AlgorithmLDA.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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -