Hands-On Artificial Intelligence for Banking
上QQ阅读APP看书,第一时间看更新

To get the most out of this book

Before you get started, I assume that you are running Ubuntu 16.04LTS Desktop or above and have done your Python 101 course. Knowledge of how to install the relevant software packages is assumed and will not be covered in this book.

Three database engines (SQLite, MongoDB, and Neo4j) are used in this book. Please make sure that you have them installed.

Regarding data sources, we will get data from data.world (https://data.world/) and a paid subscription to Quandl (Sharadar Core US Equities Bundle (https://www.quandl.com/databases/SFA/data) for chapters 4 and 5, and Sharadar Fund Prices (https://www.quandl.com/databases/SFP/data) for chapters 6 and 7), Twitter's Premium Search (https://developer.twitter.com/en/docs/tweets/search/overview/premium) for chapter 7, and the Open Bank Project (https://uk.openbankproject.com/) for chapter 8.

Download the example code files

You can download the example code files for this book from your account at www.packt.com. If you purchased this book elsewhere, you can visit www.packt.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

  1. Log in or register at www.packt.com.
  2. Select the SUPPORT tab.
  3. Click on Code Downloads & Errata.
  4. Enter the name of the book in the Search box and follow the onscreen instructions.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR/7-Zip for Windows
  • Zipeg/iZip/UnRarX for Mac
  • 7-Zip/PeaZip for Linux

The code bundle for the book is also hosted on GitHub athttps://github.com/PacktPublishing/Hands-On-Artificial-Intelligence-for-Banking. In case there's an update to the code, it will be updated on the existing GitHub repository.

We also have other code bundles from our rich catalog of books and videos available athttps://github.com/PacktPublishing/. Check them out!

Download the color images

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: https://static.packt-cdn.com/downloads/9781788830782_ColorImages.pdf.

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The function will download the price data of any given ticker in the SHARADAR database from Quandl."

A block of code is set as follows:

#list of key intent, product and attribute
product_list = ['deposit','loan']
attribute_list = ['pricing','balance']
intent_list = ['check']
print('loading nlp model')
nlp = spacy.load('en_core_web_md')

Any command-line input or output is written as follows:

          sudo cp dataset.csv /var/lib/Neo4j/import/edge.csv
          
sudo cp product.csv /var/lib/Neo4j/import/product.csv
sudo cp customer.csv /var/lib/Neo4j/import/customer.csv

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "An asset class is defined as a group of assets that bear similar characteristics."

Warnings or important notes appear like this.
Tips and tricks appear like this.