We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Neural Nettwork (ANN) Extension
#30
LitDev,

If I take your program and comment out the following lines and want to load the neural network that I previously created. I get the below error:

name = "XOrANN"
'NeuralNetwork.New(name,inputNode+","+hiddenNode+","+outputNode)
'NeuralNetwork.BinaryOutput(name,0,"False")
'NeuralNetwork.Save(name,Program.Directory+"\"+name+".txt")
name = NeuralNetwork.Load(Program.Directory+"\"+name+".txt")

Error in Small Basic program
Index was ouside the bounds of the array.
at SmallBasicANN.ANN..ctor(String fn)
at SmallBasicANN.NeuralNetwork.Load(Primitive Filename)
at _SmallBasicProgram._Main()

Any idea on what causes this? I would think that I should be able to load a previously created neural file.
Reply


Messages In This Thread
RE: Neural Nettwork (ANN) Extension - by litdev - 06-08-2024, 07:43 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-19-2024, 10:46 AM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-19-2024, 12:31 PM
RE: Neural Nettwork (ANN) Extension - by z-s - 07-19-2024, 03:57 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-19-2024, 05:18 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-19-2024, 07:49 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-21-2024, 07:49 AM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-22-2024, 08:30 AM
RE: Neural Nettwork (ANN) Extension - by z-s - 07-23-2024, 06:34 AM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-23-2024, 09:01 AM
RE: Neural Nettwork (ANN) Extension - by jrmrhrb00 - 07-24-2024, 03:38 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-24-2024, 04:01 PM
RE: Neural Nettwork (ANN) Extension - by z-s - 07-24-2024, 04:08 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-24-2024, 04:17 PM
RE: Neural Nettwork (ANN) Extension - by z-s - 07-24-2024, 04:21 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-24-2024, 05:47 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-24-2024, 08:48 PM
RE: Neural Nettwork (ANN) Extension - by z-s - 07-25-2024, 05:11 AM
RE: Neural Nettwork (ANN) Extension - by z-s - 07-25-2024, 07:16 AM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-25-2024, 11:02 AM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-25-2024, 01:18 PM
RE: Neural Nettwork (ANN) Extension - by z-s - 07-25-2024, 01:19 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-25-2024, 01:31 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-25-2024, 01:34 PM
RE: Neural Nettwork (ANN) Extension - by z-s - 07-25-2024, 03:23 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-25-2024, 03:36 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-25-2024, 05:44 PM
RE: Neural Nettwork (ANN) Extension - by z-s - 07-27-2024, 02:54 AM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-27-2024, 07:12 AM
RE: Neural Nettwork (ANN) Extension - by z-s - 07-27-2024, 03:33 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-27-2024, 04:23 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-27-2024, 10:03 PM
RE: Neural Nettwork (ANN) Extension - by z-s - 07-28-2024, 05:16 AM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-28-2024, 07:05 AM
RE: Neural Nettwork (ANN) Extension - by z-s - 07-28-2024, 02:28 PM
RE: Neural Nettwork (ANN) Extension - by z-s - 07-28-2024, 04:04 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-28-2024, 05:11 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 07-28-2024, 08:02 PM
RE: Neural Nettwork (ANN) Extension - by z-s - 08-13-2024, 04:33 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 08-26-2024, 02:06 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 08-26-2024, 04:14 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 08-26-2024, 05:58 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 08-26-2024, 10:16 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 08-26-2024, 10:54 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 08-27-2024, 08:23 AM
RE: Neural Nettwork (ANN) Extension - by litdev - 09-29-2024, 06:26 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 09-30-2024, 06:45 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 09-30-2024, 08:58 PM
RE: Neural Nettwork (ANN) Extension - by z-s - 10-01-2024, 05:06 AM
RE: Neural Nettwork (ANN) Extension - by litdev - 10-01-2024, 05:24 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 10-01-2024, 08:52 PM
RE: Neural Nettwork (ANN) Extension - by z-s - 10-02-2024, 05:28 AM
RE: Neural Nettwork (ANN) Extension - by z-s - 10-02-2024, 01:18 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 10-03-2024, 12:34 PM
RE: Neural Nettwork (ANN) Extension - by Scout - 10-06-2024, 03:51 PM
RE: Neural Nettwork (ANN) Extension - by litdev - 10-09-2024, 05:26 PM
Neural Nettwork (ANN) Extension - by litdev - 06-08-2024, 01:41 PM
RE: SB Forms extension - by AbsoluteBeginner - 06-08-2024, 02:43 PM
RE: SB Forms extension - by litdev - 06-08-2024, 03:08 PM
RE: SB Forms extension - by AbsoluteBeginner - 06-08-2024, 04:10 PM
RE: SB Forms extension - by litdev - 06-08-2024, 06:54 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)