SymetryML6.1
  • Introduction
  • Guides
    • Onboarding Guide
    • Technical Requirements
    • Admin User Guide
    • Installation Guide
      • Installation Guide - GPU
      • Installation Guide - Spark
  • SymetryML GUI
    • ML Toolkit
      • The SymetryML Difference
      • Data Mining Lifecycle
      • SymetryML Concepts
      • Data Sources
      • Streams
      • Encoders
      • Projects
      • Models
    • Sequence Models
    • SymetryML Federated Learning
      • Creating the Federation
      • Load data to local project
      • Requesting Federation Information from Admin Node
      • Joining a Federation with a peer node
      • Federated Data & Modelling
      • Appendix
    • DEM Generator
  • SymetryML Rest Client
    • REST API Reference Guide
      • SymetryML REST API Security
      • SymetryML JSON API Objects
      • Encoder Object REST API
      • SymetryML Projects REST API
      • About Federated Learning
      • Hipaa Compliance and Federated Learning
      • Federated Learning API
        • Federated Learning Topologies
        • Federated Learning with Nats
        • Federated Learning with AWS
        • Fusion Projects
      • Exploration API
      • Modeling API
      • Exporting and Importing Model
      • Third Party Model Rest API
      • SymetryML Job Information
      • Prediction API
      • Data Source API
      • Project Data Source Logs
      • Stream Data Source API
      • AutoML with SymetryML
      • Transform Dataframe
      • Select Model with SymetryML
      • Auto Select with SymetryML
      • Tasks API
      • Miscellaneous API
      • WebSocket API
      • Appendix A JSON Data Structure Schema
      • Appendix B Sample Code
  • SymetryML SaaS
    • SaaS Homepage
    • SaaS Dashboard
    • SaaS Account
    • SaaS Users
    • SaaS Licence
Powered by GitBook
On this page
  • URL
  • HTTP Responses
  • HTTP Response Entity
  • Sample Request/Response
  1. SymetryML Rest Client
  2. REST API Reference Guide

Transform Dataframe

PreviousAutoML with SymetryMLNextSelect Model with SymetryML

Last updated 2 years ago

This rest endpoint returns a transformed if the project is AutoML enabled or the project has time series transformation enabled. The transformation applied are dictated by the AutoML/time series expansion configuration for the project, please see section for details. For regular projects the transform endpoint will return the original .

URL

POST /symetry/rest/{cid}/projects/{pid}/transform [body=DataFrame]

HTTP Responses

HTTP Status Code

HTTP Status Message

Description

200

OK

Transformation OK

400

BAD REQUEST

Unknown SymetryML project. {"statusCode":"BAD_REQUEST","statusString":" + Cannot Find SYMETRYML id[r2] for Customer id [c1]","values":{}}

HTTP Response Entity

The response is a , with the corresponding AutoML transformations as specified during project creation.

Sample Request/Response

Request:
POST url="http://charm:8080/symetry/rest/c1/projects/irisTest/transform"

Body:
{
    "attributeNames":["sepal_length","sepal_width","petal_length","petal_width","sepal_lengt_b1","sepal_lengt_b2","sepal_width_b1","sepal_width_b2","petal_length_b1","petal_length_b2","petal_width_b1","petal_width_b2","Iris_setosa","Iris_versicolor","Iris_virginica"],
    "attributeTypes":["C","C","C","C","B","B","B","B","B","B","B","B","B","B","B"],
    "data":[
        ["4.3","3","1.1","0.1","1","0","0","1","1","0","1","0","1","0","0"],
        ["4.8","3","1.4","0.1","1","0","0","1","1","0","1","0","1","0","0"],
        ["4.9","3.1","1.5","0.1","1","0","0","1","1","0","1","0","1","0","0"],
        (...)
        ["7.2","3.6","6.1","2.5","0","1","0","1","0","1","0","1","0","0","1"]
    ]
}

Response:
{
    "attributeNames":["sepal_length","sepal_width","petal_length","petal_width","sepal_length_*_sepal_length","Iris_setosa"],
    "attributeTypes":["C","C","C","C","B"],
    "data":[
        ["4.3","3","1.1","0.1","0.11", "1"],
        ["4.8","3","1.4","0.1","0.114","1"],
        ["4.9","3.1","1.5","0.1","0.15","1"],
        (...)
        ["7.2","3.6","6.1","2.5","15.25","0"]
    ]
}
AutoML Control Parameters
DataFrame
DataFrame
DataFrame