Contributed by Lei Zhang.
Recently one phone game spread through the whole world, and cause a lot of interesting topic about the technique behind the game. One of the hot topic is: How to predict the pokemon spawning position?
Here I developed an app to predict the pokemon spawning position and the probability of spawning at that position. This is the exciting news for the fans of the game, who can easily find the possible spawning position and collect the rare desired pokemon. Next let me introduce my app.
- Features Selection. the data was downloaded with 2906021 observation and 208 variables. 7 variables was selected, including the geography coordinates(longitude and latitude), the pokemon Id, name,appeared Time Of Day and the city.
- Methodology . group the data by location (longitude and latitude), and count the population of the specific pokemon appeared at that location, the circle on the map show the appeared location in history, the intensity of the circle’s color and the radius of the circles proportional to the populations. So the darker and larger circle indicate higher possibility that the pokemon appear at that position.
- Function of the app. In the application(see figures below), the customer can:
- select the city Totally 98 cities of different country and different continent are avaliable, and more and more cities are going to added.
- select the target pokemon. All 143 kinds of pokemon were collected and the statistic data of the pokemon is shown in the table above the map.
- select the type of street map. There are 5 kinds of map to choose “HERE.hybridDay”, “Stamen.TonerLines”, “Stamen.Terrain”, “CartoDB.Positron”, “Esri.WorldImagery”.
- select the zoom level There are 18 levels of zoom can be choose. The high level can be chose to show the detail of the destination, and the low to show the large area of the location and more spawn location to choose.
Figure 1 show the pokemon (Pidgey) spawn distribution and frequent at each spawn location
Figure 2 select the city: Los Angels and adjust the zoom level to 16, and this show very small range and explicit spawn location
Figure 3, using the the satellite map “Esri.WorldImagery” to search the very rare kind of pokemon(Pikachu) and investigate the surrounding of the location
Figure 4 the zoomed central park map showing the explicit pokemon spawn location and the traffic.
Apply more features and machine learning , get more accurate prediction
Actually, there is one very complicated equation to generate the pokemon spawns. In the future, I am going to add more features, such as wind speed, temperature, resident population density, the local time, the moving speed, and apply the machine learning algorithm to track the pokemon more accurate.