convexengineering / gpfit

Fit posynomials to data
http://gpfit.readthedocs.io/en/latest/
MIT License
10 stars 7 forks source link

Ability to pre-specify the power on an independent variable #62

Closed pgkirsch closed 3 years ago

pgkirsch commented 7 years ago

This might sound like a strange request, and I haven't really thought about how feasible it is, but it would be nice if a user could specify the power on a certain independent variable based on a priori knowledge of the underlying relationships.

For example, if I am fitting a function, z = f(x, y) and I know that z should go with x^0.5, it would be nice to "fix" that part of the regression, so I end up with something like z = 4.58*x^0.5*y^0.234.

bqpd commented 7 years ago

Why not fit z/x^0.5=u?

On Dec 27, 2016 17:07, "pgkirsch" notifications@github.com wrote:

This might sound like a strange request, and I haven't really thought about how feasible it is, but it would be nice if a user could specify the power on a certain independent variable based on a priori knowledge of the underlying relationships.

For example, if I am fitting a function, z = f(x, y) and I know that z should go with x^0.5, it would be nice to "fix" that part of the regression, so I end up with something like z = 4.58x^0.5y^0.234.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hoburg/gpfit/issues/62, or mute the thread https://github.com/notifications/unsubscribe-auth/ABagGGdAh5g32Zqy_rqdKvjMEwkzdSQuks5rMbZHgaJpZM4LWmeV .