AI & Computer Science — Reading Library
Complete assigned source sections, grouped by publisher. Original Academy teaching, worked examples, problems and projects are in each course. Source adaptations retain their stated licenses.
Python Software Foundation and Python documentation contributors
Python Software Foundation License Version 2
- 1. Whetting Your Appetite
- 2. Using the Python Interpreter
- 6. Modules
- 3. An Informal Introduction to Python
- 7. Input and output
- 8. Errors and Exceptions
- 5. Data Structures
- csv — CSV file reading and writing
- 9. Classes
- 12. Virtual Environments and Packages
- 4. More Control Flow Tools
- json — JSON encoder and decoder
- 10. Brief tour of the standard library
- decimal — Decimal fixed-point and floating-point arithmetic
- 11. Brief tour of the standard library — part II
- logging — Logging facility for Python
- doctest — Test interactive Python examples
- Built-in functions
- unittest — Unit testing framework
- re — Regular expression operations
- argparse — Parser for command-line options, arguments and subcommands
- queue — A synchronized queue class
- concurrent.futures — Launching parallel tasks
- dataclasses — Data Classes
- enum — Support for enumerations
- hashlib — Secure hashes and message digests
- collections — Container datatypes
- statistics — Mathematical statistics functions
- venv — Creation of virtual environments
- sqlite3 — DB-API 2.0 interface for SQLite databases
- typing — Support for type hints
Pat Morin
Creative Commons Attribution 2.5 Canada
- 1 . Introduction
- 1 . 1 The Need for Efficiency
- 1 . 2 Interfaces
- 1 . 4 The Model of Computation
- 1 . 7 List of Data Structures
- 1 . 6 Code Samples
- 2 . Array-Based Lists
- 1 . 8 Discussion and Exercises
- 1 . 5 Correctness, Time Complexity, and Space Complexity
- 2 . 2 FastArrayStack: An Optimized ArrayStack
- 2 . 4 ArrayDeque: Fast Deque Operations Using an Array
- 2 . 3 ArrayQueue: An Array-Based Queue
- 2 . 1 ArrayStack: Fast Stack Operations Using an Array
- 1 . 3 Mathematical Background
- 2 . 7 Discussion and Exercises
- 2 . 5 DualArrayDeque: Building a Deque from Two Stacks
- 2 . 6 RootishArrayStack: A Space-Efficient Array Stack
- 3 . Linked Lists
- 3 . 2 DLList: A Doubly-Linked List
- 3 . 1 SLList: A Singly-Linked List
- 5 . Hash Tables
- 3 . 4 Discussion and Exercises
- 3 . 3 SEList: A Space-Efficient Linked List
- 11 . Sorting Algorithms
- 5 . 4 Discussion and Exercises
- 6 . Binary Trees
- 5 . 3 Hash Codes
- 6 . 2 BinarySearchTree: An Unbalanced Binary Search Tree
- 5 . 1 ChainedHashTable: Hashing with Chaining
- 6 . 1 BinaryTree: A Basic Binary Tree
- 11 . 2 Counting Sort and Radix Sort
- 11 . 3 Discussion and Exercises
- 5 . 2 LinearHashTable: Linear Probing
- 7 . Random Binary Search Trees
- 6 . 3 Discussion and Exercises
- 11 . 1 Comparison-Based Sorting
- 9 . Red-Black Trees
- 8 . 2 Discussion and Exercises
- 8 . Scapegoat Trees
- 8 . 1 ScapegoatTree: A Binary Search Tree with Partial Rebuilding
- 7 . 2 Treap: A Randomized Binary Search Tree
- 9 . 1 2-4 Trees
- 10 . Heaps
- 9 . 3 Summary
- 7 . 3 Discussion and Exercises
- 7 . 1 Random Binary Search Trees
- 9 . 4 Discussion and Exercises
- 10 . 1 BinaryHeap: An Implicit Binary Tree
- 10 . 3 Discussion and Exercises
- 10 . 2 MeldableHeap: A Randomized Meldable Heap
- 12 . 3 Graph Traversal
- 12 . 2 AdjacencyLists: A Graph as a Collection of Lists
- 9 . 2 RedBlackTree: A Simulated 2-4 Tree
- 12 . Graphs
- 12 . 1 AdjacencyMatrix: Representing a Graph by a Matrix
- 14 . External Memory Searching
- 13 . 2 XFastTrie: Searching in Doubly-Logarithmic Time
- 14 . 1 The Block Store
- 13 . 1 BinaryTrie: A digital search tree
- 12 . 4 Discussion and Exercises
- 13 . Data Structures for Integers
- 13 . 4 Discussion and Exercises
- 13 . 3 YFastTrie: A Doubly-Logarithmic Time SSet
- 14 . 3 Discussion and Exercises
- 14 . 2 B-Trees
Mozilla Contributors
Creative Commons Attribution-ShareAlike 2.5 or later
- How the web works
- Basic HTML syntax
- Responsive web design
- Functions
- Forms and buttons in HTML
- HTML: A good basis for accessibility
- Indexed collections
- Structuring documents
- Control flow and error handling
- Using the Fetch API
- Cross-site request forgery (CSRF)
- Website security
- Cross-site scripting (XSS)
- Using promises
- Working with objects
- DOM scripting introduction
- Introduction to cross-browser testing
- Overview of HTTP
- Client-server overview
- HTTP caching
- HTTP request methods
- HTTP response status codes
- Django Tutorial Part 2: Creating a skeleton website
- Django Tutorial Part 3: Using models
- Django Tutorial: The Local Library website
- Django Tutorial Part 6: Generic list and detail views
- Django Tutorial Part 5: Creating our home page
- Django Tutorial Part 8: User authentication and permissions
- Django Tutorial Part 4: Django admin site
- Django Tutorial Part 7: Sessions framework
- Django Tutorial Part 9: Working with forms
- Django Tutorial Part 10: Testing a Django web application
- Django Tutorial Part 11: Deploying Django to production
The PostgreSQL Global Development Group and The Regents of the University of California
- 2.2. Concepts #
- 2.5. Querying a Table #
- 2.4. Populating a Table With Rows #
- 2.6. Joins Between Tables #
- 2.7. Aggregate Functions #
- 2.3. Creating a New Table #
- 3.4. Transactions #
- 7.4. Combining Queries ( UNION , INTERSECT , EXCEPT ) #
- 7.3. Select Lists #
- 7.8. WITH Queries (Common Table Expressions) #
- 7.2. Table Expressions #
- 5.5. Constraints #
- 11.1. Introduction #
- 3.2. Views #
- 3.5. Window Functions #
- 25.1. SQL Dump #
- PREPARE
- 5.8. Privileges #
- 5.7. Modifying Tables #
- 14.1. Using EXPLAIN #
- 13.1. Introduction #
- 13.2. Transaction Isolation #
Aston Zhang, Zachary C. Lipton, Mu Li and Alexander J. Smola
Creative Commons Attribution-ShareAlike 4.0
- Dive into Deep Learning
- 2.4. Calculus Open the notebook in SageMaker Studio Lab
- 2.6. Probability and Statistics Open the notebook in SageMaker Studio Lab
- 22.5. Integral Calculus Open the notebook in SageMaker Studio Lab
- 2.5. Automatic Differentiation Open the notebook in SageMaker Studio Lab
- 22.3. Single Variable Calculus Open the notebook in SageMaker Studio Lab
- 22.1. Geometry and Linear Algebraic Operations Open the notebook in SageMaker Studio Lab
- 22.2. Eigendecompositions Open the notebook in SageMaker Studio Lab
- 22.6. Random Variables Open the notebook in SageMaker Studio Lab
- 4.7. Environment and Distribution Shift Open the notebook in SageMaker Studio Lab
- 22.10. Statistics Open the notebook in SageMaker Studio Lab
- 22.7. Maximum Likelihood Open the notebook in SageMaker Studio Lab
- 2.2. Data Preprocessing Open the notebook in SageMaker Studio Lab
- 22.4. Multivariable Calculus Open the notebook in SageMaker Studio Lab
- 22.9. Naive Bayes Open the notebook in SageMaker Studio Lab
- 2.3. Linear Algebra Open the notebook in SageMaker Studio Lab
- 22.11. Information Theory Open the notebook in SageMaker Studio Lab
- 3.6. Generalization Open the notebook in SageMaker Studio Lab
- 1. Introduction
- 4.1. Softmax Regression Open the notebook in SageMaker Studio Lab
- 3.7. Weight Decay Open the notebook in SageMaker Studio Lab
- 4.4. Softmax Regression Implementation from Scratch Open the notebook in SageMaker Studio Lab
- 3.1. Linear Regression Open the notebook in SageMaker Studio Lab
- 3.4. Linear Regression Implementation from Scratch Open the notebook in SageMaker Studio Lab
- 22.8. Distributions Open the notebook in SageMaker Studio Lab
- 5.1. Multilayer Perceptrons Open the notebook in SageMaker Studio Lab
- 5.3. Forward Propagation, Backward Propagation, and Computational Graphs Open the notebook in SageMaker Studio Lab
- 5.4. Numerical Stability and Initialization Open the notebook in SageMaker Studio Lab
- 12.4. Stochastic Gradient Descent Open the notebook in SageMaker Studio Lab
- 11.1. Queries, Keys, and Values Open the notebook in SageMaker Studio Lab
- 12.10. Adam Open the notebook in SageMaker Studio Lab
- 9.3. Language Models Open the notebook in SageMaker Studio Lab
- 5.6. Dropout Open the notebook in SageMaker Studio Lab
- 19.1. What Is Hyperparameter Optimization? Open the notebook in SageMaker Studio Lab
- 9.2. Converting Raw Text into Sequence Data Open the notebook in SageMaker Studio Lab
- 11.6. Self-Attention and Positional Encoding Open the notebook in SageMaker Studio Lab
- 11.5. Multi-Head Attention Open the notebook in SageMaker Studio Lab
- 12.3. Gradient Descent Open the notebook in SageMaker Studio Lab
- 11.3. Attention Scoring Functions Open the notebook in SageMaker Studio Lab
- 11.7. The Transformer Architecture Open the notebook in SageMaker Studio Lab
The scikit-learn developers
- 8.4. Imputation of missing values
- 12. Common pitfalls and recommended practices
- 8.1. Pipelines and composite estimators
- 3.1. Cross-validation: evaluating estimator performance
- 8.3. Preprocessing data
- Getting Started
- 1.16. Probability calibration
- 3.4. Metrics and scoring: quantifying the quality of predictions
- 5.2. Permutation feature importance
- 1.10. Decision Trees
- 1.17. Neural network models (supervised)
- 1.1. Linear Models
- 10.1. Strategies to scale computationally: bigger data
- 11. Model persistence
- 8.8. Pairwise metrics, Affinities and Kernels
- 10.2. Computational Performance
- 8.2. Feature extraction
- 1.11. Ensembles: Gradient boosting, random forests, bagging, voting, stacking
- 1.6. Nearest Neighbors
Martin Zinkevich and Google Developers contributors
Creative Commons Attribution 4.0; code samples Apache 2.0 where stated