Finding the best possible combination of 4 variables to produce a successful outcome
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I'm trying to find the best possible combination of 4 variable values to produce a successful outcome, with the data of only ~100 different recipe combinations. However, the correct outcome is a also a percent chance, meaning if I did the same recipe/combination 100 times, I might get like a 6% chance of the successful outcome, and 94% failed outcome. So different variable values/recipes would produce a different % chance of successful outcome. The range of the values can be from 10-300 inclusively. Would it be possible to sort out 4 different variables to determine some sort of rough estimate(s) of the recipe that would produce the best chance of an outcome?
Here's the best example I came I up with if I did't explain it too well; Say I want to make the best possible recipe for a magical cake (successful outcome) with 4 different ingredients with different values. Let's say the 4 variables are Chocolate, Flour, Eggs, Oil, and you have a range of 10-300 grams to put in. The oven I use has a variable % chance to produce magical cakes (successful outcome) dependent on the combination of the 4 ingredients. If it doesn't produce a magical cake, it will produce a regular cake (failed outcome). What would the best possible recipe((s) ...since there might not be enough data) be to get the highest chance of magical cakes?
I also want to apologize if it's not tagged correctly; I'm not entirely too sure what else it would fall under.
Here's some of the data. I mentioned it earlier, but I have only roughly ~100 different combinations tested for such a large range of values, which is likely going to make things harder:
https://imgur.com/a/bue2tkQ
Feel free to scale the simplify/scale down the data to make it more palatable, say to single digits and easy percentages. I just really want to learn the process so I can scale it back up to the data I'm tackling, and maybe add or take out one or two variables depending on the situation. Thanks!
EDIT: Here is one of the sets of data I want to manipulate if anyone wants to take a look!
https://docs.google.com/spreadsheets/d/1MukvLAgFyH2VAAohB3C3u5ZShIcKDOItBkTXnW4p3Xs/edit?usp=sharing
probability statistics combinations
 |Â
show 3 more comments
up vote
1
down vote
favorite
I'm trying to find the best possible combination of 4 variable values to produce a successful outcome, with the data of only ~100 different recipe combinations. However, the correct outcome is a also a percent chance, meaning if I did the same recipe/combination 100 times, I might get like a 6% chance of the successful outcome, and 94% failed outcome. So different variable values/recipes would produce a different % chance of successful outcome. The range of the values can be from 10-300 inclusively. Would it be possible to sort out 4 different variables to determine some sort of rough estimate(s) of the recipe that would produce the best chance of an outcome?
Here's the best example I came I up with if I did't explain it too well; Say I want to make the best possible recipe for a magical cake (successful outcome) with 4 different ingredients with different values. Let's say the 4 variables are Chocolate, Flour, Eggs, Oil, and you have a range of 10-300 grams to put in. The oven I use has a variable % chance to produce magical cakes (successful outcome) dependent on the combination of the 4 ingredients. If it doesn't produce a magical cake, it will produce a regular cake (failed outcome). What would the best possible recipe((s) ...since there might not be enough data) be to get the highest chance of magical cakes?
I also want to apologize if it's not tagged correctly; I'm not entirely too sure what else it would fall under.
Here's some of the data. I mentioned it earlier, but I have only roughly ~100 different combinations tested for such a large range of values, which is likely going to make things harder:
https://imgur.com/a/bue2tkQ
Feel free to scale the simplify/scale down the data to make it more palatable, say to single digits and easy percentages. I just really want to learn the process so I can scale it back up to the data I'm tackling, and maybe add or take out one or two variables depending on the situation. Thanks!
EDIT: Here is one of the sets of data I want to manipulate if anyone wants to take a look!
https://docs.google.com/spreadsheets/d/1MukvLAgFyH2VAAohB3C3u5ZShIcKDOItBkTXnW4p3Xs/edit?usp=sharing
probability statistics combinations
Can you use machine learning? :)
â Matti P.
Aug 16 at 7:35
I would recommend posting the numbers here instead of a picture. It's not very convenient to extract numbers from a picture.
â Matti P.
Aug 16 at 7:37
I tried to add it on to the original post, but the formatting was a bit off. I'll try again. I don't have much background in machine learning sadly ): This isn't for work/school so there's no real restriction on what you can and cannot do
â Rivel An
Aug 16 at 8:06
@MattiP. I linked a google spreadsheet. Thank you for taking a look! (Also, sounds like a neat idea and future project to learn and use machine learning for stuff like this)
â Rivel An
Aug 16 at 8:17
I would say that the starting point is to consider that the success rate is a function of $a, b, c$ and $d$: $$ s = s(a, b, c, d) $$ Let's hope that $s$ is a smooth function, although we don't know its expression. Then you just have to find the maximum value of $s$. For this, there are many methods, and one good approach is to calculate the gradient of $s$ ...
â Matti P.
Aug 16 at 9:09
 |Â
show 3 more comments
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm trying to find the best possible combination of 4 variable values to produce a successful outcome, with the data of only ~100 different recipe combinations. However, the correct outcome is a also a percent chance, meaning if I did the same recipe/combination 100 times, I might get like a 6% chance of the successful outcome, and 94% failed outcome. So different variable values/recipes would produce a different % chance of successful outcome. The range of the values can be from 10-300 inclusively. Would it be possible to sort out 4 different variables to determine some sort of rough estimate(s) of the recipe that would produce the best chance of an outcome?
Here's the best example I came I up with if I did't explain it too well; Say I want to make the best possible recipe for a magical cake (successful outcome) with 4 different ingredients with different values. Let's say the 4 variables are Chocolate, Flour, Eggs, Oil, and you have a range of 10-300 grams to put in. The oven I use has a variable % chance to produce magical cakes (successful outcome) dependent on the combination of the 4 ingredients. If it doesn't produce a magical cake, it will produce a regular cake (failed outcome). What would the best possible recipe((s) ...since there might not be enough data) be to get the highest chance of magical cakes?
I also want to apologize if it's not tagged correctly; I'm not entirely too sure what else it would fall under.
Here's some of the data. I mentioned it earlier, but I have only roughly ~100 different combinations tested for such a large range of values, which is likely going to make things harder:
https://imgur.com/a/bue2tkQ
Feel free to scale the simplify/scale down the data to make it more palatable, say to single digits and easy percentages. I just really want to learn the process so I can scale it back up to the data I'm tackling, and maybe add or take out one or two variables depending on the situation. Thanks!
EDIT: Here is one of the sets of data I want to manipulate if anyone wants to take a look!
https://docs.google.com/spreadsheets/d/1MukvLAgFyH2VAAohB3C3u5ZShIcKDOItBkTXnW4p3Xs/edit?usp=sharing
probability statistics combinations
I'm trying to find the best possible combination of 4 variable values to produce a successful outcome, with the data of only ~100 different recipe combinations. However, the correct outcome is a also a percent chance, meaning if I did the same recipe/combination 100 times, I might get like a 6% chance of the successful outcome, and 94% failed outcome. So different variable values/recipes would produce a different % chance of successful outcome. The range of the values can be from 10-300 inclusively. Would it be possible to sort out 4 different variables to determine some sort of rough estimate(s) of the recipe that would produce the best chance of an outcome?
Here's the best example I came I up with if I did't explain it too well; Say I want to make the best possible recipe for a magical cake (successful outcome) with 4 different ingredients with different values. Let's say the 4 variables are Chocolate, Flour, Eggs, Oil, and you have a range of 10-300 grams to put in. The oven I use has a variable % chance to produce magical cakes (successful outcome) dependent on the combination of the 4 ingredients. If it doesn't produce a magical cake, it will produce a regular cake (failed outcome). What would the best possible recipe((s) ...since there might not be enough data) be to get the highest chance of magical cakes?
I also want to apologize if it's not tagged correctly; I'm not entirely too sure what else it would fall under.
Here's some of the data. I mentioned it earlier, but I have only roughly ~100 different combinations tested for such a large range of values, which is likely going to make things harder:
https://imgur.com/a/bue2tkQ
Feel free to scale the simplify/scale down the data to make it more palatable, say to single digits and easy percentages. I just really want to learn the process so I can scale it back up to the data I'm tackling, and maybe add or take out one or two variables depending on the situation. Thanks!
EDIT: Here is one of the sets of data I want to manipulate if anyone wants to take a look!
https://docs.google.com/spreadsheets/d/1MukvLAgFyH2VAAohB3C3u5ZShIcKDOItBkTXnW4p3Xs/edit?usp=sharing
probability statistics combinations
edited Aug 16 at 8:15
asked Aug 16 at 7:02
Rivel An
62
62
Can you use machine learning? :)
â Matti P.
Aug 16 at 7:35
I would recommend posting the numbers here instead of a picture. It's not very convenient to extract numbers from a picture.
â Matti P.
Aug 16 at 7:37
I tried to add it on to the original post, but the formatting was a bit off. I'll try again. I don't have much background in machine learning sadly ): This isn't for work/school so there's no real restriction on what you can and cannot do
â Rivel An
Aug 16 at 8:06
@MattiP. I linked a google spreadsheet. Thank you for taking a look! (Also, sounds like a neat idea and future project to learn and use machine learning for stuff like this)
â Rivel An
Aug 16 at 8:17
I would say that the starting point is to consider that the success rate is a function of $a, b, c$ and $d$: $$ s = s(a, b, c, d) $$ Let's hope that $s$ is a smooth function, although we don't know its expression. Then you just have to find the maximum value of $s$. For this, there are many methods, and one good approach is to calculate the gradient of $s$ ...
â Matti P.
Aug 16 at 9:09
 |Â
show 3 more comments
Can you use machine learning? :)
â Matti P.
Aug 16 at 7:35
I would recommend posting the numbers here instead of a picture. It's not very convenient to extract numbers from a picture.
â Matti P.
Aug 16 at 7:37
I tried to add it on to the original post, but the formatting was a bit off. I'll try again. I don't have much background in machine learning sadly ): This isn't for work/school so there's no real restriction on what you can and cannot do
â Rivel An
Aug 16 at 8:06
@MattiP. I linked a google spreadsheet. Thank you for taking a look! (Also, sounds like a neat idea and future project to learn and use machine learning for stuff like this)
â Rivel An
Aug 16 at 8:17
I would say that the starting point is to consider that the success rate is a function of $a, b, c$ and $d$: $$ s = s(a, b, c, d) $$ Let's hope that $s$ is a smooth function, although we don't know its expression. Then you just have to find the maximum value of $s$. For this, there are many methods, and one good approach is to calculate the gradient of $s$ ...
â Matti P.
Aug 16 at 9:09
Can you use machine learning? :)
â Matti P.
Aug 16 at 7:35
Can you use machine learning? :)
â Matti P.
Aug 16 at 7:35
I would recommend posting the numbers here instead of a picture. It's not very convenient to extract numbers from a picture.
â Matti P.
Aug 16 at 7:37
I would recommend posting the numbers here instead of a picture. It's not very convenient to extract numbers from a picture.
â Matti P.
Aug 16 at 7:37
I tried to add it on to the original post, but the formatting was a bit off. I'll try again. I don't have much background in machine learning sadly ): This isn't for work/school so there's no real restriction on what you can and cannot do
â Rivel An
Aug 16 at 8:06
I tried to add it on to the original post, but the formatting was a bit off. I'll try again. I don't have much background in machine learning sadly ): This isn't for work/school so there's no real restriction on what you can and cannot do
â Rivel An
Aug 16 at 8:06
@MattiP. I linked a google spreadsheet. Thank you for taking a look! (Also, sounds like a neat idea and future project to learn and use machine learning for stuff like this)
â Rivel An
Aug 16 at 8:17
@MattiP. I linked a google spreadsheet. Thank you for taking a look! (Also, sounds like a neat idea and future project to learn and use machine learning for stuff like this)
â Rivel An
Aug 16 at 8:17
I would say that the starting point is to consider that the success rate is a function of $a, b, c$ and $d$: $$ s = s(a, b, c, d) $$ Let's hope that $s$ is a smooth function, although we don't know its expression. Then you just have to find the maximum value of $s$. For this, there are many methods, and one good approach is to calculate the gradient of $s$ ...
â Matti P.
Aug 16 at 9:09
I would say that the starting point is to consider that the success rate is a function of $a, b, c$ and $d$: $$ s = s(a, b, c, d) $$ Let's hope that $s$ is a smooth function, although we don't know its expression. Then you just have to find the maximum value of $s$. For this, there are many methods, and one good approach is to calculate the gradient of $s$ ...
â Matti P.
Aug 16 at 9:09
 |Â
show 3 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2884485%2ffinding-the-best-possible-combination-of-4-variables-to-produce-a-successful-out%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Can you use machine learning? :)
â Matti P.
Aug 16 at 7:35
I would recommend posting the numbers here instead of a picture. It's not very convenient to extract numbers from a picture.
â Matti P.
Aug 16 at 7:37
I tried to add it on to the original post, but the formatting was a bit off. I'll try again. I don't have much background in machine learning sadly ): This isn't for work/school so there's no real restriction on what you can and cannot do
â Rivel An
Aug 16 at 8:06
@MattiP. I linked a google spreadsheet. Thank you for taking a look! (Also, sounds like a neat idea and future project to learn and use machine learning for stuff like this)
â Rivel An
Aug 16 at 8:17
I would say that the starting point is to consider that the success rate is a function of $a, b, c$ and $d$: $$ s = s(a, b, c, d) $$ Let's hope that $s$ is a smooth function, although we don't know its expression. Then you just have to find the maximum value of $s$. For this, there are many methods, and one good approach is to calculate the gradient of $s$ ...
â Matti P.
Aug 16 at 9:09