The problem I would like to solve is the following. It's not the usual data science problem (at least for me) so I don't know if my solution is good and I'm open to any comments.
I have a dataset with (categorical) features and a binary label (yes/no) for some observations. My goal is to build a model not to predict what could be the label of a new observation outside of the dataset but to predict what is the probability that actual observations from the dataset change class.
Here is a hypothetical concrete example. You have a dataset with customers from a retail store. There is features (age, location, income, etc.) and a binary label which measure the fact that after the covid years the customer has significantly reduced the level of its spending in the store (yes if it's the case and no if it's not). I would like to build a model to evaluate a probability that a customer who still spend could significantly reduce its spending (because he has similar characteristics to customers who already reduced their spending).
In my opinion, the best approach is a logistic model because the output of such a model is a probability. But maybe I'm wrong or maybe there is other (better) ways for achieving this task ?