Sensors (Jun 2023)

Comparison of the Usability of Apple M2 and M1 Processors for Various Machine Learning Tasks

  • David Kasperek,
  • Pawel Antonowicz,
  • Marek Baranowski,
  • Marta Sokolowska,
  • Michal Podpora

DOI
https://doi.org/10.3390/s23125424
Journal volume & issue
Vol. 23, no. 12
p. 5424

Abstract

Read online

Thispaper compares the usability of various Apple MacBook Pro laptops were tested for basic machine learning research applications, including text-based, vision-based, and tabular data. Four tests/benchmarks were conducted using four different MacBook Pro models—M1, M1 Pro, M2, and M2 Pro. A script written in Swift was used to train and evaluate four machine learning models using the Create ML framework, and the process was repeated three times. The script also measured performance metrics, including time results. The results were presented in tables, allowing for a comparison of the performance of each device and the impact of their hardware architectures.

Keywords