diff --git a/Excel/README.md b/Excel/README.md new file mode 100644 index 0000000..4480e75 --- /dev/null +++ b/Excel/README.md @@ -0,0 +1,89 @@ +# This is the Excel documentation for NNFSiX + +## Goal +The main goal of the project is: To use Excel to recreate the NNFSiX project, without using macros. + +## Requirements +- min. Version Excel 2019 (unconfirmed). I am running on Office 365. + +## Guidelines +Since there is no clear syntax for Excel. I tried to make it as user-friendly and coherent as possible. + +### First Column +The first column is always for the variables. Mostly these do not serve a direct purpose, except to define the data +beside it. However sometimes they are the keys to the objects i.e. sheets used. Thus, it is necessary to check that +the variable, and it's respective object/sheet name is the same. + +### Objects + +Apart from the Ranges, each new defined Object will be saved as a sheet. Sheets like layer and activation contain +predefined inputs and calculations. This allows for easier creation with copy pasting the sheets, subsequently +creating new objects and allowing for input parameters to dynamically be passed. + +#### Layers + +**Inputs:** +1. layer_name: Text +2. n_input: Number +3. n_neurons: Number +4. inputs: Range + +**Output:** +1. output: Range (referenced by layer_name!output#) + +**To create a layer:** +1. Define layer_name in the column A +2. Define n_input in column B +3. Define n_neurons in column C +4. Reference your inputs as a range in column D +5. Copy any layerX sheet and rename it to your layer_name + +**Example:** + + | A | B | C | D | + |--------|-----------|-------------|-------------------| + | | n_input | n_neurons | inputs | + |--------|-----------|-------------|-------------------| + | layer2 | 4.0 | 5.0 | =layer1!output# | + +#### Activation Functions + +**Inputs:** +1. activation_name: Text +2. inputs: Range + +**Output:** +1. output: Range (referenced by activation_name!output#) + +**To create an activation function:** +1. Define activation_name in the column A +4. Reference your inputs as a range in column B +5. Copy any activationX sheet and rename it to your activation_name + +**Example:** + + | A | B | + |-------------|-------------------| + | | inputs | + |-------------|-------------------| + | activation1 | =layer1!output# | + + +### Special Excel Stuff + +Anything out of the ordinary in Excel will be listed below. + +#### Ranges + +Careful when using Range References. Should you encounter a #SPILL error, if possible add adjacent empty rows or +columns, as there might be a value blocking the output. + +**Output:** +1. output: Range (referenced by cell_address#) + +**Example:** + + ={1,2,3,2.5;2,5,-1,2;-1.5,2.7,3.3,-0.8} + +## Missing Stuff +- Coloration of cells for readable input and output. \ No newline at end of file diff --git a/Excel/p001-Basic-Neuron-3-inputs.xlsx b/Excel/p001-Basic-Neuron-3-inputs.xlsx new file mode 100644 index 0000000..4d692d7 Binary files /dev/null and b/Excel/p001-Basic-Neuron-3-inputs.xlsx differ diff --git a/Excel/p002-Basic-Neuron-Layer.xlsx b/Excel/p002-Basic-Neuron-Layer.xlsx new file mode 100644 index 0000000..b843d41 Binary files /dev/null and b/Excel/p002-Basic-Neuron-Layer.xlsx differ diff --git a/Excel/p003-Dot-Product.xlsx b/Excel/p003-Dot-Product.xlsx new file mode 100644 index 0000000..52accc7 Binary files /dev/null and b/Excel/p003-Dot-Product.xlsx differ diff --git a/Excel/p004-Layers-and-Object.xlsx b/Excel/p004-Layers-and-Object.xlsx new file mode 100644 index 0000000..13f7957 Binary files /dev/null and b/Excel/p004-Layers-and-Object.xlsx differ diff --git a/Excel/p005-ReLU-Activation.xlsx b/Excel/p005-ReLU-Activation.xlsx new file mode 100644 index 0000000..887a77d Binary files /dev/null and b/Excel/p005-ReLU-Activation.xlsx differ