def METHOD_NAME(self, batch: Tuple[Any, Any]):
    X, _y = batch
    cols = self._hyperparams["cols"]
    if cols is None:
        cols = get_obj_cols(X)
        self._hyperparams["cols"] = cols
    N = self._hyperparams["n_components"]
    feature_names_cat = [f"col_{i}" for i in range(N)]
    feature_names_num = [col for col in get_columns(X) if col not in cols]
    feature_names = feature_names_cat + feature_names_num  # type: ignore
    n_samples_seen_ = count(X)
    return _HashingEncoderMonoid(
        n_samples_seen_=n_samples_seen_, feature_names=feature_names
    )