Lawfare Academy

AI & COMPUTER SCIENCE ACADEMY · Advanced

Extended teaching and cumulative practice

Open the course workbook: six explained laboratories, transfer problems, twelve new cumulative questions and the project rubric →

Full teaching sequence and cumulative subject work

Train a logistic model and expose a changed mechanism — primary material, constructed-response tasks, complete worked model and changed-case examination →

AI 301 — Machine Learning, Neural Networks and Language

Study machine learning, neural networks and language through six sequenced teaching units, original explanations, worked code, changed-condition exercises, explained checks and full assigned primary-source study.

Preparation: CS 101, CS 201 and CS 230; derivatives, vectors, probability and validated Python.

A suggested sixteen-week study sequence. Allow 8–12 hours weekly for original instruction, full assigned readings, coding and practice; web/database study may require additional time. Adjust to your preparation.

Follow this course in My Learning →

Sixteen-week study map

The sequence integrates complete on-site readings, original instruction and applied practice. Readings reused for review are not counted again in teaching totals.

  1. Week 1: Problem formulation, baselines and honest experiments

    Trace the original worked example and reproduce its result.

  2. Week 2: Problem formulation, baselines and honest experiments

    Work the changed-condition problem before opening its solution.

  3. Week 3: Linear and logistic models, regularization and calibration

    Trace the original worked example and reproduce its result.

  4. Week 4: Linear and logistic models, regularization and calibration

    Work the changed-condition problem before opening its solution.

  5. Week 5: Linear and logistic models, regularization and calibration

    Complete the transfer problem and diagnose a deliberately wrong answer.

  6. Week 6: Trees, ensembles and feature interpretation

    Trace the original worked example and reproduce its result.

  7. Week 7: Trees, ensembles and feature interpretation

    Work the changed-condition problem before opening its solution.

  8. Week 8: Trees, ensembles and feature interpretation

    Complete the transfer problem and diagnose a deliberately wrong answer.

  9. Week 9: Neural networks, backpropagation and generalization

    Trace the original worked example and reproduce its result.

  10. Week 10: Neural networks, backpropagation and generalization

    Work the changed-condition problem before opening its solution.

  11. Week 11: Neural networks, backpropagation and generalization

    Complete the transfer problem and diagnose a deliberately wrong answer.

  12. Week 12: Language models, attention and generated claims

    Trace the original worked example and reproduce its result.

  13. Week 13: Language models, attention and generated claims

    Work the changed-condition problem before opening its solution.

  14. Week 14: Language models, attention and generated claims

    Complete the transfer problem and diagnose a deliberately wrong answer.

  15. Week 15: Model comparison, drift and deployment decisions

    Trace the original worked example and reproduce its result.

  16. Week 16: Model comparison, drift and deployment decisions

    Work the changed-condition problem before opening its solution.

Open the integrated reference project and checks →

Course sequence

Weeks 1–2

Problem formulation, baselines and honest experiments

Study scikit-learn Getting Started, Model Selection and Common Pitfalls; Dive into Deep Learning Introduction and Generalization. Define one prediction task before choosing a model.

Read the lesson and worked example →

Weeks 3–5

Linear and logistic models, regularization and calibration

Study scikit-learn Linear Models and Probability Calibration; Dive into Deep Learning Linear Regression, Softmax Regression and Weight Decay. Work derivations and source exercises.

Read the lesson and worked example →

Weeks 6–8

Trees, ensembles and feature interpretation

Study scikit-learn Decision Trees, Ensembles and Permutation Feature Importance. Compare a shallow tree with a regularized linear model on the same development splits.

Read the lesson and worked example →

Weeks 9–11

Neural networks, backpropagation and generalization

Study Dive into Deep Learning Multilayer Perceptrons, Forward/Backward Propagation, Numerical Stability, Dropout and the Builders’ Guide; complete the associated derivations and implementation exercises.

Read the lesson and worked example →

Weeks 12–14

Language models, attention and generated claims

Study CS50 AI Language and Neural Networks; Dive into Deep Learning Attention Mechanisms and Transformers. Work attention-shape exercises and compare generated text with source evidence.

Read the lesson and worked example →

Weeks 15–16

Model comparison, drift and deployment decisions

Complete the assigned model-evaluation sections and a small source exercise from each model family. Use synthetic or openly licensed data and document its provenance.

Read the lesson and worked example →

Optional integration project

Develop a reproducible prediction experiment with a simple baseline, a classical model and a small neural model; compare held-out performance, failure cases and deployment limits.

Assess your work

Return to the academy →