-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added reg_utils_dd.py and some images
- Loading branch information
Showing
6 changed files
with
301 additions
and
420 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,67 @@ | ||
# chirp-to-ROC | ||
|
||
**Under development** | ||
|
||
Explore binary classification starting with a 2D chirp-boundary data set and ending with the ROC for the chosen machine learning method(s). | ||
<table> | ||
<tl> | ||
<td><IMG src="images/chirp_no_noise.png" width=400> | ||
<p>This repository provides chirp_roc_lib.py | ||
which has i) a 2D chirp-boundary data generator, and | ||
ii) a routine to compare the actual and model-generated | ||
y values by making a "Confusion-Dots plot" and the usual | ||
ROC plot.</p> | ||
<p>For fun, the jupyter notebook has several types of ML classifier | ||
models and uses them to make predictions based on a noisy training | ||
sample from the chirp. | ||
These predictions are evaluated using a test sample (large and | ||
similarly noisy) to show some of the characteristics of the | ||
different models. | ||
</td> | ||
<td><IMG src="images/confusion_dots_of_nn.png" width=500> <IMG src="images/roc_of_nn.png" width=500></td> | ||
</tl> | ||
</table> | ||
|
||
|
||
|
||
For fun, the jupyter notebook has several types of ML classifier models | ||
and uses them to make predictions based on a noisy training sample | ||
from the chirp. | ||
These predictions are evaluated using a test sample (large and similarly noisy) | ||
to show some of the characteristics of the different models. | ||
|
||
The models shown are: | ||
|
||
- The Known Chirp model. | ||
|
||
- A Random model. | ||
|
||
- A Really Simple model. | ||
|
||
- Logistic Regression. | ||
|
||
- A Decision Tree model. | ||
|
||
- SVM with Polynomial Features (degree=7) | ||
|
||
- SVM using a Kernel (poly, degree=15) | ||
|
||
- Neural Network (2 hidden layers, no regularization) | ||
|
||
- Neural Network (2 hidden layers with L2 regularization) | ||
|
||
The Neural Network model used here comes from Andrew Ng's | ||
Deep Learning course, specifically from the Regularization excersize | ||
in [Week 1 of Course 2](https://www.coursera.org/learn/deep-neural-network). | ||
A model with 2 hidden layers and L2 regularization is implemented there; | ||
the file reg_utils_dd.py here is modified from the course's reg_utils.py. | ||
|
||
|
||
|
||
To Do: | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters