Its Friday night and youre making your character for a fun evening of gaming. Youve rolled your abilities and even got two 18s. But what class should you pick given your rolls? If you pick that class, is your character playable? What kind of character have you created?
Or maybe youre a game master and youve been running a game for some time. Do you need to know how much treasure that dragon horde should have? Or are you wanting to figure out how many encounters your players will make it through in an evening so you can prepare enough material?
These important questions can all be answered using machine learning.
Many developers want to make use of machine learning in their applications but arent sure what sorts of problems can be solved with it. This talk will explain the sorts of problems that can be solved, what data is required to solve them, and what the results look like. And, well explore it using fun and geeky examples. We will cover six major types of problems that machine learning can solve: regression, forecasting, impact analysis, classification, clustering, and anomaly detection. When were done, youll have a basic understanding of what machine learning can do and what you might want to use it for. I might even be something other than role-playing!
1 of 44
Download to read offline
More Related Content
Machine Learning for Gamers - Dungeon Forecasts & Dragon Regressions
13. Algorithms
13
ARIMA
Various combinations of
AutoRegressive component
with p parameters
Di鍖erencing component with
d parameters
Moving Average component
with qparameters
with external regressors
Exponential Smoothing
Simple
Double
Triple
with Box-Cox Transformation
Autoregressive Neural Network
with or without external
regressors
Multiple Linear Regression
with or without external
regressors
Spline
Seasonal and Trend
Decomposition using Loess
with ARIMA
with or without external
regressors
with Exponential Smoothing
Bayesian Time Series Regression
with or without external
regressors
Additive Model
Home-grown Nexosis Algorithms
Least Squares
Linear
Polynomial
Elastic Net
Lasso
Ridge
Support Vector Regression
Linear Kernel
Polynomial Kernel
Radial Basis Function kernel
Sigmoid Kernel
Multi-Layer Perceptron (Neural
Network)
with 1, 2, or 3 hidden layers
Recti鍖ed Linear Unit
Function
Hyperbolic Tan Function
Sigmoid Function
Random Forest
K-Nearest Neighbor
Logistic Regression
Naive Bayes
20. 20
Training Data
Age Color Hit Points Hoard Value
Young Gold 178 3,419.31
Ancient Blue 481 105,630.42
Ancient Green 385 107,355.23
Wyrmling Green 38 233.15
Adult Red 256 152,685.62
Adult Brass 172 4,490.94
Young Silver 168 2,786.95
Wyrmling Copper 22 155.11
Young Black 127 5,345.34
Adult White 200 3,789.23
Wyrmling Bronze 32 556.12
Ancient Bronze 444 123,891.74
Adult White 223 10,345.45
21. 21
Asking the Question
Age Color Hit Points Hoard Value
Ancient Gold 527 ?
Age Color Hit Points Hoard Value
Ancient Gold ? 129,459.14
22. 22
Can I Ask This?
Age Color Hit Points Hoard Value
Ancient ? 527 129,459.14
Age Color Hit Points Hoard Value
? Gold 527 129,459.14
31. Str Dex Con Int Wis Cha Race Class Playability
16 14 16 6 9 4 Half-Orc Barbarian ?
8 8 8 18 16 10 Half-Orc Barbarian ?
31
Asking the Question
32. 32
Forecasting
Predict the number of encounters that will be completed per weekly session for future weeks based on which players will be present
and how long the session will last.
33. 33
About Gaming Sessions
When the
session
occurred
The players
who attended
the game for
that particular
session
Time spent
playing during
that particular
game session
Number of
completed
combats for the
session
Date Players Length Encounters
34. 34
Training Data
Date Alice Bob Chuck Eve Length Encounters
11/13/2016 Yes Yes Yes Yes 4.00 4
11/20/2016 Yes No Yes Yes 4.50 4
11/27/2016 Yes Yes Yes Yes 3.25 3
12/4/2016 Yes Yes Yes Yes 5.50 6
12/11/2016 Yes Yes Yes No 12.00 8
12/18/2016 Yes No No Yes 4.00 7
12/25/2016 No No No No 0.00 0
1/1/2017 No No Yes Yes 4.50 3
1/8/2017 Yes Yes Yes Yes 7.00 5
1/15/2017 Yes Yes Yes Yes 6.25 7
1/22/2017 Yes Yes No Yes 6.00 8
1/29/2017 Yes Yes Yes No 4.00 4
2/5/2017 Yes Yes Yes Yes 3.75 3
35. Date Alice Bob Chuck Eve Length Encounters
2/12/2017 Yes Yes Yes Yes ? 4
2/19/2017 Yes Yes Yes Yes ? 5
2/26/2017 Yes Yes Yes No ? 4
Date Alice Bob Chuck Eve Length Encounters
2/12/2017 Yes Yes Yes Yes 4.00 ?
2/19/2017 Yes Yes Yes Yes 4.00 ?
2/26/2017 Yes Yes Yes No 6.00 ?
35
Asking the Question
42. Who is this Guy?
Guy Royse
Developer Evangelist
Nexosis
guy@nexosis.com
@guyroyse
42
43. 43
Credits
o Images
o https://www.flickr.com/photos/t17emma/5909350021
o https://www.flickr.com/photos/rueink/35095791331
o https://www.flickr.com/photos/rueink/37125691160
o https://www.flickr.com/photos/fauxlaroid/5988373053
o https://www.flickr.com/photos/kimonomania/602858091
o https://www.flickr.com/photos/wonderferret/174314534
o https://www.flickr.com/photos/herval/4100847043