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
#13
If you are talking about the HSL/RGB, then 1 ANN is certainly best - do you have working code for this?

Generally, I would advise using a single ANN when data is correlated (i.e. have some inter dependence).  The point of an ANN is to find relationships between input and output, so if there is a relationship between data (inter dependence) then they should be included in the same ANN.

How to set up the input/output as numbers in [0,1] range may need some thought (often scaling with other functions first - the objective is to have values that are roughly evenly distributed between 0 and 1).  If 90% of your input values are between 0.95 and 1, then they should be rescaled somehow for example.  Careful choice of these parameters will be very important.  Basically you want them to be as independent as possible (Use Red, Green Blue, not Red, Yellow and Magenta), and evenly scaled between 0 and 1.  Also, as I mentioned, a cyclic variable like Hue is better represented by 2 values Cos(H) and Sin(H).  You are trying to give the ANN the best chance to 'see' relationships by forming the system with your best understanding of the system characteristics (mathematically: linearise, normalise, orthogonalise the problem as much as you can), then use the smallest number of hidden layers and nodes that works, and train for as few epochs as possible to avaid over-training.

The choice of hidden layers (number of layers and nodes in them), other parameters in the ANN (generally use defaults), being sure not to 'over-train' etc - these are all a bit of an art that comes with experience, this is why I suggested working on the RGB/HSL problem before trying to do it for your rabbit AI program.
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 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: 4 Guest(s)