From the course: Enhancing Your Productivity as a Data Scientist with Generative AI
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Use case 12: Model creation copilot
From the course: Enhancing Your Productivity as a Data Scientist with Generative AI
Use case 12: Model creation copilot
- [Instructor] So now that we know what model to train, we actually want to train it. So back in our code space, make sure you're in branch 04_03b if you want to follow along, or 04_03e if you just want to see the end result, like me here. And then in the code space, open the modeling notebook over here. Let's close this so we have a little more space. So first what we're going to do is we'll load our features CSV file that we have created in one of the previous steps, the data set that contains all of our features. Then we also are going to load the dictionary with the feature documentation. You'll see in a bit why. To train our model, we are going to split it by calendar week. In this case here, we're training on all rows before 2024 week three, we'll drop all rows with missing values and also reset the index. Now in the end, this will leave us with 24 rows of data. Not much, but for now that's all we have. Next we want to build upon the existing feature dictionary that we have and…