def predict(model: tf.keras.Model, X_test: pd.DataFrame, cate_cols: list) -> np.array:
    '\n    predict function\n    Args:\n        model: keras model fit by fit_model\n        X_test: Test features\n        cate_cols: categorical columns list\n\n    Returns: y_pred\n\n    '
    X_test_list = _to_input_list(df=X_test, cate_cols=cate_cols)
    y_pred = model.predict(X_test_list)
    return y_pred
predict function
Args:
    model: keras model fit by fit_model
    X_test: Test features
    cate_cols: categorical columns list

Returns: y_pred
def predict(model: tf.keras.Model, X_test: pd.DataFrame, cate_cols: list) -> np.array:
    '\n    predict function\n    Args:\n        model: keras model fit by fit_model\n        X_test: Test features\n        cate_cols: categorical columns list\n\n    Returns: y_pred\n\n    '
    X_test_list = _to_input_list(df=X_test, cate_cols=cate_cols)
    y_pred = model.predict(X_test_list)
    return y_pred