Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

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)

Regards,
supadhyaya

Answers

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

    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.
  • 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.
  • 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..

    Cheers
  • 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.
  • MBMMBM Member Posts: 23 Contributor II

    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?

  • 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:

    rm_main=function(data)

    {

    library maplibrary

     

    some R code to generate your stuff

     

    data <- mylatlongforclustering

     

    return (data)

    }

Sign In or Register to comment.