Skip to main content

The HDF5 data format

HDF5 is the native data file format of Altair AI Cloud. Data files in this format use the extension rmhdf5table.

Supported data types

Here's a list of the currently supported types in Altair AI Cloud's HDF5 format.

  • Real
  • Nominal
  • DateTime
  • Time
  • Text
  • TextList
  • TextSet
  • RealArray

Example JSON representation

In some use cases, such as providing inputs and returning outputs in REST API deployments of workflows, the JSON representation must be used. Here's an example for such a representation.

{
"table": {
"height": 1,
"width": 6,
"columns": [
{
"name": "Age",
"index": 0,
"type": "Real",
"data": [19]
},
{
"name": "Passenger Class",
"index": 1,
"type": "Nominal",
"data": ["Third"]
},
{
"name": "Sex",
"index": 2,
"type": "Nominal",
"data": ["Female"]
},
{
"name": "No of Siblings or Spouses on Board",
"index": 3,
"type": "Real",
"data": [2]
},
{
"name": "No of Parents or Children on Board",
"index": 4,
"type": "Real",
"data": [1]
},
{
"name": "Passenger Fare",
"index": 5,
"type": "Real",
"data": [75]
}
]
}
}