magicjtv Posted May 2, 2020 Author Posted May 2, 2020 (edited) With the ability to convert an AIToon to Mids format and save it off, I'm checking off as done the requirement of including relevant power effects, not just set bonuses, in the totals. That leaves the ability to optimize for multiple values simultaneously as the only feature left to add to the proof of concept. Here's how that will work: Start with a given build and a list of goals on what we want to improve. Each item in the goal list has a weight between 0.01 and 1.0 assigned to it. Higher numbers are more important. Make a random change to a power, multiplying the result by the weight assigned to that item (Mutation function). Repeat step 2 for each item in the goals list. Select the item from steps 2 and 3 that produced the highest change. If the change is closer to the goal than the original, keep the change, otherwise revert to the original (Fitness function). Repeat steps 2-5 ten times for the power. Do steps 2-6 for every power. Do steps 2-7 one hundred times. (100 generations). A sample goals list might look like this: Goal Weight --------------------- -------- Smashing Defense 1.0 Psionc Resistance 0.9 Recovery 0.5 Edited May 2, 2020 by magicjtv Robot Woman's Guide To Artificial Intelligence In Mid's Reborn My GoFundMe To Replace Destroyed Dev Box. Please Consider Donating.
magicjtv Posted May 3, 2020 Author Posted May 3, 2020 (edited) Just as a sanity check, I took a robotics/FF mastermind build of mine and fed it through the AI. The build was optimized by me for +Recovery bonuses. It had +160% Recovery. The AI was able to boost that to 204%, a 44% increase over my hand-optimized build. And this was after I took out a few of the AI's optimizations to add procs I wanted. Yeah, I think this is gonna work just fine. Edited May 3, 2020 by magicjtv 2 1 Robot Woman's Guide To Artificial Intelligence In Mid's Reborn My GoFundMe To Replace Destroyed Dev Box. Please Consider Donating.
Luminara Posted May 3, 2020 Posted May 3, 2020 9 hours ago, magicjtv said: Just as a sanity check, I took a robotics/FF mastermind build of mine and fed it through the AI. The build was optimized by me for +Recovery bonuses. It had +160% Recovery. The AI was able to boost that to 204%, a 44% increase over my hand-optimized build. And this was after I took out a few of the AI's optimizations to add procs I wanted. Yeah, I think this is gonna work just fine. What was the trade-off? Can it optimize multiple options simultaneously (select two, three, four or more bonuses to pursue)? What about exclusions, such as "no purples" or "any set except this one"? Is it named Magicjtv's Invention Set Specialization, Integrated Edition? 1 Get busy living... or get busy dying. That's goddamn right.
Shred Monkey Posted May 3, 2020 Posted May 3, 2020 45 minutes ago, Luminara said: What was the trade-off? Can it optimize multiple options simultaneously (select two, three, four or more bonuses to pursue)? What about exclusions, such as "no purples" or "any set except this one"? Is it named Magicjtv's Invention Set Specialization, Integrated Edition? And actually, I typically select minimum values. Like 45% smash/lethal defense, and then maximize something like recharge or resistance. 1 Active on Excelsior: Prismatic Monkey - Seismic / Martial Blaster, Shadow Dragon Monkey - Staff / Dark Brute, Murder Robot Monkey - Arachnos Night Widow
AboveTheChemist Posted May 3, 2020 Posted May 3, 2020 On 4/15/2020 at 7:03 PM, magicjtv said: As part of testing, I've created a csv file with all the bonuses for all the sets. I thought this may be useful for everyone who wants to find specific types of set bonuses, so I'm attaching the file here. That CSV file is a thing of beauty, thank you very much. Do you have plans to update it with the enhancements that were added with i26p5 (unless I totally missed them being in there)? 1 Popmenus > Badge List | Optimal Paths | Conversion Possibilities | Emotes Wiki Pages > Costume Color Schemes | Set Bonus Comparison Tables Maps > Vidiotmaps | Optimal Paths | Halloween GM Maps | Winter Gift Maps | Offline Map Viewer Sounds > Banshee Sonic Attack Datasets > Recipe Salvage Components | Badge Name & Settitle ID | Exploration Badge & History Plaque Coordinates
magicjtv Posted May 4, 2020 Author Posted May 4, 2020 (edited) 20 hours ago, Luminara said: What was the trade-off? Can it optimize multiple options simultaneously (select two, three, four or more bonuses to pursue)? What about exclusions, such as "no purples" or "any set except this one"? Is it named Magicjtv's Invention Set Specialization, Integrated Edition? There really weren't any trade offs. The AI just found stuff I missed. Once I get the code working to simultaneously optimize multiple stats, i think the trade-offs will pop up. We'll see. Edited May 4, 2020 by magicjtv Robot Woman's Guide To Artificial Intelligence In Mid's Reborn My GoFundMe To Replace Destroyed Dev Box. Please Consider Donating.
magicjtv Posted May 4, 2020 Author Posted May 4, 2020 11 hours ago, AboveTheChemist said: That CSV file is a thing of beauty, thank you very much. Do you have plans to update it with the enhancements that were added with i26p5 (unless I totally missed them being in there)? Thanks, I like it too. It's produced by scanning te Mids database, so if there are things that are in Mids, but not in the csv, that means I have an older copy of Mids. 1 Robot Woman's Guide To Artificial Intelligence In Mid's Reborn My GoFundMe To Replace Destroyed Dev Box. Please Consider Donating.
AboveTheChemist Posted May 4, 2020 Posted May 4, 2020 9 hours ago, magicjtv said: Thanks, I like it too. It's produced by scanning te Mids database, so if there are things that are in Mids, but not in the csv, that means I have an older copy of Mids. That makes sense. I just updated my Mids and those enhancements are in there. The CSV naming convention seems straightforward though so if I need that data before you get a chance to update it, I can just add it in manually on my end. I have some vague notions of some fun things I could do with that data (aside from simple filters in Excel which are super handy in their own right) but that's a ways down the road at best. Anyway, I look forward to seeing how this project turns out! Thanks again! 1 Popmenus > Badge List | Optimal Paths | Conversion Possibilities | Emotes Wiki Pages > Costume Color Schemes | Set Bonus Comparison Tables Maps > Vidiotmaps | Optimal Paths | Halloween GM Maps | Winter Gift Maps | Offline Map Viewer Sounds > Banshee Sonic Attack Datasets > Recipe Salvage Components | Badge Name & Settitle ID | Exploration Badge & History Plaque Coordinates
magicjtv Posted May 6, 2020 Author Posted May 6, 2020 Status update. There was a bug in the multi-optimize code that took a while for me to track down. It's fixed now and I'm doing more testing on that feature. Robot Woman's Guide To Artificial Intelligence In Mid's Reborn My GoFundMe To Replace Destroyed Dev Box. Please Consider Donating.
magicjtv Posted May 8, 2020 Author Posted May 8, 2020 (edited) Status Update. Multi-optimize is complete. Here's an example result that optimizes for smashing defense, psionic resistance, and recovery with weights of 1.0, 0.5, and 0.25, respectively. Spoiler Controller === Powersets === * Inherent Fitness * Mind Control * Force Field * Speed * Concealment * Fighting * Force of Will * Primal Forces Mastery === Optimizations === Defense Smashing without PvP bonuses (Weight: 1) Resistance Psionic without PvP bonuses (Weight: 0.5) Recovery without PvP bonuses (Weight: 0.25) === Powers === * Health (Slots: 4): Panacea Heal/EndRedux, Panacea Heal/Rchg, Miracle Heal/EndRdx, Miracle Heal/Rchg || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0 (Weighed: 0) Recovery: 0.05 (Weighed: 0.0125) * Stamina (Slots: 6): Performance Shifter EndMod, Performance Shifter EndMod/Rchg, Performance Shifter EndMod/Acc/Rchg, Performance Shifter EndMod/Acc, Adrenal Adjustment EndMod, Adrenal Adjustment EndMod/Rchg || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0 (Weighed: 0) Recovery: 0.035 (Weighed: 0.00875) * Mesmerize (Slots: 1): Acc || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0 (Weighed: 0) Recovery: 0 (Weighed: 0) * Personal Force Field (Slots: 2): Kismet Def/EndRdx, Kismet Def/Rchg || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0 (Weighed: 0) Recovery: 0.015 (Weighed: 0.00375) * Deflection Shield (Slots: 6): Gift of the Ancients Def/EndRdx, Gift of the Ancients Def/Rchg, Gift of the Ancients EndRdx/Rchg, Gift of the Ancients Def/EndRdx/Rchg, Gift of the Ancients Def, Gift of the Ancients Run+ || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0.045 (Weighed: 0.0225) Recovery: 0.02 (Weighed: 0.005) * Levitate (Slots: 4): Ruin Acc/Dmg, Ruin Dmg/EndRdx, Far Strike Dmg/Rng, Far Strike Dmg/Rchg || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0.03 (Weighed: 0.015) Recovery: 0 (Weighed: 0) * Dominate (Slots: 2): Essence of Curare Acc/Rchg, Essence of Curare EndRdx/Hold || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0.015 (Weighed: 0.0075) Recovery: 0 (Weighed: 0) * Confuse (Slots: 2): Coercive Persuasion Conf, Coercive Persuasion Conf/Rchg || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0 (Weighed: 0) Recovery: 0.04 (Weighed: 0.01) * Stealth (Slots: 6): Luck of the Gambler Def/EndRdx, Luck of the Gambler Def/Rchg, Luck of the Gambler EndRdx/Rchg, Luck of the Gambler Def/EndRdx/Rchg, Luck of the Gambler Def, Luck of the Gambler Def/Rchg+ || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0.045 (Weighed: 0.0225) Recovery: 0 (Weighed: 0) * Grant Invisibility (Slots: 6): Shield Wall Def/EndRdx, Shield Wall Def/Rchg, Shield Wall EndRdx/Rchg, Shield Wall Def/EndRdx/Rchg, Shield Wall Def, Shield Wall ResDam/Re TP || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0.0375 (Weighed: 0.01875) Recovery: 0 (Weighed: 0) * Insulation Shield (Slots: 6): Gift of the Ancients Def/EndRdx, Gift of the Ancients Def/Rchg, Gift of the Ancients EndRdx/Rchg, Gift of the Ancients Def/EndRdx/Rchg, Gift of the Ancients Def, Gift of the Ancients Run+ || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0.045 (Weighed: 0.0225) Recovery: 0.02 (Weighed: 0.005) * Invisibility (Slots: 2): Gift of the Ancients Def/EndRdx, Gift of the Ancients Def/Rchg || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0 (Weighed: 0) Recovery: 0.02 (Weighed: 0.005) * Mass Hypnosis (Slots: 6): Fortunata Hypnosis Sleep, Fortunata Hypnosis Sleep/Rchg, Fortunata Hypnosis Acc/Sleep/Rchg, Fortunata Hypnosis Acc/Rchg, Fortunata Hypnosis Sleep/EndRdx, Fortunata Hypnosis Plct% || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0.06 (Weighed: 0.03) Recovery: 0.04 (Weighed: 0.01) * Telekinesis (Slots: 1): EndRdx || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0 (Weighed: 0) Recovery: 0 (Weighed: 0) * Dispersion Bubble (Slots: 2): DefBuff, DefBuff || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0 (Weighed: 0) Recovery: 0 (Weighed: 0) * Total Domination (Slots: 1): Acc || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0 (Weighed: 0) Recovery: 0 (Weighed: 0) * Terrify (Slots: 4): Positron's Blast Acc/Dmg, Positron's Blast Dmg/EndRdx, Javelin Volley Dam%, Javelin Volley Acc/Dmg || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0 (Weighed: 0) Recovery: 0.045 (Weighed: 0.01125) * Boxing (Slots: 5): Superior Blistering Cold Acc/Dmg, Superior Blistering Cold Dmg/EndRdx, Superior Blistering Cold Acc/Dmg/EndRdx, Superior Blistering Cold Acc/Dmg/Rchg, Superior Blistering Cold Dmg/EndRdx/Acc/Rchg || Set Bonuses: Defense Smashing: 0.05 (Weighed: 0.05) Resistance Psionic: 0 (Weighed: 0) Recovery: 0.04 (Weighed: 0.01) * Tough (Slots: 6): Aegis ResDam/EndRdx, Aegis ResDam/Rchg, Aegis EndRdx/Rchg, Aegis ResDam/EndRdx/Rchg, Aegis ResDam, Aegis Psi/Status || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0.045 (Weighed: 0.0225) Recovery: 0 (Weighed: 0) * Weave (Slots: 2): Kismet Def/EndRdx, Kismet Def/Rchg || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0 (Weighed: 0) Recovery: 0.015 (Weighed: 0.00375) * Mass Confusion (Slots: 6): Malaise's Illusions Acc/Rchg, Malaise's Illusions EndRdx/Conf, Cacophany Acc/Rchg, Cacophany EndRdx/Conf, Befuddling Aura Acc/Rchg, Befuddling Aura EndRdx/Conf || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0 (Weighed: 0) Recovery: 0.045 (Weighed: 0.01125) * Force Bubble (Slots: 1): RechRdx || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0 (Weighed: 0) Recovery: 0 (Weighed: 0) * Repulsion Bomb (Slots: 2): Acc, Dmg || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0 (Weighed: 0) Recovery: 0 (Weighed: 0) * Force Bolt (Slots: 3): Ruin Acc/Dmg, Ruin Dmg/EndRdx, Dmg || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0.015 (Weighed: 0.0075) Recovery: 0 (Weighed: 0) * Repulsion Field (Slots: 1): RechRdx || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0 (Weighed: 0) Recovery: 0 (Weighed: 0) * Detention Field (Slots: 6): Acc, EndRdx, EndRdx, EndRdx, RechRdx, RechRdx || Set Bonuses: Defense Smashing: 0 (Weighed: 0) Resistance Psionic: 0 (Weighed: 0) Recovery: 0 (Weighed: 0) Defense Smashing Total Bonus: 0.05 (Weighed: 0.05) Resistance Psionic Total Bonus: 0.3375 (Weighed: 0.16875) Recovery Total Bonus: 0.3849999 (Weighed: 0.09624998) The proof of concept is now feature complete. The next step is implementing a minimal viable product (MVP). The MVP will have a user interface, code improvements, and additional features. It will also be downloadable so players can try it out. Discussion of the MVP will be on a new thread. Code: DatabaseAPI.cs PowerEntry.cs clsToonX.cs Edited May 8, 2020 by magicjtv Added code. Robot Woman's Guide To Artificial Intelligence In Mid's Reborn My GoFundMe To Replace Destroyed Dev Box. Please Consider Donating.
magicjtv Posted May 8, 2020 Author Posted May 8, 2020 The new MVP thread is here. Robot Woman's Guide To Artificial Intelligence In Mid's Reborn My GoFundMe To Replace Destroyed Dev Box. Please Consider Donating.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now