Backend/Database/GTable.cpp
/*!
 * @brief checks if column is labeled output
 * @details checks if column at given index has been labeled as an output column for the neural net
 * @return bool of whether column is labeled output
 */
@brief checks if column is labeled output
@details checks if column at given index has been labeled as an output column for the neural net
@return bool of whether column is labeled output
@brief checks if column is labeled output @details checks if column at given index has been labeled as an output column for the neural net @return bool of whether column is labeled output
bool GTable::isOutput(unsigned int column) const
{
	if (column >= header.size())
		return false;
	for (unsigned int i = 0; i < outputColumns.size(); ++i)
	{
		if (column == outputColumns[i])
			return true;
	}
	return (column == (header.size() - 1));
}
bool GTable :: isOutput ( unsigned int column ) const { if ( column >= header . size ( ) ) return false ; for ( unsigned int i = 0 ; i < outputColumns . size ( ) ; ++ i ) { if ( column == outputColumns [ i ] ) return true ; } return ( column == ( header . size ( ) - 1 ) ) ; }
@brief checks if column is labeled output
 @details checks if column at given index has been labeled as an output column for the neural net
 @return bool of whether column is labeled output
@brief checks if column is labeled output @details checks if column at given index has been labeled as an output column for the neural net @return bool of whether column is labeled output
// We manually set one // last col by default