Skip to content

Releases: dev-luigi/neural-network-digits

Version 1.2.2

Choose a tag to compare

@github-actions github-actions released this 29 Sep 12:57
83adc07
  • Update now installs the new version by itself, however the program was installed (zip, git, pip, pipx, uv).
  • Copies installed with pip, pipx or git at 1.2.1 or older: update them by hand once
    (pipx upgrade neural-network-digits or git pull), then it is automatic.
  • The window has its own icon (a small neural network) instead of the Python one, and on Windows the taskbar
    no longer groups it with the other Python programs.
  • Strength of the corrections per layer shows the correction of a single weight on average: before, the
    big layers looked stronger just because they have more weights, and the order of the layers was often
    reversed. Found by u/quietgradient (#13).
  • The texts on the initial weights and the README experiments say what the charts really show
    (x0.1 with sigmoid, x5 with relu).

Version 1.2.1

Choose a tag to compare

@github-actions github-actions released this 27 Sep 04:48
fb371ab
  • Closing the program (or updating it) while it saves the photos no longer leaves them half saved: the new
    photos are written aside and take the place of the old ones only at the end.
  • Start waits for the download to finish: a download that ended during the training replaced the network,
    and at the end an error window appeared.
  • At the end of a download the bar goes away and a line says how many photos were saved.
  • The point map no longer stays on "computing..." when a new model arrives while it is being computed.

Version 1.2.0

Choose a tag to compare

@github-actions github-actions released this 26 Sep 04:08
3aea53f
  • On PyPI: the program can be installed with pipx install neural-network-digits (or
    pip install neural-network-digits) and started with the neural-network-digits command, on Windows,
    Linux and macOS. Installed like this, the photos, the model and the settings go in the folder of the user,
    and the program tells you to update with pipx upgrade neural-network-digits.
  • The code is now in the nn_digits folder. start.bat, ./start.sh and python start.py work as before,
    and python -m nn_digits works too. Updating from the program moves the files by itself: your photos,
    model and settings in data/ stay where they are.
  • The windows that talk about the photos show the folder where they really are.
  • Discussions are open on GitHub for questions and ideas, and there is a Sponsor button.

Version 1.1.1

Choose a tag to compare

@github-actions github-actions released this 26 Sep 02:29
cd90c27
  • Pick on single charts: in every tab Pick frames and explains only the chart under the mouse (the loss
    curve, the confusion matrix, one wrong photo, one step of the calculation...), not the whole figure. The
    tiles with the numbers are explained one at a time too.
  • The language is chosen at the top right, next to Pick (F1): EN or IT. It is no longer in the Info tab.
  • Before each answer the assistant "thinks" for a moment, with a short animation (at most 0.6 seconds).
  • Every chart with nothing to show is crossed out by a thin X: no photos yet, no epoch done, no noise,
    curves still being computed, no wrong photo, nothing drawn, no neuron selected.
  • Fix: Pick called the numbers of the last epoch "seconds per epoch".

Version 1.1.0

Choose a tag to compare

@github-actions github-actions released this 25 Sep 19:55
0f7754e
  • The Assistant: a panel on the right of the window (F2, or the Assistant button at the top right).
    Ask it questions in English or Italian: "what is overfitting?", "how is it going?", "what should I do
    now?", "is something wrong?". It answers looking at what is really happening in the open tab (epochs,
    accuracy, learning rate in use, photos, drawing), tells you where to see each thing and suggests an
    experiment to try.
  • Pick (F1): move the mouse over the controls and click one, and the assistant explains what it does and
    what it is worth now. While Pick is on, the clicks do not move or start anything.
  • Hints: the assistant notices the most common mistakes (a learning rate too high or too low, a network
    that explodes or does not learn, overfitting, too many inactive neurons, extreme settings, test photos
    spoiled more than the training ones) and offers a fix you can apply with one click. They can be switched
    off.
  • It is not an AI model: a small search engine written in NumPy and a few rules. Nothing to download, and it
    answers instantly.

Version 1.0.3

Choose a tag to compare

@github-actions github-actions released this 25 Sep 18:45
a27255a
  • For who wants to contribute: CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md and the templates for
    issues and pull requests.
  • README: the Info, Branches and CI/CD sections are gone.
  • The zip of the update no longer contains the README animation (7.5 MB less to download).

Version 1.0.2

Choose a tag to compare

@github-actions github-actions released this 25 Sep 18:20
64a6c81
  • The whole collection: in the Data tab the new Download the whole collection... button saves all the
    70,000 photos of MNIST. First a window tells you how much space they take. From the terminal:
    download --all. With all the photos the network gets to about 98.5% on the test photos.
  • The photos load in a moment even when there are many: they are also saved in a single quick copy
    (data/photos/train.npz and test.npz), because reading thousands of PNG files took minutes.
  • Evaluation tab: the robustness curves are computed in the background, so the window no longer freezes,
    and the points map shows at most 1000 photos (t-SNE on 10,000 would take minutes).
  • README: animated intro at the top, new Data tab screenshot.

Version 1.0.1

Choose a tag to compare

@github-actions github-actions released this 25 Sep 17:46
3414dc1
  • Linux and macOS: new start.sh launcher. The first time it creates a virtual environment in .venv
    with the libraries, and if Tkinter or venv are missing it says what to install.
  • The updates installed from inside the program keep start.sh executable.
  • Data tab: every control and chart has its explanation when you hover it with the mouse.
  • The messages that suggest a command show the right one for the system (start.bat or ./start.sh).
  • On macOS the right mouse button clears the drawing board too.
  • The explanation of the initial weights says "LeCun" (for sigmoid and tanh) instead of "Xavier".
  • README: macOS instructions and corrections.

Version 1.0.0

Choose a tag to compare

@github-actions github-actions released this 25 Sep 16:22

First public version.

  • Neural network written from scratch with NumPy: forward, softmax, cross-entropy, backpropagation, SGD with
    momentum, L2, dropout, relu, leaky relu, sigmoid and tanh activations.
  • Graphical interface with 5 tabs, plus the Info page:
    • Data: MNIST download, dataset exploration, reset;
    • Training: live, with loss curve, weight gaussians and dozens of knobs;
    • Evaluation: photos damaged on purpose, confidence threshold, confusion matrix and points map
      (PCA and t-SNE);
    • Draw & edit: drawing board and lab to change biases, weights and neurons;
    • Inside the network: the math of every layer and the softmax steps, with the temperature.
  • Every step from the terminal too (start.bat <command>).
  • English and Italian interface, with a language selector in the Info tab.
  • A Changelog page in the Info tab.
  • Update check at startup and one-click install of the new version.