GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - vc1492a/us-state-under-over-fitting: A visual example of the concepts of under and overfitting in supervised machine learning using U.S. state border data.

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
data
data
 
 
images
images
 
 
notebooks
notebooks
 
 
visualization
visualization
 
 
.gitignore
.gitignore
 
 
readme.md
readme.md
 
 

Repository files navigation

A Visual Look at Under and Overfitting using U.S. States

A visual example of the concepts of under and overfitting in supervised machine learning using U.S. state border data provided by the U.S. Census Bureau.

License

What's Inside?

This repository contains a jupyter notebook and D3 visualization that showcases visual examples of the concepts of under and overfitting. In the notebook, data is processed, models are fit, and decision surfaces visualized, as shown below. notebook_surface

The D3 visualization can be used to explore decision surfaces generated in the notebook interactively. On the left are toggles for different views, and on the right selections for models and their respective decision surfaces.

visualization_surface

This repository and its contents serve as a learning exercise on the effects of under and overfit models' generalizability to new data - using U.S. states helps because the appropriate geographic shapes are familiar to many.

How To

From this repository's root directory, do the following to start the notebook:

cd notebooks
jupyter notebook

Click Under and Overfitting by Example - 48 U.S. Contiguous States.ipynb.

To start the D3 visualization, the following will work using Python 3:

cd visualization
python3 -m http.server

Go to localhost:8000 in your browser. The initial load may take a few seconds while the data is processed - a map will appear when ready. Use the toggle switches in the top left to alter views and the selections in the top right to select between models.

Future Work

The d3 visualization can be a little slow to render depending on the browser and available resources. This can likely be addressed with a thorough refactor.

License

This project is licensed under the MIT license.

Contributors

  • Valentino Constantinou
  • Christopher Laporte

Acknowledgements

  • Ian Colwell
  • Kyle Hundman

About

A visual example of the concepts of under and overfitting in supervised machine learning using U.S. state border data.

Topics

bias-varianced3d3jsmachine-learningoverfittingsupervised-learningunderfittingvisualization

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.