Implementing Neural Networks in Python and C++: A Comparative Study

View at publisher Summarise with VIRAT
Authors: Rajesh Kumar Bonala
Cited by: 0

Summary

No summary yet. VIRAT can read this paper and write a plain-language summary of its aim, methods, key findings and limitations.

Summarise with VIRAT Free to try with your Science Catalogs account.

Abstract

This paper explores the fundamental concepts of neural networks, focusing on their architecture, processing, and optimization techniques. By delving into the perceptron model and feedforward neural networks, the study highlights the evolution and practical applications of these models in machine learning. The paper provides a comparative analysis of implementing a neural network to predict the sine function using Python and C++, emphasizing the differences in performance and accuracy. The Python implementation leverages the simplicity and efficiency of the NumPy library, while the C++ implementation benefits from inherent system-level efficiency. Results indicate that while Python offers ease of development, C++ demonstrates superior performance and accuracy, providing insights into the trade-offs between these programming languages in neural network development.

Fields of Study & Subjects

Neural Networks and Applications Artificial Intelligence Applications Machine Learning and ELM

Publication details

Journal / source
CRC Press eBooks
Pages
219–225
Publication date
31 March 2026
Language
EN
Document type
Book chapter