@since('3.0.0')
def numFeatures(self):
    '\n        Returns the number of features the model was trained on. If unknown, returns -1\n        '
    return self._call_java('numFeatures')
Returns the number of features the model was trained on. If unknown, returns -1
@since('3.0.0')
def numFeatures(self):
    '\n        \n        '
    return self._call_java('numFeatures')