Updated README and Week 8 coming together

This commit is contained in:
Edward Donner
2024-09-26 10:04:55 -04:00
parent 0fd4c84b24
commit 2f997952fc
17 changed files with 3204 additions and 24 deletions

View File

@@ -1341,12 +1341,6 @@
"np.random.seed(42)\n",
"\n",
"# Separate features and target\n",
"feature_columns = [col for col in train_df.columns if col != 'price']\n",
"X_train = train_df[feature_columns]\n",
"y_train = train_df['price']\n",
"X_test = test_df[feature_columns]\n",
"y_test = test_df['price']\n",
"\n",
"feature_columns = ['weight', 'rank', 'text_length', 'is_top_electronics_brand']\n",
"\n",
"X_train = train_df[feature_columns]\n",