Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Revert "make DROPs safer by default (#1184)"
This reverts commit 685450a.
  • Loading branch information
montanalow authored Nov 25, 2023
commit 68baffb648b666fa55f0bf1f8427ecda8fb4de14
10 changes: 5 additions & 5 deletions pgml-dashboard/migrations/20221129170843_notebooks_data.up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -555,11 +555,11 @@ INSERT INTO pgml.notebook_cells VALUES (153, 6, 3, 18, 1, 'SELECT pgml.normalize
INSERT INTO pgml.notebook_cells VALUES (63, 1, 1, 58, 1, 'At this point, the primary limitation of our model is the amount of data, the number of examples we have to train it on. Luckily, as time marches on, and data accumulates in the database, we can simply retrain this model with additional calls to `pgml.train` and watch it adjust as new information becomes available.', '<article class="markdown-body"><p>At this point, the primary limitation of our model is the amount of data, the number of examples we have to train it on. Luckily, as time marches on, and data accumulates in the database, we can simply retrain this model with additional calls to <code>pgml.train</code> and watch it adjust as new information becomes available.</p></article>', NULL, NULL);
INSERT INTO pgml.notebook_cells VALUES (64, 1, 3, 59, 1, '-- If you''d like to start this tutorial over, you can clear out the tables we created.
-- use Ctrl-/ to comment/uncomment blocks in this editor.
-- DROP TABLE IF EXISTS products CASCADE;
-- DROP TABLE IF EXISTS orders CASCADE;
-- DROP TABLE IF EXISTS line_items CASCADE;
-- DROP TABLE IF EXISTS chargebacks CASCADE;
-- DROP TABLE IF EXISTS payments CASCADE;', NULL, NULL, NULL);
DROP TABLE IF EXISTS products CASCADE;
DROP TABLE IF EXISTS orders CASCADE;
DROP TABLE IF EXISTS line_items CASCADE;
DROP TABLE IF EXISTS chargebacks CASCADE;
DROP TABLE IF EXISTS payments CASCADE;', NULL, NULL, NULL);
INSERT INTO pgml.notebook_cells VALUES (65, 2, 1, 1, 1, 'Binary classification means categorizing data into 2 categories. Usually these are categories like:

- `True` or `False`
Expand Down