Skip to content

Commit c0d1643

Browse files
committed
donors update
1 parent 18f23ce commit c0d1643

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

projects/finding_donors/finding_donors.ipynb

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,8 @@
344344
"### Question 1 - Naive Predictor Performace\n",
345345
"* If we chose a model that always predicted an individual made more than $50,000, what would that model's accuracy and F-score be on this dataset? You must use the code cell below and assign your results to `'accuracy'` and `'fscore'` to be used later.\n",
346346
"\n",
347+
"** Please note ** that the the purpose of generating a naive predictor is simply to show what a base model without any intelligence would look like. In the real world, ideally your base model would be either the results of a previous model or could be based on a research paper upon which you are looking to improve. When there is no benchmark model set, getting a result better than random choice is a place you could start from.\n",
348+
"\n",
347349
"** HINT: ** \n",
348350
"\n",
349351
"* When we have a model that always predicts '1' (i.e. the individual makes more than 50k) then our model will have no True Negatives(TN) or False Negatives(FN) as we are not making any negative('0' value) predictions. Therefore our Accuracy in this case becomes the same as our Precision(True Positives/(True Positives + False Positives)) as every prediction that we have made with value '1' that should have '0' becomes a False Positive; therefore our denominator in this case is the total number of records we have in total. \n",
@@ -677,10 +679,10 @@
677679
"source": [
678680
"#### Results:\n",
679681
"\n",
680-
"| Metric | Benchmark Predictor | Unoptimized Model | Optimized Model |\n",
681-
"| :------------: | :-----------------: | :---------------: | :-------------: | \n",
682-
"| Accuracy Score | | | |\n",
683-
"| F-score | | | EXAMPLE |\n"
682+
"| Metric | Unoptimized Model | Optimized Model |\n",
683+
"| :------------: | :---------------: | :-------------: | \n",
684+
"| Accuracy Score | | |\n",
685+
"| F-score | | EXAMPLE |\n"
684686
]
685687
},
686688
{

0 commit comments

Comments
 (0)