######DeveloperUG 13 October 2015
######Paul:
###Balance Love what you do
###Communication Choose your medium - you do not write in the same style on slack/skype than how you would in a formal e-mail.
| // arrange some guinea pig for testing | |
| class Sheep | |
| { | |
| // public get & set used to read/write values | |
| public string Name { get; set; } | |
| public IceCream FavouriteIceCream { get; set; } | |
| } | |
| enum IceCream | |
| { | |
| Vanilla, |
| //------------------------------- Create Network ------------------------------- | |
| type Neuron = { Weights : float list ; Bias : float } | |
| type Layer = { Neurons : Neuron list } | |
| type Network = { Layers : Layer list } | |
| let rnd = System.Random() | |
| let randomWeight _ = (2.0 * rnd.NextDouble()) - 1.0 | |
| let buildNeuron inputs = |
| public static SharedResource Instance { get; } = new SharedResource(); | |
| private SharedResource() {} |
######DeveloperUG 13 October 2015
######Paul:
###Balance Love what you do
###Communication Choose your medium - you do not write in the same style on slack/skype than how you would in a formal e-mail.