A Machine learning model that has a undefined input size but a fixed output? I don't know too much about ML but I can seem to figure out how to train something like this. If you guys could list some possible ways to do this, thank you.
For Deep Learning (neural networks), there techniques like Adaptive Average Pooling and Adaptive Max Pooling which outputs a fixed number of values irrespective of the size of the input to these layers.