?? type_garffrelation.html
字號:
<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;"><a href="type_GArffRelation.html">GArffRelation</a>* <big><b>ParseFile</b></big>(<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</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>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><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>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>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></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)<br></div><br></body></html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -