Hub
  • Software
  • Blog
  • Forum
  • Events
  • Documentation
  • About KNIME
  • KNIME Hub
  • jtyler
  • Spaces
  • KNIME-Edge-Server-Workflows
  • Example_Use_Cases
  • General
  • Sentiment Analysis
  • 01_Sentiment_Analysis_Variable_Input
WorkflowWorkflow

Sentiment Analysis: JSON Input

Sentiment Analysis Inference Deployment Edge
+2

Last edited: 

Drag & drop
Like
Download workflow
Copy short link
Workflow preview
This workflow showcases how the Container Input (Variable) and Container Output (JSON) nodes can be used to create a REST API for a workflow that can then be deployed as inference workflow to KNIME Edge. The workflow can be called via REST and classifies a review as positive or negative. When deployed to KNIME Edge, a POST request with the following JSON body can be used for testing: { "content": "What a crappy flight, I hated it! It was the worst experience ever" } The response will be: { "Prediction (Document class) (Confidence)": 0.7526856112217033, "Prediction (Sentiment)": "Negative" }

Used extensions & nodes

Created with KNIME Analytics Platform version 4.4.0
  • Go to item
    KNIME Base nodes Trusted extension

    KNIME AG, Zurich, Switzerland

    Versions 3.7.0, 4.4.0

  • Go to item
    KNIME Ensemble Learning Wrappers Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.4.0

  • Go to item
    KNIME Javasnippet Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.4.0

  • Go to item
    KNIME JSON-Processing Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.4.0

  • Go to item
    KNIME Textprocessing Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.4.1

  1. Go to item
  2. Go to item
  3. Go to item
  4. Go to item
  5. Go to item
  6. Go to item

Legal

By using or downloading the workflow, you agree to our terms and conditions.

Discussion
Discussions are currently not available, please try again later.

KNIME
Open for Innovation

KNIME AG
Hardturmstrasse 66
8005 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • E-Learning course
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • KNIME Open Source Story
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more on KNIME Server
© 2022 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Credits