Proc_df not in Fast.ai v1?

#1

Trying to create a model based on csv data using a the process that Jeremy uses in Intro to Machine learning: Lesson 1. Appears that the newer version of Fast.ai doesn’t include the structured import, and therefore doesn’t have the proc_df method for processing a data frame to convert categorical items into numbers.

Is there a newer process to use?

Thanks!

1 Like

#2

I had this problem too, but figured it out. Copy paste the structured.py code below from original Fastai into one of your cells and run. It has all the functions that no longer are supported in DL1 course from the ML course like proc_df, train_cats, apply_cats, etc.

Structured.py code: https://github.com/fastai/fastai/blob/master/old/fastai/structured.py

2 Likes