pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/dleeftink/observable-python-codespace/tree/main/penguin-classification

eff.css" /> observable-python-codespace/penguin-classification at main · dleeftink/observable-python-codespace · GitHub
Skip to content

Latest commit

 

History

History

README.md

Penguin classification

This is an example Observable Framework project that uses logistic regression (performed in a Python data loader) to classify penguins by species, based on body mass measurements. Charts highlights and explore which penguins are misclassified. Learn more about the penguins dataset.

View the live project.

Data loader

The Python data loader predictions.csv.py reads in the penguins.csv file, then performs logistic regression using scikit-learn's LogisticRegression function.

Charts

All charts are drawn with Observable Plot.

Reuse this example

Copy the contents of the penguins-classification directory into a new Observable Framework project. Then, run the following set up steps (as needed) get started:

  • If needed, install python3
  • Create and activate a virtual environment
    • $ python3 -m venv .venv
    • $ source .venv/bin/activate
  • Pip install modules from requirements.txt
    • $ pip install -r requirements.txt
  • Run and preview the page
    • $ yarn
    • $ yarn dev
  • Make changes to the page (index.md) or data loader and save to see instant updates in the live preview

Learn more about deploying with Github actions for Python 3.6 & requirements.txt.

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy