MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / getNumericName

Method getNumericName

JSAT/src/jsat/DataSet.java:84–90  ·  view source on GitHub ↗

Returns the name used for the i 'th numeric attribute. @param i the i th attribute. @return the name used for the i 'th numeric attribute.

(int i )

Source from the content-addressed store, hash-verified

82 * @return the name used for the <tt>i</tt>'th numeric attribute.
83 */
84 public String getNumericName(int i )
85 {
86 if(i < getNumNumericalVars() && i >= 0)
87 return numericalVariableNames == null ? null : numericalVariableNames.get(i);
88 else
89 throw new IndexOutOfBoundsException("Can not acces variable for invalid index " + i );
90 }
91
92 /**
93 * Returns the name used for the <tt>i</tt>'th categorical attribute.

Callers 2

writeArffFileMethod · 0.80
ClassificationDataSetMethod · 0.80

Calls 2

getNumNumericalVarsMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected