DataTransformation (power)

Oprick
Oprick New Altair Community Member
edited November 2024 in Community Q&A
Hello,
I feel a bit stupid asking this... After 2 years using RM.
I would like to perform a power transformation like yeo-johnson and I'm not finding an operator to do that.

Does it exist?

Regards

Welcome!

It looks like you're new here. Sign in or register to get started.

Best Answer

  • David_A
    David_A New Altair Community Member
    edited November 2019 Answer ✓
    Hi @Oprick ,
    currently there is no operator for performing power transformations, at least that I'm aware of. In case of the simpler ones like Box-Cox or Yeo-Johnson, you could rebuild them with the expression parser in Generate Attributes operator. As it's a quite handy transformation, we have already planed to add to an upcoming release of the TimeSeries functionality.
    Best,
    David

Answers

  • hughesfleming68
    hughesfleming68 New Altair Community Member
    Hi @Oprick,

    The quickest way is to use use Execute Python and sklearn. It is part of sklearn preprocessing.

    https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.PowerTransformer.html
  • David_A
    David_A New Altair Community Member
    edited November 2019 Answer ✓
    Hi @Oprick ,
    currently there is no operator for performing power transformations, at least that I'm aware of. In case of the simpler ones like Box-Cox or Yeo-Johnson, you could rebuild them with the expression parser in Generate Attributes operator. As it's a quite handy transformation, we have already planed to add to an upcoming release of the TimeSeries functionality.
    Best,
    David
  • Oprick
    Oprick New Altair Community Member
    Hi guys,
    I currently use caret (R) and I perform this task with Execute R.
    I just thought that somewhere in RM would exist an operator for this :smile:

    Thanks you both for your very quick replies.
    Regards

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.