0

I am creating a program to predict GDP per capita in Python and I have two models - one for GDP and the other for population. To create a model for GDP per capita I simply divided the two polynomials. However, I got something out of the ordinary:

(poly1d([-109498.08669488]),
 poly1d([-2.73247119e+06,  2.17471159e+10, -6.49022312e+13,  8.60827452e+16,
        -4.28139449e+19]))

Is there any way to convert this to a normal polynomial? What I mean by normal is something like this:

4x^5 + 3x^4 + 2x^3 + x^2 + 5x + 9
Dan Getz
  • 8,774
  • 6
  • 30
  • 64
MathGeek
  • 141
  • 9

0 Answers0