Good Coding with ElseIF
#10
Hello mnrv .... I like the IF statement as a more precise decision in a perceptron. At the moment I'm playing with the Select Case for the various layers of a neural net but within each case is multiple IF's.  

Select Case within a Select Case is elegant but by mixing the decision types (ie Select Case & IF) it feels more like how our brains may order decisions.

I'm unfamiliar with any other computer languages, BASIC is pretty well it for me, so it's very interesting how other languages reformate the IF block statement. I'm going to have to look up "short-circuit evaluation"

In terms of "EveryCase", I haven't used it in the construction of my neural net because I'm afraid it will crash it, drive the brain crazy to do everything at once, but within the perceptrons and IF's I do have a final ELSE which I can code something similar which I call "All the Above". So in this regard I feel JD D and I are on the same page.

I do find ELSEIF useful to branch into some completely different condition then the original IF condition. Gives an added flexibility to my perceptrons.

You know, BASIC and QB64PE, has so much for me to explore in terms of data handlings and decision making .... not to mention you guys in the community to broaden the application of language ... that one day I may have a General AI of my own. Scary I know.
Reply


Messages In This Thread
Good Coding with ElseIF - by Dimster - 05-04-2023, 04:11 PM
RE: Good Coding with ElseIF - by mnrvovrfc - 05-04-2023, 04:45 PM
RE: Good Coding with ElseIF - by Dimster - 05-04-2023, 07:22 PM
RE: Good Coding with ElseIF - by mnrvovrfc - 05-04-2023, 09:12 PM
RE: Good Coding with ElseIF - by James D Jarvis - 05-04-2023, 09:23 PM
RE: Good Coding with ElseIF - by TerryRitchie - 05-04-2023, 09:51 PM
RE: Good Coding with ElseIF - by James D Jarvis - 05-05-2023, 01:39 AM
RE: Good Coding with ElseIF - by mnrvovrfc - 05-04-2023, 10:09 PM
RE: Good Coding with ElseIF - by James D Jarvis - 05-05-2023, 01:35 AM
RE: Good Coding with ElseIF - by Dimster - 05-05-2023, 01:03 PM
RE: Good Coding with ElseIF - by bplus - 05-05-2023, 05:38 PM
RE: Good Coding with ElseIF - by Dimster - 05-05-2023, 08:11 PM
RE: Good Coding with ElseIF - by bplus - 05-05-2023, 08:37 PM



Users browsing this thread: 3 Guest(s)