This open access textbook offers science education researchers a hands-on guide for learning, critically examining, and integrating machine learning (ML) methods into their science education research projects. These methods power many artificial intelligence (AI)-based technologies and are widely adopted in science education research. ML can expand the methodological toolkit of science education researchers and provide novel opportunities to gain insights on science-related learning and teaching processes, however, applying ML poses novel challenges and is not suitable for every research context. The volume first introduces the theoretical underpinnings of ML methods and their connections to methodological commitments in science education research. It then presents exemplar case studies of ML uses in both formal and informal science education settings. These case studies include open-source data, executable programming code, and explanations of the methodological criteria and commitme