Ideas for Simple A.I. Builds - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11) +--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2) +--- Thread: Ideas for Simple A.I. Builds (/showthread.php?tid=2994) |
Ideas for Simple A.I. Builds - Pete - 08-30-2024 So part of A.I. is getting a computer to exhibit critical thinking. I guess we could start off with some rudimentary approaches, for example: Code: (Select All)
The computer memorizes and evaluates values, and decides to only catch red apples, fairly soon. Refinements would include ways to deduce this faster, and to widen the sampling if we gave it feedback using greater variance with its results vs the best possible outcome. I mean real A.I. means the computer would keep refining its calculation method until it reached the most efficient method. Anyway, just having some fun and wondering if anyone else has made anything along A.I. lines they would like to share, or just discuss in this thread. I'll be back a bit later today to catch up! Pete RE: Ideas for Simple A.I. Builds - Kernelpanic - 09-01-2024 @Pete it's nice, but it is just an adding back and forth, but in my opinion it's illogical. The AI is squeaking somehow. It would to be oiled. PS: That is an AI-Program: Code: (Select All)
RE: Ideas for Simple A.I. Builds - SMcNeill - 09-01-2024 If you're interested in AI and how it works, here's a dern good site -- and a crapload of AI tools which they create and maintain that are 100% free: https://perchance.org/tutorial It's too much to copy/paste, and I'm not even going to try. FOLLOW THAT BLEEPING LINK!!!! Here's the very basic intro of the start of things: Quote:Perchance is all about lists. You simply create lists of different things and then reference the lists from one another. For example, we could create a list of animals, and a list of sentences, and then use the animals list within the sentences list like so: Quote:We could easily add another list to our previous example called "adjective" and then use [adjective] within our sentences to make them more random and complex: Quote:Perchance allows you to create "lists of lists" by indenting your items appropriately. This may seem unusual at first, but as you explore Perchance's more advanced features you'll see that it can sometimes be useful. Here's an example of a multi-level list called "animal": And if those aren't sample enough of it talking about how they structure things and create their AI, then you're not really interested in learning about it and don't need to bother with it all. It's all basically the same way ELIZA used to do with AI Chat, but hyped up with lists upon lists upon lists upon lists to the extreme. You say: I like green cars. It basically breaks that down to [subject][action][adjective][noun]. It can now respond via a list on any of those items. [subject] = I... What does it know about the fellow named "I"? response: You also like cheese, don't you? [action] = like... What does it know about the action called "like"? response: I like fluffy dogs. [adjective] = green.... response: I like The Incredible Huck, he is also green. [noun] = cars... response: I like fast cars! It's all about those lists that it creates and stores, and how it cross-references and assigns various probabilities and such to it all. FOLLOW THAT LINK, if you're interested in all that type junk!! They basically start at the very basic concepts and expand upon it step by step, in a manner that YOU, as a programmer could even create your own AI, if you just had enough time to start making lists and cross-referencing them one to another to another... RE: Ideas for Simple A.I. Builds - JRace - 09-02-2024 Wow. Bookmarked. One could create one's own MadLib filler-outer. RE: Ideas for Simple A.I. Builds - SpriggsySpriggs - 09-06-2024 Ooooh, it would be cool to use an AI like Gemini in a QB64 game. I'm not sure if it remembers between calls in the API, though. Hmmm... You could almost make a chess game with it. Use the board coordinates and then when it responds with its move, you can plot the piece on the board and play with the AI. RE: Ideas for Simple A.I. Builds - Pete - 09-06-2024 Or you could just make an A.I. video... Hey everybody, let's dance! https://x.com/BasedMikeLee/status/1823581650653204750 |