I have a dataset of weighted polynomials, i.e. each data point is a polynomial (of variable size/degree) together with a weight vector (of fixed size). Each data point has an integer label that ranges from 0 to 200. My question is: which ML algorithms can I use to try to learn the integer label associated to each (poly, weight) pair, considering len(poly) variable and len(weight) fixed? I tried a simple MLP only using the weights as features and achieved a $R^2\approx65\%$.
Edit: The (polynomials, weights) are solutions of a combinatorial system. They represent Calabi-Yau manifolds in a certain weighted projective space. It is worth mention that the polynomials are defined in 5 variables $(x_0, \dots x_4)$, and the length of coefficient vectors goes up to ~1000.