public boolean isAnyCategorical ( ) { int cnt = 0 ; for ( int i = 0 ; i < _cols . length ; ++ i ) { if ( ! _cols [ i ] . _ignored && ! _cols [ i ] . _response && _cols [ i ] . _isCategorical ) { cnt = 1 ; break ; } } if ( cnt == 1 ) return true ; else return false ; }
checks if there are any categorical features in the frame