Normalization

NourhanElaraby
Level 1
Normalization

I want to implement this function df['spend_normalized']=(df['spend_normalized']-df['spend_normalized'].min())/(df['spend_normalized'].max()-df['spend_normalized'].min())

I am trying to use visual recipes I went for using normalization but doesn't know how it is implemented 

0 Kudos
1 Reply
AlexT
Dataiker

Hi @NourhanElaraby ,

If you are looking to perform the similar column-wise operation in the visual recipe, you could look at using the Window recipe pehaps: https://knowledge.dataiku.com/latest/data-preparation/visual-recipes/concept-window-recipe.html 

But if the end goal is to use this data in Visual ML then rescaling is already done in Visual as part of feature re-processing. So you may not need to perform this operation in an actual Visual recipe.

Thanks

0 Kudos