type_garffrelation.html

来自「一个由Mike Gashler完成的机器学习方面的includes neural」· HTML 代码 · 共 93 行

HTML
93
字号
<html><head><title>Generated Documentation</title></head><body>	<image src="headerimage.png">	<br><br><table><tr><td><big><big><big style="font-family: arial;"><b>GArffRelation</b></big></big></big><br><br></td><td></td></tr></table><br><br><big><big><i>Statics (public)</i></big></big><br><div style="margin-left: 40px;">void <big><b>LoadArffFile</b></big>(<a href="type_GArffRelation.html">GArffRelation</a>* ppOutRelation, <a href="type_GArffData.html">GArffData</a>* ppOutData, const char* szFilename)<br><div style="margin-left: 80px;"><font color=brown> Loads an ARFF file and returns a GArffRelation and a GArffData.  You must delete them both. This will throw an exception if there's an error. (You should catch const char*)</font></div><br>void <big><b>ParseArffFile</b></big>(<a href="type_GArffRelation.html">GArffRelation</a>* ppOutRelation, <a href="type_GArffData.html">GArffData</a>* ppOutData, const char* szFile, int nLen)<br><div style="margin-left: 80px;"><font color=brown> Parses an ARFF file and returns a GArffRelation and a GArffData.  You must delete them both. This will throw an exception if there's an error. (You should catch const char*)</font></div><br></div><br><big><big><i>Constructors (public)</i></big></big><br><div style="margin-left: 40px;"><big><b>GArffRelation</b></big>()<br></div><br><big><big><i>Destructors</i></big></big><br><div style="margin-left: 40px;"><big><b>~GArffRelation</b></big>()<br></div><br><big><big><i>Public</i></big></big><br><div style="margin-left: 40px;">void <big><b>AddAttribute</b></big>(<a href="type_GArffAttribute.html">GArffAttribute</a>* pAttr)<br><div style="margin-left: 80px;"><font color=brown> Add an attribute to the relation</font></div><br>double <big><b>ComputeInputDistanceSquared</b></big>(const double* pRow1, double* pRow2)<br><div style="margin-left: 80px;"><font color=brown> Compute the square of the distance between the two points (using input values only)</font></div><br>double <big><b>ComputeOutputDistanceSquared</b></big>(double* pRow1, double* pRow2)<br><div style="margin-left: 80px;"><font color=brown> Compute the square of the distance between the two points (using output values only)</font></div><br>double <big><b>ComputeScaledInputDistanceSquared</b></big>(double* pRow1, double* pRow2, double* pScales)<br><div style="margin-left: 80px;"><font color=brown> Computes the squared distance between input points after scaling by the value in the array pInputScales.  (pScales should be an array with size equal to the number of attributes in the relation, even though only the values corresponding to input attributes are actually used.)</font></div><br>int <big><b>CountContinuousAttributes</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Returns the number of continuous attributes in the relation</font></div><br>int <big><b>CountVectorModeInputs</b></big>(int nCap)<br><div style="margin-left: 80px;"><font color=brown> Counts the size of the corresponding vector-mode input vector Enumerations with nCap or more values will be treated as a single continuous value</font></div><br>int <big><b>CountVectorModeOutputs</b></big>(int nCap)<br><div style="margin-left: 80px;"><font color=brown> Counts the size of the corresponding vector-mode output vector Enumerations with nCap or more values will be treated as a single continuous value</font></div><br><a href="type_GArffAttribute.html">GArffAttribute</a>* <big><b>GetAttribute</b></big>(int* nAttribute)<br><div style="margin-left: 80px;"><font color=brown> Returns the attribute at the specified attribute index</font></div><br>int <big><b>GetAttributeCount</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Returns the total number of attributes (both input and output) in this relation</font></div><br>int <big><b>GetInputCount</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Returns the number of input attributes in this relation</font></div><br>int <big><b>GetInputIndex</b></big>(int n)<br><div style="margin-left: 80px;"><font color=brown> Returns the attribute index of the n'th input attribute</font></div><br>char* <big><b>GetName</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Returns the name of the relation</font></div><br>int <big><b>GetOutputCount</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Returns the number of output attributes in this relation</font></div><br>int <big><b>GetOutputIndex</b></big>(int n)<br><div style="margin-left: 80px;"><font color=brown> Returns the attribute index of the n'th output attribute</font></div><br>void <big><b>InputsToVectorMode</b></big>(double* pIn, double* pOut, int nCap)<br><div style="margin-left: 80px;"><font color=brown> Converts a full normal-mode vector (pIn) to a vector-mode input-only vector (pOut) Enumerations with nCap or more values will be treated as a single continuous value</font></div><br>double <big><b>MeasureTotalOutputInfo</b></big>(<a href="type_GArffData.html">GArffData</a>* pData)<br><div style="margin-left: 80px;"><font color=brown> Returns the sum of entropy (for discreet attributes) and variance (for continuous attributes) for all output values in the data set</font></div><br>void <big><b>OutputsToVectorMode</b></big>(double* pIn, double* pOut, int nCap)<br><div style="margin-left: 80px;"><font color=brown> Converts a full normal-mode vector (pIn) to a vector-mode output-only vector (pOut) Enumerations with nCap or more values will be treated as a single continuous value</font></div><br>void <big><b>SaveArffFile</b></big>(<a href="type_GArffData.html">GArffData</a>* pData, const char* szFilename)<br><div style="margin-left: 80px;"><font color=brown> Writes out an ARFF file</font></div><br>void <big><b>VectorModeToOutputs</b></big>(double* pIn, double* pOut, int nCap)<br><div style="margin-left: 80px;"><font color=brown> Converts a vector-mode output-only vector (pIn) to a normal-mode full vector (pOut). (The inputs of pOut are untouched). Enumerations with nCap or more values will be treated as a single continuous value</font></div><br></div><br><big><big><i>Protected</i></big></big><br><div style="margin-left: 40px;">void <big><b>CountInputs</b></big>()<br>double <big><b>ParseDataRow</b></big>(const char* szFile, int nLen, int nLine, int nCommentAttributes)<br></div><br></body></html>

⌨️ 快捷键说明

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