Jump to content

Recommended Posts

Posted (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:

 

  1. 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.
  2. Make a random change to a power, multiplying the result by the weight assigned to that item (Mutation function).
  3. Repeat step 2 for each item in the goals list.
  4. Select the item from steps 2 and 3 that produced the highest change.
  5. If the change is closer to the goal than the original, keep the change, otherwise revert to the original (Fitness function).
  6. Repeat steps 2-5 ten times for the power.
  7. Do steps 2-6 for every power.
  8. 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 by magicjtv
Posted (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 by magicjtv
  • Like 2
  • Thanks 1
Posted
  On 5/3/2020 at 2:08 AM, 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.

Expand  

 

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?

  • Like 1

Get busy living... or get busy dying.  That's goddamn right.

Posted
  On 5/3/2020 at 11:48 AM, 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?

Expand  

And actually, I typically select minimum values.   Like 45% smash/lethal defense, and then maximize something like recharge or resistance.

  • Like 1

Active on Excelsior:

Prismatic Monkey - Seismic / Martial Blaster, Shadow Dragon Monkey - Staff / Dark Brute, Murder Robot Monkey - Arachnos Night Widow

 

Posted
  On 4/15/2020 at 11: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.

Expand  

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)?

  • Like 1
Posted (edited)
  On 5/3/2020 at 11:48 AM, 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?

Expand  

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 by magicjtv
Posted
  On 5/3/2020 at 8:23 PM, 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)?

Expand  

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.

  • Thanks 1
Posted
  On 5/4/2020 at 8:06 AM, 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.

Expand  

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!

  • Like 1
Posted (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.

 

  Reveal hidden contents

 

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.csFetching info... PowerEntry.csFetching info... clsToonX.csFetching info...

Edited by magicjtv
Added code.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...