xbatcher-ml-1-cookbook
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.1%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: ProjectPythia
- License: apache-2.0
- Language: Jupyter Notebook
- Default Branch: main
- Homepage: https://projectpythia.org/xbatcher-ML-1-cookbook/
- Size: 23 MB
Statistics
- Stars: 3
- Watchers: 1
- Forks: 7
- Open Issues: 4
- Releases: 1
Metadata Files
README.md
xbatcher for Machine Learning (Part 1) Cookbook
![]()
This Project Pythia Cookbook covers a complete workflow for a convolutional neural network. Here, we emphasize how to create xarray-based training datasets with the xbatcher package.
Motivation
By the end of this tutorial, you should be able to use core features of xbatcher to create valid training datasets for a convolutional neural network. You should also be able to recombine the CNN results into a valid xarray dataset for further viewing and analysis. Additionally, this tutorial shows some software designs that could be useful for organizing your ML experiments in the future.
Authors
Christopher Dupuis, Anirban Sinha, Ryan Abernathey
Contributors
Structure
This Cookbook is mostly broken up by stages of the ML workflow, and is designed such that the training, testing, and prediction phases can be run somewhat separately. While every stage of this workflow is included explicitly, the training, testing, and prediction workflows are also included as separate functions that can be run instead of the inline sections. This enables you to minimize or remove sections you have already run, or already understand.
Running the Notebooks
You can either run the notebook using Binder or on your local machine.
Running on Binder
The simplest way to interact with a Jupyter Notebook is through
Binder, which enables the execution of a
Jupyter Book in the cloud. The details of how this works are not
important for now. All you need to know is how to launch a Pythia
Cookbooks chapter via Binder. Simply navigate your mouse to
the top right corner of the book chapter you are viewing and click
on the rocket ship icon, (see figure below), and be sure to select
“launch Binder”. After a moment you should be presented with a
notebook that you can interact with. I.e. you’ll be able to execute
and even change the example programs. You’ll see that the code cells
have no output at first, until you execute them by pressing
{kbd}Shift+{kbd}Enter. Complete details on how to interact with
a live Jupyter notebook are described in Getting Started with
Jupyter.
Running on Your Own Machine
If you are interested in running this material locally on your computer, you will need to follow this workflow:
(Replace "cookbook-example" with the title of your cookbooks)
- Clone the
https://github.com/ProjectPythia/cookbook-examplerepository:
bash
git clone https://github.com/ProjectPythia/cookbook-example.git
- Move into the
cookbook-exampledirectorybash cd cookbook-example - Create and activate your conda environment from the
environment.ymlfilebash conda env create -f environment.yml conda activate cookbook-example - Move into the
notebooksdirectory and start up Jupyterlabbash cd notebooks/ jupyter lab
Owner
- Name: Project Pythia
- Login: ProjectPythia
- Kind: organization
- Email: projectpythia@ucar.edu
- Location: United States of America
- Website: projectpythia.org
- Twitter: Project_Pythia
- Repositories: 21
- Profile: https://github.com/ProjectPythia
Community learning resource for Python-based computing in the geosciences
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this cookbook, please cite it as below."
authors:
# add additional entries for each author -- see https://github.com/citation-file-format/citation-file-format/blob/main/schema-guide.md
- family-names: Dupuis
given-names: Christopher
website: https://github.com/cmdupuis3
- family-names: Sinha
given-names: Anirban
website: https://github.com/anirban89
- family-names: Abernathey
given-names: Ryan
website: https://github.com/rabernat
orcid: https://orcid.org/0000-0001-5999-4917
- name: "xbatcher for Machine Learning Part 1 Cookbook contributors" # use the 'name' field to acknowledge organizations
website: "https://github.com/ProjectPythia/xbatcher-ML-1-cookbook/graphs/contributors"
title: "xbatcher for Machine Learning Part 1 Cookbook"
abstract: "A complete workflow for a convolutional neural network using xbatcher."
GitHub Events
Total
- Issue comment event: 2
- Push event: 57
- Pull request event: 3
- Fork event: 1
- Create event: 1
Last Year
- Issue comment event: 2
- Push event: 57
- Pull request event: 3
- Fork event: 1
- Create event: 1