def train(estimator: object, X: Iterable[Union[(int, float)]], y: Iterable):
    '\n    Train custom classifier model.\n\n    Parameters:\n        estimator: Unfitted estimator.\n        X: Input training data.\n        y: Labels for test data.\n\n    Returns:\n        Fitted estimator model.\n    '
    return estimator.fit(X=X, y=y)
Train custom classifier model.

Parameters:
    estimator: Unfitted estimator.
    X: Input training data.
    y: Labels for test data.

Returns:
    Fitted estimator model.
def train(estimator: object, X: Iterable[Union[(int, float)]], y: Iterable):
    '\n    Train custom classifier model.\n\n    Parameters:\n        estimator: Unfitted estimator.\n        X: Input training data.\n        y: Labels for test data.\n\n    Returns:\n        Fitted estimator model.\n    '
    return estimator.fit(X=X, y=y)