Skip to main content

The Cottonwood Machine Learning Framework

Cottonwood is built to as flexible as possible, top to bottom. It's designed to minimize the iteration time when running experiments and testing ideas. It's meant to be tweaked. Fork it. Add to it. Customize it to solve the problem at hand. For more of the thought behind it, read the post " Why another framework?

This code is always evolving. I recommend referencing a specific tag whenever you use it in a project. Tags are labeled v1, v2, etc. and the code attached to each one won't change.

If you want to follow along with the construction process for Cottonwood, you can get a step-by-step walkthrough in End-to-End Machine Learning Course 312 and Course 313

Try it out

python3 -m pip install "cottonwood==8" --user
python3
>>> import cottonwood.demo

Start playing

If you'd like to experiment with ideas of your own, you'll want to clone the repository to your local machine and install it from there.

git clone https://github.com/brohrer/cottonwood.git
python3 -m pip install -e cottonwood --user --no-cache
cd cottonwood
git checkout v8

Examples

See what Cottonwood looks like in action. Feel free to use any of these as a template for a project of your own. They're MIT licensed.

Revision history

Release files for cottonwood 8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cottonwood 8
File Size Uploaded
cottonwood-8.tar.gz 15.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cottonwood 8
File Interpreter ABI Platform
cottonwood-8-py3-none-any.whl Python 3 none any Details

Total release size: 18.4 kB

Release files / cottonwood-8.tar.gz

Download URL cottonwood-8.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ed950944693ec35bfb7f15fbcd4ccd4b23d126313c1c436a90318e59a94bab09
BLAKE2b-256 checksum
How to use checksums
f5a387f81cfbabf6d809c37f87b2aaeefe8aca64492bfcaba1683f3263968908
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

Release files / cottonwood-8-py3-none-any.whl

Download URL cottonwood-8-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
916be9f011b7c042a95f1c4b529cb9ccb3af79deb7427ac6d073ea201f5d72ab
BLAKE2b-256 checksum
How to use checksums
4606092d830a7b3f926fe29cbc1574bc04008181ebc198ac8643dbeab277fe7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

Release history Release notifications | RSS feed

This release

8 This release

2 release files

7.1

2 release files

7

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page