Skip to main content

Python Client for INTELLIHUB.

Project description

INTELLIHUB logo

Python 3.8

About

Our philosophy is to create a Deep Technologies platform with ethical AI for enterprises that offers meaningful insights and actions.

INTELLIHUB Unified Deep Learning platform can be leveraged to build solutions that are Application-Specific and Industry-Specific where AI opportunity found by using INTELLIHUB SDKs, APIs and Microservices. With best of the breed AI Services from platform pioneers like H2O, Google's TensorFlow, WEKA and a few trusted open-sources models and libraries, we offer custom AI algorithms with co-innovation support.

Getting Started

Pre-requisite

  • INTELLIHUB : INTELLIHUB is collection of open-source docker images, where processing of images, text or structured tabular data is done using state-of-the-art AI models.

    Please follow the below link for instructions on INTELLIHUB Installation

Installation

Installing through pip

pip install intellihub

Installing from Source

  1. Clone the repo
git clone https://github.com/Spotflock/intellihub-sdk-python.git
  1. Set working directory to intellihub-sdk-python folder
cd intellihub-sdk-python
  1. Install requirements from requirements.txt file
pip install -r requirements.txt

Usage

A detailed documentation is present here, on how to use various services supported by INTELLIHUB, to verify whether all setup are done properly, we will be using a sample NLP code to analyze sentiment of the input text.

Example

import intellihub

client = intellihub.IntellihubAiClient(base_url='http://localhost:8000')

text = "The product is very easy to use and has got a really good life expectancy."

sentiment_analysis_response = client.sentiment_analysis(text)

print(sentiment_analysis_response)

Important Parameters:

APIkey : a valid API key generated by following steps as shown here

base_url : The base_url is the url for the machine where base service is installed. (default: http://localhost:8000)


Expected Output

{
  "nltk_vader": {"emotion": "POSITIVE", "scores": {"negative": 0.0, "neutral": 0.653, "positive": 0.347, "compound": 0.7496}}
}

Services

Machine Learning

ML Scikit - This Microservice uses widely used Scikit package for training and evaluating classification, regression, clustering models and other ML related tasks on dataset provided by user.

ML H2O - This Microservice uses H2O.ai python SDK for training and evaluating classification, regression, clustering models and other ML related tasks on dataset provided by user.

ML Weka - This Microservice uses WEKA for training and evaluating classification, regression, clustering models and other ML related tasks on dataset provided by user.

Example Notebooks


Natural Language Processing (NLP)

  • This microservice provides features like Sentiment analysis, Name Entity Recognition, Tag Extraction using widely used Spacy and NLTK package. It also provide support for various AI engines like Azure & IBM.

Example Notebook


Computer Vision

  • Image Classification - This microservice classify images into various classes using pretrained model and also using supported AI Engines.

  • Object Detection - This microservice detect objects in Images provided by user using pretrained model and using supported AI Engines.

Example Notebooks

Note

  • To use third party AI engines like Microsoft Azure & IBM watson, please ensure that its credentials were configured while setting up INTELLIHUB.

Documentation

For more detail on INTELLIHUB features & usage please refer INTELLIHUB SDK Client Documentation

License

The content of this project itself is licensed under GNU LGPL, Version 3 (LGPL-3)

Team

Founding Member Mentor Lead Maintainer Core Contributor

For more details you can reach us at Spotflock Email-ID - connect@spotflock.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

intellihub-1.4.1.tar.gz (63.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

intellihub-1.4.1-py3-none-any.whl (64.1 kB view details)

Uploaded Python 3

File details

Details for the file intellihub-1.4.1.tar.gz.

File metadata

  • Download URL: intellihub-1.4.1.tar.gz
  • Upload date:
  • Size: 63.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for intellihub-1.4.1.tar.gz
Algorithm Hash digest
SHA256 9f539949d770dd9ad724e0dc3f87d272691cc728b49cae0c6311d65277c35e27
MD5 6dd2cd573b2e49f8b9f7c38b155698e6
BLAKE2b-256 3fabb16109b95701d0db13a126b4c258744c0b15d4d8ef8d510adb67220a0bb2

See more details on using hashes here.

File details

Details for the file intellihub-1.4.1-py3-none-any.whl.

File metadata

  • Download URL: intellihub-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 64.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for intellihub-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5101d5492e72e5def5dc207484de39a631ee20ec1ec77f599a408024a249e002
MD5 a9b2602af511badf5466119b7391dfe3
BLAKE2b-256 f73fa9d86e8d60a7ababd50860bbace0e37828d4f4dd94ac48f2ac849bc52b24

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page