Categories

Versions

Connect Panopticon to RapidMiner AI Hub

Altair Panopticon supports a wide range of information visualizations, including Treemaps, Heat Maps, Scatter Plots, Horizon Graphs, and a wide range of other great visualizations designed for fast comprehension and easy interpretation of static, time series, real-time streaming, and historic data sets.

This document doesnotdescribe the use of Panopticon. It only describes how to connect Panopticon to RapidMiner AI Hub via a data connector.

Read more:Altair Panopticon

Table of contents

Prerequisites

This document assumes that Panopticon is in installed on RapidMiner AI Hub with thepanopticon profileand and anappropriate license.

Assuming Panopticon is installed,create an endpoint. For the moment, only the followingauthentication methodsare supported:

  • Public / Anonymous,
  • Basic authentication, and
  • Long-living API token

After creating the endpoint,copy the URL

The RapidMiner data connector

The RapidMiner data connector is recommended, but it is still inbeta.

For alternatives, see theJSONdata connector or theWeb Datadata connector.

In Panopticon, create a newData Table.

Select connector

In theFile/URLtab, select theRapidMinerdata connector, and fill in the following fields:

  • Name- Give a name to your data table
  • Endpoint URL- insert the endpoint URL youhave copied
  • Authentication Type- ChooseNone,BasicorAPI token, depending on yourconfiguration
  • Request Body- If your endpoint process generates its own ouput, you can ignore theRequest Bodyfield.

    如果像的例子ScoreIrisData, your端点的过程has no output, you should enter your input data into theRequest Bodyfield in JSON format, as described inRequest results.

  • Timeout-

Configure connector

ClickGenerate Columns, and the column names of your data table will appear.

Preview data

ClickNext, and your data is displayed. PressOK, and your Panopticon Data Table is ready to go!

The JSON data connector

In Panopticon, create a newData Table.

In theFile/URLtab, select theJSONdata connector.

Set theJSON File SourcetoWeb URL:

的following values are the same for every RapidMiner AI Hub connection, regardless of the configuration of RapidMiner AI Hub, or the endpoint you want to query:

  • Authentication Type:Basic
  • Content Encoding:None
  • Http Method:POST
  • Content Type:application/json
  • Record Path:data

Leave these fields empty:

  • Proxy Server URI
  • Headers

如果像的例子ScoreIrisData, your端点的过程has no output, you should enter your input data into theRequest Bodyfield in JSON format, as described inRequest results.

If your endpoint process generates its own ouput, you can leave theRequest Bodyempty.

Finally, set thePathto the endpoint URL you have copied:

Authentication for JSON data connector

Public / Anonymous for JSON

Set theAuthentication TypetoBasic, and leave theUser IdandPasswordfieldsempty.

Basic authentication for JSON

Set theAuthentication TypetoBasic, and set theUser IdandPasswordfields.

Long-living API token for JSON

Set theAuthentication TypetoBasic, and leave theUser IdandPasswordfieldsempty.

Provide a custom header like this:

Important!The formatting must be like this:Authorization=apitoken

At this point you have set up everything important. Proceed tofetching data.

The Web Data data connector

In Panopticon, create a newData Table.

In theFile/URLtab, select theWeb Datadata connector, and set theURLto the endpoint URL you copied earlier.

的following values are the same for every RapidMiner AI Hub connection, regardless of the configuration of RapidMiner AI Hub, or the endpoint you want to query:

  • Data Type:JSON
  • Record Path:data

如果像的例子ScoreIrisData, your端点的过程has no output, you should enter your input data into theRequest Bodyfield in JSON format, as described inRequest results.

  • Body / Request Body:{}OR any valid JSON data

    Even if theRequest Bodyis empty, you must provide an empty JSON object:{}

Now set up the authentication.

Authentication for Web Data data connector

Public / Anonymous for Web Data

You do not need to do anything else, proceed togenerating columns.

Basic authentication for Web Data

Go to theAuthorizationtab and set theAuthentication TypetoBasic, then provide the credentials.

Long-living API token for Web Data

Keep theAuthentication TypeasNoneand go to Headers. Add a new header:

  • Key:Authorization
  • Value:apitoken

At this point you have set up everything important. Proceed tofetching data.

Fetching data

的following instructions are the same for bothJSONandWeb Datadata connectors.

  • Hit theGenerate Columnsbutton and you should see the columns loaded.
  • Hit theRefresh Previewbutton and you should also see the data loaded: