Hello team,
Can I double check with you that I understand correctly what the
PolynomialFeatures() is doing under the hood?
If I set it like this:
poly = PolynomialFeatures(degree=3, interaction_only=False,
include_bias=False)
and I fit it on a dataset with 3 variables, a,b and c.
Am I correct
I think it might generate a basis that is capable of generating what you
describe above, but feature expansion concretely reads as
1, a, b, c, a ** 2, ab, ac, b ** 2, bc, c ** 2, a ** 3, a ** 2 * b, a ** 2
* c, a* b ** 2, abc, a*c**2, b**3, b**2 * c, b*c**2, c**3
Hope this helps
On Fri, Nov 22,
Hi Michael, Nicolas,
Thank you both, that is very helpful!
Best wishes
Sole
On Sun, 24 Nov 2019 at 03:37, Michael Eickenberg <
michael.eickenb...@gmail.com> wrote:
> I think it might generate a basis that is capable of generating what you
> describe above, but feature expansion concretely read