Using Maps with rapid miner

supadhyayasupadhyaya Member Posts: 5 Contributor II
edited November 2018 in Help
HI ,

I have a table which contains userIDs and their IP address. I want to display the density of user according to the region where they are loggin in from using a MAP.

can anybody tell me if rapid miner has digrams / plots which will let me visualize the density using the MAP (something like map of the world)



  • Options
    BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn

    RapidMiner has no ready-to-use functions for this.

    You could geocode the IP addresses using the Maxmind GeoIP database: http://dev.maxmind.com/geoip/geoip2/geolite2/

    For map display, you always need to select a "map projection" and transform the coordinates accordingly.

    Then, using the reporting operator, you export a scatterplot with the transformed coordinates. This plot could be laid over a base map.

    It's quite an involved process, not really easy.

    I'd do the display part using an online map server software like OpenLayers http://www.openlayers.org, Leaflet http://leafletjs.com/ or an offline map generator like MapServer's shp2img tool: http://mapserver.org/en/utilities/shp2img.html.
  • Options
    ReneRene Member Posts: 24 Contributor II
    Yes, one could use the GeoIP database to recode IPs into longitude & latitude or country data. Then I'd suggest you to use RapidMiner's R extension. R has some nifty functions to plot geo data with no effort.
  • Options
    supadhyayasupadhyaya Member Posts: 5 Contributor II
    Thank you guys,
    Yes I also think that the process you mentioned is really involving but surely is worth trying... Once again I thank for your advice. I am taking it and working on it currently..

  • Options
    wilsonchuawilsonchua Member Posts: 3 Contributor I
    You could try the community edition of SPLUNK with the google plugin to do what you want to achieve.
  • Options
    MBMMBM Member Posts: 23 Contributor I

    So for example when I have lat and long as points on a Map in RM usinge R extension can I use the points that are displayed for clustering?

  • Options
    Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn

    Yes, you can use the points that are displayed for clustering provided you write your R code to pass that data back to a RapidMiner process. 


    Something like this:



    library maplibrary


    some R code to generate your stuff


    data <- mylatlongforclustering


    return (data)


Sign In or Register to comment.