The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Using Cluster.OBeu with OpenCPU

Introduction

This document describes the use of the functions implemented in Cluster.OBeu package in OpenCPU environment, after installing OpenCPU and Cluster.OBeu package on your OpenCPU server address(/ocpu/test).

How to use functions

 ../library/ {name of the library} /R/ {function}

OpenCPU and Cluster.OBeu

cl.analysis

In this example we will use cl.analysis function that returns in a single call a json string or a list with the following components:

cl.analysis components
Component Description
cluster.method Label of the clustering algorithm
raw.data Input data
data.pca Principal components
modelparam Clustering model specifications
compare Clustering measures

Select library and function

  1. Go to: yourserver/ocpu/test

  2. Copy and paste the following function to the endpoint

  1. Select Method: Post

Adding parameters parameters

Click add parameters every time you want to add a new parameters and values.

  1. Define the input data:

    • Param Name: cl.data
    • Param Value: e.g. sample_city_data
  2. Define the cluster algorithm parameter:

    • Param Name: cl.meth
    • Param Value: pam
  3. Define the cluster number parameter:

    • Param Name: clust.numb
    • Param Value: 3

For larger datasets you can specify likewise a specific clustering feature (cl_feature), the amounts and the aggregation if needed by defining cl_feature, amount, cl.aggregate parameters, see Cluster.OBeu reference manual for further details.

  1. Ready! Click on Ajax request!

Results

  1. copy the /ocpu/tmp/{this_id_number}/R/.val (second on the right panel)

  2. finally, paste yourserver/ocpu/tmp/{this_id_number}/R/.val on a new tab.

Further Details

Github

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.