Assign a risk score in records in a dataset
I was wondering, if I have a dataset with categorical and numerical data and labels such as 1 or 0 that shows if a row is anomalous or normal respectively.
Is it possible to create somehow a model that will assign something like how much risky a record is using as input these numerical and categorical features?
Edit
My thoughts were to train a supervised anomaly detection method that will classify the records as 0 or 1. But instead of using these outputs, maybe I could use the probability that the model outputs as a risk score.
Topic anomaly anomaly-detection regression outlier
Category Data Science