Giter VIP home page Giter VIP logo

ainotes's Introduction

Python Versions PyPI Version Code style: black

Artificial Intelligence Notes

A collection of interactive notes related to Artificial Intelligence. Built for educational purposes and updated (somewhat) regularly.

Structure

This project has the following structure:

  • ainotes/ contains the notes' source files, written in Python;
  • data/ contains the datasets used by some of the notes;
  • docs/ contains the Jupyter notebooks synchronized with Python files and used to create the online version of the notes.

Once a new notebook (.ipynb file) is created in the docs/ folder, it is automagically paired with a Python (.py) file by the same name in the ainotes/ folder. Afterwards, all updates to either file will be reflected into the other. This is configured in the pyproject.toml file.

Alongside the source files, the notebooks are also versioned in order to display their output online and access them in cloud execution platforms like Google Colaboratory.

The project is also published as a package on PyPI. This is necessary to import shared code in cloud execution platforms.

Toolchain

This project is built with the following software:

  • Poetry for dependency management and deployment;
  • Black for code formatting;
  • Pylint to detect programming mistakes before execution;
  • Jupytext to synchronize Python source files with Jupyter notebooks;
  • Jupyter Book to generate a static website from the notebooks;
  • RISE to showcase notebooks as live reveal.js-based presentations;
  • A GitHub Action to publish the website to GitHub Pages;
  • Another GitHub Action to publish the source code as a PyPI/TestPyPI package.

Development notes

Here are some useful commands for running this project:

# Reformat all Python files
black ainotes/

# Check the code for mistakes
pylint ainotes/*

# Force resync of all notebook files (in docs/) with Python files (in ainotes/)
# Add the --execute flag to rerun all notebooks
jupytext --sync ainotes/**/*.py

# Build the website locally from notebook files
# Output is in the docs/_build/ subfolder
jupyter-book build docs/  # Or simply: jb build docs/

# Generate a PDF version of a chapter
# GIF files must be replaced by their static counterparts (PNG or JPG) in the notebook before launching this command
jupyter nbconvert --to PDF {notebook_file_name}

License

Licenses are Creative Commons for the textual content and MIT for the code. See also Acknowledgments.

Copyright © 2023-present Baptiste Pesquet.

ainotes's People

Contributors

bpesquet avatar

Stargazers

Stan avatar Jake Thorpe avatar Igor avatar Sam McClear avatar Peter Jacob avatar Prabhath avatar MarcRokken avatar Killian Mannarelli avatar

Watchers

 avatar Kostas Georgiou avatar  avatar

ainotes's Issues

CNN chapter

  • Transfer learning example
  • Overfitting assessment using a validation set
  • Conv filters viz
  • Bias in conv filters

Decision chapter

  • Fix small mistakes (nonlinearity in ALBA, etc)
  • Value-based DM (not perceptual)
  • Model-free / model-based
  • Slow/fast errors

ANN chapter

  • Regularization
  • Overfitting assessment using a validation set

Missing chapters

Foundations

  • Calculus
  • Linear algebra

ML

  • Transformers
  • Bayesian methods
  • SVM
  • Unsupervised learning
  • Deep RL
  • Meta RL

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.