Train a model when input can contain a smaller options output with the correct output
I have service order lines to charge customers, each line needs to be set to an actual product.
If the customer had only one product, so all lines are set to that product.
But, if the there are many products, currently a trained employee does the matching, each line to one product.
e.g.
enforcement fees ----------- backup YYY transmitter
text message fees ---------- main XXX transmitter installation
installation fee ----------- main XXX transmitter installation
I can train all the kinds of lines against all products.
To improve prediction I will add to the input the products the customer has.
In traditional ML my soft max will have all the hundreds products and I'll need to take the probability of my customers product and adjust their prediction.
e.g.
input: [ enforcement fees, backup YYY transmitter, main XXX transmitter installation]
output: [..,..,.., backup YYY transmitter 0.02, main XXX transmitter installation 0.01,..]
Then my adjustment will be [0.67,0.33].
Is there a better way to mark inputs as the optional output, or eliminate all other predicts during training?
Thank you!
Topic softmax neural-network
Category Data Science