turicreate.nearest_neighbor_classifier.NearestNeighborClassifier.name

NearestNeighborClassifier.name()

Returns the name of the model.

..WARNING:: This function is deprecated, It will be removed in the next release. Use type(CustomModel) instead.

Returns:
out : str

The name of the model object.

Examples

>>> model_name = m.name()