NumPy を用いてゼロから構築するディープラーニングフレームワーク
Deep Learning Framework From Scratch Using Numpy
Deep Learning Framework From Scratch Using Numpy
@misc{nicolae2020deep,
title = {Deep Learning Framework From Scratch Using Numpy},
author = {Andrei Nicolae},
year = {2020},
eprint = {2011.08461},
archivePrefix = {arXiv},
primaryClass = {cs.MS},
url = {https://arxiv.org/abs/2011.08461}
}
Nicolae, A. (2020). Deep Learning Framework From Scratch Using Numpy [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.08461
NICOLAE A. Deep Learning Framework From Scratch Using Numpy[EB/OL]. (2020-11-17)[2026-11-30]. https://arxiv.org/abs/2011.08461.
要旨
本稿は、ゼロから構築された完全で汎用的な深層学習フレームワークの厳密な発展である。深層学習の基本的な構成要素である自動微分と、多変量スカラー関数の最適化のための勾配法は、初等微積分に基づき、Python と Numpy ライブラリのみを使用する合理的なオブジェクト指向アプローチで実装された。このフレームワークは ArrayFlow と命名され、その実装例として、コンピュータビジョンの分類タスク、カテナリー(catenary)の形状の解算、および 2 階微分方程式の解算が含まれる。
This work is a rigorous development of a complete and general-purpose deep learning framework from the ground up. The fundamental components of deep learning - automatic differentiation and gradient methods of optimizing multivariable scalar functions - are developed from elementary calculus and implemented in a sensible object-oriented approach using only Python and the Numpy library. Demonstrations of solved problems using the framework, named ArrayFlow, include a computer vision classification task, solving for the shape of a catenary, and a 2nd order differential equation.