52
IBM Systems Center Montpellier Benoit MAROLLEAU - Cloud Architect IBM Cognitive Systems - Client Center Montpellier, France [email protected] + Démarrer sur un projet d’intelligence artificielle sur IBM i Présentation d’une solution simple, open source, abordable avec H2O Driverless AI - Support & accompagnement IBM Replay & More info https://ibm.biz/bma-wiki Thierry Huche Cloud Specialist - IBM Cognitive Systems [email protected]

Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

IBM Systems Center Montpellier

Benoit MAROLLEAU - Cloud Architect IBM Cognitive Systems - Client Center Montpellier, [email protected]

+

Démarrer sur un projet d’intelligenceartificielle sur IBM iPrésentation d’une solution simple, open source, abordable avec H2O Driverless AI - Support & accompagnement IBM

Replay & More infohttps://ibm.biz/bma-wiki

Thierry HucheCloud Specialist - IBM Cognitive [email protected]

Page 2: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Montpellier Cognitive Systems Lab Manager : Philippe Chonavel

Coordinator : Alain Roy

Team PowerAI/WML ATS Europe

Jean-Armand Broyelle

Regis Cely

Sebastien Chabrolles

Sylvain Delabarre

Maxime Deloche

Thierry Huche

Benoit Marolleau

Team CAPI/SNAP (FPGA)

Bruno Mesnet

Alexandre Castelane

Fabrice Moyen

Team HPC

Ludovic Enault

Pascal Vezolle

Montpellier Client Center (France) - EMEA

Our Offerings

1. Technical Consultancy & Assistance

2. Co-Creation Lab Workshops

3. Hands-On Technical Enablement

4. Demonstration/PoT

5. PoC/Benchmark

PowerHA Virtualization

Cloud / Hybrid Cloud

Analytics , ML/DL

Performance BenchmarksModernization

Page 3: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

CONFIDENTIAL

Agenda

3

→ Introduction : H2O Driverless AI + AIX / IBM i Bundle

→ H2O Driverless AI (DAI) : How it works? Customer Use cases

→ Demo – Driverless AI + IBM i/AIX – CRM & Customer Churn

“Smarter IBM i / AIX applications with Accelerated Machine Learning & H2O Driverless AI “

Presentation : https://ibm.biz/bma-wiki

→ Questions?

Page 4: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

CONFIDENTIAL

AIX/IBM i – H2O Driverless AI Solution

4

AC922

ETL customer Data via JDBC Connector H2O Fast Start Bundle

(AC922+H2O DAI)

IBM Power Systems

Enterprise Server

Feature Engineering & AI Model Training

AI Scoring

ML Inference Engine

Java MOJO can be deployed in IBM i , AIX and Linux LPAR

LPARLINUX

(inference engine)

Page 5: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Security: POWER RAS and Security provided by IBM POWER Systems

Bring high SLA to AILow latency: Able to process very high volume of data for AI inferencing with minimal network delays. Networks designed to support operations that require near real-time access to rapidly changing data.

Workload increment: Combine AI and application workload efficiency. Manage both AI inference, existing applications and DB workloads on one Power system.

Why running ML Models on IBM i/AIX ?

Deployment happens where data is located. Some data is intended to never leave the highly available and secured mission critical Power Systems. Client want to get started from where they are

Page 6: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

H2O Driverless AI Complements IBM PowerAI VisionIntegration with Cloud Pak for Data - powered by POWER9, OpenPower NVlink & GPU Acceleration

6

H2O Driverless AI is Automatic Machine Learning

IBM PowerAI Visiondelivers Deep Learning for Images

Transactional

NLP

Log

Sensors

Time Series

Page 7: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

7 © 2019 IBM CorporationIBM Cloud

Cloud Pak forData

Cloud Pak for Integration Cloud Pak forAutomation

Cloud Pak forMulticloud Management

Cloud Pak for Applications

Cloud Paks – Pre-integrated for cloud use cases

Developer & DevOps Tools

ModernizationToolkit

Frameworks and Runtimes

Organize Analyze

Collect

API Lifecycle Messaging and Events

App and Data Integration Workflow and Decisions

Operational Intelligence

App and Infrastructure

Multicluster

Security and ComplianceManagement

Content

Today, IBM offers clients the first five Cloud Paks…

Containerplatform andoperational services

Containerplatform andoperational services

Containerplatform andoperational services

Containerplatform andoperational services

Containerplatform andoperational services

IBM Cloud SystemsEdge Private

Infuse

Page 8: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

H2O Driverless AI: How it Works

Confidential 8

SQL

Local

Amazon S3

HDFS

X Y

AutomaticScoring Pipeline

Machine learningInterpretability

Deploy Low-latencyScoring to Production

Modelling

Dataset

Model Recipes:• i.i.d. data• Time-series• More on the way

Advanced Feature Engineering

Algorithm Model Tuning

+ +

Survival of the Fittest

Automatic Machine Learning

Understand the data shape,

outliers, missing values, etc.

Powered by GPU Acceleration

1Drag and drop data

2Automatic Visualization

Use best practice model recipes and the power of high performance computing to Iterate across thousands of possible models including advanced feature engineering and parameter tuning

3Automatic Machine Learning

Deploy ultra-low latency Python or Java Automatic Scoring Pipelines that include feature transformations and models.

4Automatic Scoring Pipelines

Ingest data from cloud, big data and desktop systems

Google BigQuery

Azure Blog Storage

Snowflake

Model Documentation

Page 9: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Use cases examples: AI in Financial Services

▪ Security Cyberlake

▪ DoS Detection and Protection

▪ Master Data Management

IT Infrastructure

• Transaction Frauds

• Collusion Fraud

• Real-Time Targeting

• Credit Risk Scoring

• In-Context Promotion

Card / Payments Business

• Deposit Fraud

• Customer Churn Prediction

• Auto-Loan

Retail Banking

Wholesale / Commercial Banking

• Know Your Customers (KYC)

• Anti-Money Laundering (AML)

Page 10: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Example: Financial Fraud Detection

“Driverless AI is giving amazing results in terms of feature and model performance “

Venkatesh RamanathanSenior Data Scientist, PayPal

• Driverless AI matched 10 years of expert feature engineering

• Increased accuracy from 0.89 to 0.947 (6%) in detecting fraudulent activity

• 6X speed up when using H2O4GPU with Driverless AI Leader in Gartner’s 2018 Data

Science Quadrant

H2O Driverless AI and IBM POWER9 GPU Systems are bringing together the best of breed AI innovation. To handle the increasingly complex workloads of AI you need an integrated system of software and hardware:

• supports nearly 2.6x more RAIBM POWER9 M, 9.5x more I/O bandwidth than comparable systems.• Nearly 2X the data ingest speed and over 50% faster feature engineering. • With GPU accelerated machine learning delivering nearly 30X speedup on model building. • Support for up to 6 V100 GPUs on a single system.

Page 11: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Confidential11

CRM Demo using Driverless AI on AC922 and H2O Inference Engine on IBM i or AIX Power Hardware

11

Data

Procurement

Dataset

Preparation

Feature

Engineering

Predictions,

Deployment

Model

Training

Driverless AI

Features Target

Data Quality andTransformation

FeatureEngineering

ModelBuilding

Scoring Pipeline

Customer Data

+

Deploymentexecutable

From DB2 or Oracle on AIX or DB2 on IBM i via JDBC

connector on H2O DAI

H2O Inference engine deployed in Linux LPAR along side AIX or IBM i

Page 12: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Initial CRMNo Customer Churn risk estimate per customer

CRM & Customer Churn scenarioSmarter IBM i apps made easy with Driverless AI

Page 13: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Smarter IBM i apps made easy with Driverless AI

13

Optimized for GPU-Accelerated Power9 Servers

Recommendation EngineExtract CRM data(or JDBC)

Scoring Pipeline

1

2

3

4

Business Database Business Application

Import & Visualize DataCreate & Test Models

Model Export

Augment IBM i ApplicationsModel Inference

5Monitor Models& Iterate

CRM & Customer Churn scenarioSummary

Page 14: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Manual Modeling vs. Driverless AI Accelerated Auto ML

▪ Customer Churn Dataset WA_Fn-UseC_-Telco-Customer-Churn.csvCustomer churn is when an existing customer, user, player, subscriber or any kind of return client stops doing business or ends the relationship with a company.

▪ Model Accuracy: 0.79 vs. 0.84

▪ Time to market & effort: Days vs. Minutes with DAIAutoML w/ Feature Engineering, etc.What’s the business impact?

▪ It is just a quick comparison: Both modeling can be fine-tuned☺

▪ Accelerated ML will be able to play with larger datasets

▪ Accelerated ML saves CPU cycles , saves time & effort, & licensing costs (IBM i offload)

Accelerated Auto ML can create high qualitymodels, that only a team of experienced data scientists + years of business knowledgecan build

4

Page 15: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Demonstration

+

Accelerated Machine Learning with H2O.ai Driverless AI

https://www.ibm.com/systems/clientcenterdemonstrations/faces/dcDemoView.jsp?demoId=3282Included: Video + Presentation

Demonstration

Page 16: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Extract data from Db2

▪ Customer Churn Demo

• Customer segmentation : is this customer going to leave now? soon? or not?

▪ Dataset from Db2 CHURN.CHURNCUST2

▪ Use ACS for data transfers (CSV <-> Db2)

▪ Ipython, ML Libraries and/or Jupyter on IBM i for Data Preparation

▪ Driverless AI has many connectors to datasources.

➔ In this scenario: Data exported in CSV format.

1

Page 17: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Smarter IBM i apps made easy with Driverless AI

17

Optimized for GPU-Accelerated Power9 Servers

Recommendation EngineExtract CRM data

Scoring Pipeline

1

2

3

4

Business Database Business Application

Import & Visualize DataCreate & Test Models

Model Export

Augment IBM i ApplicationsModel Inference

5Monitor Models& Iterate

CRM & Customer Churn scenarioSummarywith JDBCConnection

Direct Db2 Connection

JDBC

1

Page 18: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

DAI Data Connectors: JDBC Connection to DB2 for i

Data Connectors - JDBC

1

Page 19: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Dataset Import in Driverless AI

Drag and drop data – Churn.csv

Ingest data from Db2 for i

2

Page 20: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Data Visualization on Driverless AI

Automatic VisualizationUnderstand the data shape,

outliers, missing values, etc.

2

Page 21: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Create new model

Use best practice model recipes and the power of high performance computing to Iterate across thousands of possible models including advanced feature engineering and parameter tuning

Target Column : Churn (YES/NO) for binary classification

Automatic Machine Learning

2

Page 22: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Create new model

• POWER9 supports nearly 2.6x more RAM, 9.5x more I/O bandwidth than comparable systems.

• Nearly 2X the data ingest speed and over 50% faster feature engineering.

• With GPU accelerated machine learning delivering nearly 30X speedup on model building.

• Support for up to 6 V100 GPUs on a single system

Experiment running –GPU Accelerated AutoML on POWER9

Automatic Machine Learning

2

Page 23: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Export Scoring Pipeline

Export ultra-low latency Python or Java Automatic Scoring Pipelines that include feature transformations and models.

Here, the Java/ Python Scoring Pipeline “scorer.zip” to be deployedon the inference system

Scoring Pipeline export

Automatic Scoring Pipelines

3

Page 24: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Deploy Low-latency Scoring to Production on IBM i

• Invoke low latency scoringpipelines (real time, batch)

• Augment any IBM i apps (ILE, Java, Python,…) with Machine Learning models.

Model Inference withLive CRM data inProduction (Db2)

Scoring ResultCustomer classified in categoryChurn = NO , 0.81% Confidence

4

Page 25: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Java Mojo Scoring Pipeline on IBM i/AIX/Linux

Real time prediction on IBM i !! (AIX/Linux)with the java MOJO Scoring Pipeline built by Driverless AI

Real time Customer Churn predictions on IBM i

4

Page 26: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Smarter IBM i apps made easy with Driverless AI

26

Optimized for GPU-Accelerated Power9 Servers

Recommendation EngineExtract CRM data

Scoring Pipeline

1

2

3

4

Business Database Business Application

Import & Visualize DataCreate & Test Models

Model Export

Augment IBM i ApplicationsModel Inference

5Monitor Models& Iterate

CRM & Customer Churn scenarioSummary

Page 27: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Demonstration

+

Accelerated Machine Learning with H2O.ai Driverless AI

https://www.ibm.com/systems/clientcenterdemonstrations/faces/dcDemoView.jsp?demoId=3282Included: Video + Presentation

Demonstration

Page 28: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Initial CRMNo Customer Churn risk estimate per customer

CRM & Customer Churn scenarioSmarter IBM i apps made easy with Driverless AI

Page 29: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Real time Scoring(Db2 CRM database)

CRM & Customer Churn scenarioSmarter IBM i apps made easy with Driverless AI

Page 30: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Enriched CRM DataWith Churn Prediction

CRM & Customer Churn scenarioSmarter IBM i apps made easy with Driverless AI

Page 31: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Java MOJO

CRM & Customer Churn scenarioSmarter IBM i apps made easy with Driverless AI

Behind the scenes:CRM application prototypeintegrated with a real time scoring Pipeline (Java MOJO)

Db2 CRM

Database

Java MOJO Scoring PipelineInvoked from the Node.js app

Fig. Node-RED Prototyping - CRM dashboard

Page 32: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Videos and Solution Brief Client Reference Case Study AC922-H2O DAI bundleH2O Driverless AI Tutorials

Get Started Today

Want to know more? Need support ? Contact us : - European Cognitive Systems CoC - IBM Montpellier [email protected] / [email protected]

Power Systems & AI Environment for your PoC / Tests: Driverless/PowerAI/AI Vision Remote Access. - IBM CSSC Workshop? AI Workshop at CSSC- Worldwide Principal Offering Manager - Machine Learning / H2O Driverless AI : [email protected]

WML & AI Demos on the IBM WW Demo portal : https://www.ibm.com/systems/clientcenterdemonstrations

Presentations, Demo Replays for the author : https://ibm.biz/bma-wiki

WML-CE FAQ https://developer.ibm.com/linuxonpower/deep-learning-powerai/faq/

H2o.ai Driverless AI (Trial 21 days). https://www.h2o.ai/products/h2o-driverless-ai/

Page 33: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Demonstration

+

Accelerated Machine Learning with H2O.ai Driverless AI

https://www.ibm.com/systems/clientcenterdemonstrations/faces/dcDemoView.jsp?demoId=3282

Additional Content: Driverless AI Data Connectors & JDBC

(Data Procurement / Preparation phase)

Page 34: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Smarter IBM i apps made easy with Driverless AI

34

Optimized for GPU-Accelerated Power9 Servers

Recommendation EngineExtract CRM data

Scoring Pipeline

1

2

3

4

Business Database Business Application

Import & Visualize DataCreate & Test Models

Model Export

Augment IBM i ApplicationsModel Inference

5Monitor Models& Iterate

CRM & Customer Churn scenarioSummarywith JDBCConnection

Direct Db2 Connection

JDBC

Page 35: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

DAI Data Connectors: JDBC Connection to DB2 for i

/etc/dai/config.toml

# jdbc: JDBC Connector, remember to configure JDBC below. (jdbc_app_configs)enabled_file_systems = "upload, file, hdfs, s3, jdbc "

jdbc_app_configs = '{"db2fori": {"url": "jdbc:as400://<IBMi-IP>;", "jarpath": "/etc/dai/jt400.jar", "classpath": "com.ibm.as400.access.AS400JDBCDriver"}}’

# Note: here, the jtopen driver jtopen.jar is mounted in the DAI Container, in /etc/dai

How to configure a Db2 Data Connector:

1. Download a Db2 JDBC Driver first - Ex: Db2 for i type 4 jdbc driver jt400.jar : https://sourceforge.net/projects/jt400/- Db2 LUW : get the appropriate db2jcc4.jar

2. Get the original Driverless AI Config file aka /etc/dai/config.tomlMany ways to do that, either from the image or a running container (docker cp etc.)- K8s example : kubectl cp -c dai-gpu-mop dai-demo-mop-6b75f6b5b9-kddd:/etc/dai .

3. Edit this config.toml as shown below (refer to the Online doc for further information) 4. Inject config.toml, and the driver jar file(s) , to be mounted in your DAI POD/Docker container.

- Inject it in your DAI image or better, use a K8s ConfigMap / persistent volume to persist it

5. Restart your DAI container to refresh the config.

Page 36: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

DAI Data Connectors: JDBC Connection to DB2 for i

Data Connectors - JDBC

Page 37: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

DAI Data Connectors: JDBC Connection to DB2 for i

Configure your Data source:Db2 Connection & Query with credentials to your Db2 database.

Page 38: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

DAI Data Connectors: JDBC Connection to DB2 for i

Explore your dataset populated with fresh data from your Db2 for i database.

Page 39: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

DAI Data Connectors: JDBC Connection to DB2 for i

Explore your dataset populated with fresh data from your Db2 for i database.

Page 40: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Demonstration

+

Accelerated Machine Learning with H2O.ai Driverless AI

Additional Content: Java Mojo Scoring Pipeline

on IBM i/AIX/Linux(Model Inference, Deployment / Production phase)

https://www.ibm.com/systems/clientcenterdemonstrations/faces/dcDemoView.jsp?demoId=3282

Page 41: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Java Mojo Scoring Pipeline on IBM i/AIX/Linux

Build and Export the MOJO Scoring Pipeline

Page 42: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Java Mojo Scoring Pipeline on IBM i/AIX/Linux

Download the generated Scoring Pipeline

Customer Churn scoring pipeline

Page 43: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Java Mojo Scoring Pipeline on IBM i/AIX/Linux

Unzip the Scorer.zip file on the inference System.

Change the JVM version from 32 to 64 bit if necessary (necessary if max heap size >= 2.8GB) .

Heap size needed depends on the model size. Default 5GB

Documentation: Typically, a good estimation for the amount of requiredmemory is 12 times the size of the pipeline.mojo file

Page 44: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Java Mojo Scoring Pipeline on IBM i/AIX/Linux

Real time prediction on IBM i !! (AIX/Linux)with the java MOJO Scoring Pipeline built by Driverless AI

Real time Customer Churn predictions on IBM i

Page 45: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

ML Technologies & IBM i & AIX

AugmentedBusiness ApplicationsWith AI & Predictive

Capabilities

DB2 for iBusiness Data

Machine Learning Libraries &

Framework (PASE)

Data & Scientific Packages Available

Numpy, Pandas : Data Processing

Scipy, Scikit-Learn

IPython : interactive Python

NLTK : Natural Language Processing

Matplotlib, Jupyter : Data Visualization

R Language (Interpreter, Runtime)

More to come? ☺

➔ Useful in all phases of a ML project on AIX/IBM i

➔ Especially for Data Preparation

➔ GPU Acceleration often needed

Use integrated frameworks , languages on AIX & IBM i

Page 46: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Data Science tools & technologies

Get started with Data Science onPower (AIX/IBM i)using Open Source Technologies

April 2019

Page 47: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

47

How could Vision Banco save time and increase revenue with machine learning?

Increased number of credit products accepted per customer and performed more accurate cross-selling to increase revenue

“Working with Driverless AI on IBM Power Systems AC922, we have generated great expectations that so far have been translated into results, more than 90% of credit loan requests are being processed with the models we build.”

Alejandro Lopez, Data Scientist, Vision Banco

Solution Components:

IBM Power Systems AC922H20 Driverless AIRed Hat Enterprise LinuxIBM iWatson Machine Learning Accelerator

Vision Banco provides financial services to small and micro-sized companies in

Paraguay as well as credit card services, remittances, utility and tax collection

services, pension contribution plans and payment transfer services.

The bank realized that their existing x86 infrastructure they were deploying

machine learning models on was not enough to handle the amount of data with

the performance they needed. They needed GPU acceleration to handle the

demands of AI and machine learning workloads.

Vision Banco saved time and increased revenue by building more accurate models

for credit risk analysis with H20 Driverless AI on IBM Power Systems AC922.

Banking

Read the Story

Page 48: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Today’s challenge

Page 49: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

1/ predict the possible turnover JORI could do if it was present in a store. This was easy to check to see howgood the system was since we already had a formulabased on market position, competitor brands and otherinfo. Check to see if H2O could find the formula. (It didbut slightly different).

2/predict which JORI models in which fabric or leathershould be in the showroom to have a better turnover based on all the configuration data we accumulated over time.

2 MODELS CREATED WITH H2O DRIVERLESSAI / ICP4DATA

Page 50: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

H2O Driverless AI? Containerized App

50

GPU GPU GPU GPU

AC922

IBM Cloud Private or OpenShift CP

n Worker nodes Cuda Drivers + WML-CE

Page 51: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Designed for the AI EraArchitected for the modern analytics and AI workloads that fuel insights

An Acceleration Superhighway Unleash state of the art IO and accelerated computing potential in the post “CPU-only” era

Delivering Enterprise-Class AIFlatten the time to AI value curve by accelerating the journey to build,train, and infer deep neural networks

AC922▪ IBM POWER SYSTEMS

Page 52: Démarrer sur un projet d’intelligence artificielle sur IBM i Journee autour du Power - Power AI.pdf · Survival of the Fittest. Automatic Machine Learning. Understand the data

Seamless CPU and

Accelerator Interaction

coherent memory sharing

enhanced virtual address translation

▪ 7-10x

POWER9 with 25G Link + NVLink 2.0

▪2x

▪ PCIe Gen4

▪5x▪

POWER8with NVLink 1.0

Others

▪ PCIe Gen3

Broader Application of

Heterogeneous Compute

designed for efficient programming models

accelerate complex AI & analytic apps

extreme CPU and Accelerator bandwidth“vanilla”