delete_model

hana_ml.text.anns_model.delete_model(state_id=None, connection_context=None, force_status=None)

Deletes the model.

Parameters
state_idstr, optional

The state id of the ANNS model.

Defaults to the self.state_id.

connection_contextConnectionContext, optional

The connection context.

Defaults to the self.connection_context.

force_statusbool, optional

Throw the error message or force deletion, if the state id is invalid.

  • False : Does not delete the element and throw the error message.

  • True : Forcing the element to be deleted.

Defaults to False.

Returns
DataFrame

The table containing the model information.