Research Article

Analysis of the Hyperparameter Selection in Machine Learning

Defu Qian*
School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University, Shanghai, China

* Corresponding author: [email protected]

Abstract

A Machine learning is now playing a role in various fields. With the development of the internet, the volume of data is increasing, and the algorithms of machine learning are becoming more complex. Adjusting hyperparameters is a challenge for beginners who are new to machine learning. This research implemented a simple neural network model through code. Moreover, this study has changed some of the most basic parameters of the model and trained different models. This study has used visualization methods to show how the model training time and performance change with the alteration of hyperparameters, and derived their respective accuracy rates. This article provides entry-level data and code for newcomers to the field of machine learning. Since this experiment uses a federated learning model, employs local_update SGD, and also utilizes parallel methods, it is quite comprehensive, covering many algorithm codes for machine learning beginners. Testing the basic parameters of the model can help newcomers to machine learning understand more clearly the impact of hyperparameters on the model. It also aids in the development of more algorithms for adjusting hyperparameters.

Keywords: Machine learning; hyperparameters; visualization analysis.
Published: November 8, 2024
DOI: 10.54254/2755-2721/104/20241140
Volume: ACE Vol.104
pp. 123-129
Download PDF

References

  1. Jordan M I and Mitchell T M 2015 Machine learning: perspectives, Trends, and prospects, Science vol 349 pp 255-260
  2. Mahesh B 2019 Machine Learning Algorithms -A Review. International Journal of Science and Research (IJSR) vol 9 p 381
  3. Joost V, Matthijs W, Jonathan K, Jeroen K, Tim V and Jan S R 2020 A Survey on Distributed Machine Learning. ACM Comput. Surv. vol 53(2) p 30.
  4. Yuan J, Gao F, Ho Q, et al. 2015 Lightlda: Big topic models on modest computer clusters Proceedings of the 24th International Conference on World Wide Web pp 1351-1361
  5. Ge M, Bangui H and Buhnova B 2018 Big Data for Internet of Things: A Survey, Future Generation Computer Systems vol 87 p 602
  6. Zinkevich M, Weimer M, Li L and Smola A 2010 Parallelized stochastic gradient descent. In: Advances in neural information processing systems (NeurIPS), vol 4 p 4
  7. Kairouz P, McMahan HB, Avent B, Bellet A, Bennis M, Bhagoji A N, Bonawitz K, Charles Z, Cormode G, Cummings R and D’Oliveira R G 2019 Advances and open problems in federated learning ArXiv preprint arXiv:1912.04977
  8. Kuhn M and Johnson K 2013 Applied predictive modeling. New York: Springer.
  9. Young M T, Hinkle J, Ramanathan A and Kannan R 2018 HyperSpace: Distributed Bayesian Hyperparameter Optimization 30th International Symposium on Computer Architecture and High Performance Computing (SBAC-PAD) pp 339-347.
  10. Niklas L and Paul D 2006 Quantifying the impact of learning algorithm parameter tuning. In Proceedings of the 21st national conference on Artificial intelligence - vol 1 (AAAI'06) p 395–400.
  11. Probst P, Wright M N and Boulesteix A L 2019 Hyperparameters and tuning strategies for random forest. WIREs Data Mining Knowl Discov. vol 9 p e1301.
  12. Pieter G, Florian P, Jan N. van R, Bernd B and Joaquin V 2021 Meta-learning for symbolic hyperparameter defaults Proceedings of the Genetic and Evolutionary Computation Conference Companion (GECCO '21) pp 151–152