investment advisor with bluemix trade off analysis

43
© 2016 IBM Corporation Investment Advisor with Watson Trade-off Analysis & Personality Insight Joseph Chang Cloud Tech Sales IBM Cloud, TW Document number

Upload: joseph-chang

Post on 16-Apr-2017

184 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Investment advisor with bluemix trade off analysis

© 2016 IBM Corporation

Investment Advisor with Watson Trade-off Analysis & Personality Insight

Joseph Chang

Cloud Tech Sales

IBM Cloud, TW

Document number

Page 2: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

這個解決方案用到了以下兩個 Bluemix service

Page 3: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Demo 網址 http://investment-advisor.mybluemix.net/

Page 4: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Use Cases

客戶人格特質分析 (Personality Insight)推薦合適的投資商品 (Trade-off Analysis)

找尋最速配的理專 (Personality Insight)

Page 5: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

客戶人格特質分析1. 點選客戶

Page 6: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

客戶人格特質分析2. 檢視分析結果

Page 7: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

客戶人格特質分析2. 檢視分析結果

Page 8: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

推薦合適的投資商品

Page 9: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

推薦合適的投資商品

Page 10: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

推薦合適的投資商品

動態調整限制條件

Page 11: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

找尋最速配的理專

Page 12: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

找尋最速配的理專

Page 13: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

原始碼說明

13

Page 14: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Fork on GitHub

點選此處以部署 source code

Page 15: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Fork on GitHub

部署完成檢視程式碼

Page 16: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

開啟 trade-off 資料檔

16

Trade-off sample 資料在此 , 執行前會被載入 mongo db

Page 17: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

參數資料結構

17

Page 18: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation18

商品內容放在 options 區段

開啟funds_dilemma

Page 19: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation19

限制條件放在 columns 區段

目標敘述放在subject 區段

Page 20: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

呼叫 trade-off

20

Page 21: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

使用 Node-RED 操作 trade-off analysis

21

Page 22: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Call Trade-Off Analysis with Node-RED

22

Page 23: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation23

Set Subject, Criteria

資料來源為source code 中的fund_delima.json

Subject 放在msg.payload, criteria 放在columns

Page 24: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation24

Set Subject, Criteria

資料來源為source code 中的fund_delima.json

商品選項在此

Page 25: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Tradeoff analytics 節點

25

節點內不需再做設定 , 服務自動綁定

將 Tradeoff Analytic 綁定於此

Page 26: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Tradeoff Analysis 輸出資料結構

26

Page 27: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Tradeoff Analysis 輸出狀態說明

27

Page 28: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

取出 msg.resolution , 並將 solution 逐筆列出

28

回傳的 resolution 為一個陣列 return [ ] 可將陣列內容轉成串列資料

Page 29: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

過瀘不符限制條件的解 , 將結果顯示在 debug

29

Page 30: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation30

改動 Criteria 以調整 resolution

當 resolution 太多時 , 可以調整criteria 以縮小選擇範 圍

Page 31: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

https://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/tradeoff-analytics/science.shtml

31

完整內容

Page 32: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation32

Take me to BluemixClick Here

Thank you

Page 33: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Detail Steps for deploy Sample Code

33

Page 34: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Fork on GitHub

點選此處以部署 source code

Page 35: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Fork on GitHub

點選此處以部署Source + Runtime 到 bluemix

Page 36: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Fork on GitHub

Page 37: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Fork on GitHub

Page 38: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Fork on GitHub

Page 39: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Fork on GitHub

Page 40: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Add Mongodb

40

Page 41: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Modify Credential Setting

Page 42: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Commit Changes

Page 43: Investment advisor with bluemix trade off analysis

© 2014 IBM Corporation

Test Application

43