Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Salesforce Einstein

You're reading from  Learning Salesforce Einstein

Product type Book
Published in Jun 2017
Publisher Packt
ISBN-13 9781787126893
Pages 334 pages
Edition 1st Edition
Languages
Toc

Table of Contents (10) Chapters close

Preface 1. Introduction to AI 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 €14.99/month. Cancel anytime}