Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Salesforce Einstein

You're reading from   Learning Salesforce Einstein Add artificial intelligence capabilities to your business solutions with Heroku, PredictiveIO, and Force

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781787126893
Length 334 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Mohit Shrivatsava Mohit Shrivatsava
Author Profile Icon Mohit Shrivatsava
Mohit Shrivatsava
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Introduction to AI FREE CHAPTER 2. Role of AI in CRM and Cloud Applications 3. Building Smarter Apps Using PredictionIO and Heroku 4. Product Recommendation Application using PredicitionIO and Salesforce App Cloud 5. Salesforce Einstein Vision 6. Building Applications Using Einstein Vision and Salesforce Force.com Platform 7. Einstein for Analytics Cloud 8. Einstein and Salesforce IoT Cloud Platform 9. Measuring and Testing the Accuracy of Einstein

Creating and training dataset via Apex

In Chapter 5, Salesforce Einstein Vision, we trained the dataset using CURL. We zipped all the images in our local drive and then used the CURL command to create the dataset from the .zip file asynchronously.

Currently, Einstein supports the creation of a dataset via three major APIs:

  • Creating a dataset from a zip file synchronously
  • Creating a dataset from a zip file asynchronously
  • Creating a new dataset and labels, if they're specified

To derive better and more efficient performance, the docs refer to creating dataset from a zip file asynchronously, and hence for rest of the chapter, as a recommended practice, we will be using asynchronous creation of dataset from the zip file.

For data storage, we will leverage the free version of Cloudinary (https://cloudinary.com/). The primary reason to store the files used for training in a cloud...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime