Is this ML task possible?
I think the best thing to use here is a form of &quot;structured prediction&quot;. Our &quot;target&quot; is a sequence of operations. The framework of structured prediction allows us to chain together as many filters as we want.
With a neural network of fixed architecture, you would have to make sure you have enough space for all the filters you might need.