Skip to content
Learn Python with BNHR

Anomalies with machine learning

80_anomalies_ml.py, to read: the notebook as you get it, run, with its exercises still blank. Its dropdowns and sliders show their first setting; to change them, or to write the exercises, open the notebook in marimo on your computer. Run or Edit, above the notebook, can copy or download it: it runs inside the course folder, beside the course's data, so save it there. Stuck on an exercise? The companion has each solution and why it works.

Open the notebook on a page of its own

Something new

Identify results
LayerExplore a module
ModuleArrays with NumPy
AboutModule 2 of Arrays & DataFrames: arrays, their dtype and shape, masks, vectorized arithmetic and broadcasting, and sums along an axis with missing values. Its sections, its notebooks to read on the web, and the companion's solutions and explanations.
CourseArrays & DataFrames, free