Session Ready
Exercise

Can you define your x and y data?

You are trying to determine whether the number of minutes spent studying (minstudytime) can be used to accurately predict the final percentage grade of students in high school (Finalpercent), using the dataset studentgradeprediction. You decide on a simple linear regression and want to use the Core API to implement your model.

Note that the training and testing datasets have already been parsed for you and are called studentgradeprediction_train and studentgradeprediction_test.

Instructions
100 XP
  • Define your x-data and y-data appropriately for your research question.