Exploring the operation of a neural network using the example of handwritten digits recognition in an advanced informatics course using the python 3.8 programming language
The article discusses the possibility of including artificial intelligence topics in the informatics course at the level of secondary general education on the demonstration example of handwritten digits recognition using the Python 3.8 programming language and the TensorFlow package. A hands-on example of a classification problem using the classic MNIST (Modified National Institute of Standards and Technology) training example set is dealt with step-by-step.Most of the tools required for the work (language interpreter, basic libraries, and shell) are downloaded in the form of a single software distribution kit of Anaconda. The network is trained using different methods. When the model is trained, the optimization method, the loss function, and the metric for estimation are specified. Image processing by convolutional nets containing special layers, which "convolve" the image the way a bitmap filter does, is also demonstrated