Question: Write the code necessary to apply the following preprocessing steps ( 3 points ) : Define a recipe with name diamonds _ recipe 2 .
Write the code necessary to apply the following preprocessing steps points:
Define a recipe with name diamondsrecipe
Make sure that price is your dependent variable and that you use all the other variables a predictors.
Log transform price and carat use base
Make sure infrequent values of all your nominal column are combined in an other category.
Create a volume column equal to xyz
Keep only the rows with price bigger than $
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
