These scripts show some of the machine learning and data modeling tools available in astroML. For more examples, see the figures from the textbook.
K-Neighbors for Photometric Redshifts¶