Simple and complex Awk scripts for learning Machine Learning basics
Awk, GAwk, or MAwk must be installed to make use of scripts within this repository, for Debian based Linux distributions that'd look similar to...
sudo apt-get install gawk
Clone this project...
Linux/MacOS
mkdir -vp ~/git/hub/awk-utilities
cd ~/git/hub/awk-utilities
git clone git@github.com:awk-utilities/machine-learning-examples.git
Windows
set _organization_directory="%HOMEDRIVE%%HOMEPATH%\git\hub\awk-utilities"
if not exists %_organization_directory (
md %_organization_directory
)
CD /D %_organization_directory
git clone git@github.com:awk-utilities/machine-learning-examples.git
Linux based distributions with MAwk, GAwk, and/or Awk installed generally may run Awk scripts directly, eg...
script_name.awk --param=value input_file.ext
... however, some systems do not have the Awk executable linked to /usr/bin/awk
file path, in such cases Awk scripts must be invoked via...
awk -f script_name.awk --param=value input_file.ext
Each script within the application-examples
directory of this repository may be run with the --usage
parameter to display available command-line options, eg...
./application-examples/p001-Basic-Neuron-3-inputs.awk --usage
This repository is not feature complete and may include bugs, Pull Requests are certainly welcomed to add features and/or fix Issues.
This repository currently is inspired by and closely following the YouTube Playlist -- Neural Networks from Scratch in Python by @Sentdex
, while also attempting to provide more complex example code for the Awk scripting language.
-
YouTube --
Neural Networks from Scratch - P.1 Intro and Neuron Code
-
YouTube --
Neural Networks from Scratch - P.2 Coding a Layer
Documentation for simple and complex Awk scripts for learning Machine Learning basics
Copyright (C) 2020 S0AndS0
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, version 3 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
For further details review full length version of AGPL-3.0 License.
Note, unless otherwise stated within comments of individual scripts, the scripts within the
quick-examples
are licensed under the MIT license because they are directly translated from examples provided bySentdex/NNfSiX
GitHub repositoryAnd unless otherwise stated within comments of individual scripts, the scripts within the
application-examples
directory are licensed under the AGPL-3.0 open source license.