1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Feature Engineering in R

Exercise

Creating uniform buckets from a distribution

We can see that the Quantity variable ranges from 1 to 50, meaning individuals buy between 1 and 50 items per transaction.

Instructions 1/3

35 XP
    1
    2
    3
  • Create a sequence of numbers that captures the min and max values of the range and that increases by 5.