<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Binary Prediction Archives - United InfoLytics</title>
	<atom:link href="https://unitedinfolytics.com/tag/binary-prediction/feed/" rel="self" type="application/rss+xml" />
	<link>https://unitedinfolytics.com/tag/binary-prediction/</link>
	<description>Your Data, In Focus and Purpose-Aligned</description>
	<lastBuildDate>Fri, 02 Feb 2024 17:06:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://unitedinfolytics.com/wp-content/uploads/2022/02/cropped-favicon-32x32.png</url>
	<title>Binary Prediction Archives - United InfoLytics</title>
	<link>https://unitedinfolytics.com/tag/binary-prediction/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Machine Learning &#038; Finding What You Seek</title>
		<link>https://unitedinfolytics.com/2022/08/18/machine-learning-finding-what-you-seek/</link>
		
		<dc:creator><![CDATA[Peter VanWylen]]></dc:creator>
		<pubDate>Thu, 18 Aug 2022 21:17:08 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Binary Prediction]]></category>
		<category><![CDATA[machine learning]]></category>
		<guid isPermaLink="false">https://unitedinfolytics.com/?p=815</guid>

					<description><![CDATA[<p>This is one of a series of posts that covers machine learning and its applications. The goal is to discuss the similarities between human and machine learning processes—and to use this understanding to think productively about wins and losses in any endeavor or sphere of life. We will start with talking about how exactly machine [&#8230;]</p>
<p>The post <a href="https://unitedinfolytics.com/2022/08/18/machine-learning-finding-what-you-seek/">Machine Learning &#038; Finding What You Seek</a> appeared first on <a href="https://unitedinfolytics.com">United InfoLytics</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This is one of a <a href="/tag/machine-learning/">series of posts</a> that covers machine learning and its applications. The goal is to discuss the similarities between human and machine learning processes—and to use this understanding to think productively about wins and losses in any endeavor or sphere of life. We will start with talking about how exactly machine &#8220;learning&#8221; actually learns. I have mostly removed all jargon, and I&#8217;ve replaced it with everyday language as these concepts are truly accessible to anyone like this. If you find this post interesting or helpful, do check out the rest of the series.</p>



<p>One note: I use the words algorithm and model a fair bit below. You can think of the <em>algorithm</em> as the procedure used to approach a learning task. The <em>model</em> is the trained state of the algorithm after it works through some training data. A model potentially gets updated in some way each time the algorithm gets new data to learn from. The model is the sum total of the algorithm&#8217;s <em>current </em>learning towards the task at hand.</p>



<p>Similar to a human mind without experience, a machine-learning algorithm without training data to learn from is not very useful.</p>



<h2 class="wp-block-heading">You Be The Machine</h2>



<p>To start, I&#8217;m going to give you a very quick learning task that is something we might ask a computer to work on. I will have you work on classification of images. Are you ready? You&#8217;ve got this! First your training dataset:</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="512" src="https://unitedinfolytics.com/wp-content/uploads/2022/08/training-data-1024x512.jpg" alt="" class="wp-image-818" srcset="https://unitedinfolytics.com/wp-content/uploads/2022/08/training-data-1024x512.jpg 1024w, https://unitedinfolytics.com/wp-content/uploads/2022/08/training-data-300x150.jpg 300w, https://unitedinfolytics.com/wp-content/uploads/2022/08/training-data-768x384.jpg 768w, https://unitedinfolytics.com/wp-content/uploads/2022/08/training-data-1536x767.jpg 1536w, https://unitedinfolytics.com/wp-content/uploads/2022/08/training-data-2048x1023.jpg 2048w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">A simple training dataset from which an ML algorithm can learn</figcaption></figure>



<p>Pretend you are the computer. You are given a set of 8 training images each with a label. Look at each of the images as if you&#8217;ve never seen these things before; try to learn what a cat is and what a dog is. Note that one good thing about this dataset is that we are teaching the computer that cats and dogs come in a variety of colors/patterns and that these aren&#8217;t the defining aspects of the thing. In training a real model, we might give the computer 50 to 50,000 examples of each instead of 4 each, but you get the idea. Now that you have trained yourself on these 8 images, I have a question for you: what are the things in each of the following two images? Before you answer based on your years of lived experience, I want you to attempt to answer as if the only training you have on dogs and cats is the above 8 images.</p>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="768" src="https://unitedinfolytics.com/wp-content/uploads/2022/08/pexels-alexandru-rotariu-733416-1024x768.jpg" alt="" class="wp-image-820" srcset="https://unitedinfolytics.com/wp-content/uploads/2022/08/pexels-alexandru-rotariu-733416-1024x768.jpg 1024w, https://unitedinfolytics.com/wp-content/uploads/2022/08/pexels-alexandru-rotariu-733416-300x225.jpg 300w, https://unitedinfolytics.com/wp-content/uploads/2022/08/pexels-alexandru-rotariu-733416-768x576.jpg 768w, https://unitedinfolytics.com/wp-content/uploads/2022/08/pexels-alexandru-rotariu-733416-1536x1152.jpg 1536w, https://unitedinfolytics.com/wp-content/uploads/2022/08/pexels-alexandru-rotariu-733416-2048x1536.jpg 2048w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="wp-block-image size-large"><img decoding="async" width="1956" height="1467" src="https://unitedinfolytics.com/wp-content/uploads/2022/08/pexels-pixabay-247937-edited.jpg" alt="" class="wp-image-844" srcset="https://unitedinfolytics.com/wp-content/uploads/2022/08/pexels-pixabay-247937-edited.jpg 1956w, https://unitedinfolytics.com/wp-content/uploads/2022/08/pexels-pixabay-247937-edited-300x225.jpg 300w, https://unitedinfolytics.com/wp-content/uploads/2022/08/pexels-pixabay-247937-edited-1024x768.jpg 1024w, https://unitedinfolytics.com/wp-content/uploads/2022/08/pexels-pixabay-247937-edited-768x576.jpg 768w, https://unitedinfolytics.com/wp-content/uploads/2022/08/pexels-pixabay-247937-edited-1536x1152.jpg 1536w" sizes="(max-width: 1956px) 100vw, 1956px" /></figure>
</div>
</div>



<p>If you answered &#8220;dog&#8221; for the first one, great! You have earned your keep as a machine learning algorithm. If you answered &#8220;dog&#8221; for the second one, I think there&#8217;s a chance you cheated and used your life experience instead of just the training data! Look again, and you&#8217;ll clearly see that in some ways, the second image looks more like the 4 cats in the training images above. In the training data, all the cats have ears that stand up, they are all sitting upright, and each of the pictures shows their whole body including legs. But each of our training images for the dogs shows just a dog face—no legs, no body.</p>



<p>If you answered &#8220;cat&#8221; for the second image, I would say that you did your job just fine and there&#8217;s nothing wrong with you as a machine learning algorithm. What&#8217;s wrong is the fact that our training dataset was very small and lopsided—and thus it biased you, the machine, to think that any furry creature sitting down on its hind legs with pointy ears is a cat. Given that the face in the second image is definitely more doglike than catlike, the model could also be inconclusive saying something like &#8220;30% chance of dog, 60% chance of cat, 10% neither.&#8221; The facial structure has it thinking it&#8217;s somewhat doglike, but the ears and the pose has it thinking more catlike.</p>



<p>Before reading on, I have a question for you: what can you do without writing a line of code to get the algorithm working better to identify cats and dogs in a variety of positions, angles, etc.?</p>



<h2 class="wp-block-heading">More Data is Good, Diverse Data is Better</h2>



<p>You have now learned one of the first pitfalls of machine learning: an algorithm&#8217;s ability to label things or predict things is only as good as the training data it is fed. This is honestly true of human learning as well. If you are only exposed to a small slice of the world&#8217;s people or the world&#8217;s geography, your ability to understand and transfer what you&#8217;ve learned to people and places outside of your slice is limited.</p>



<p>Whenever I&#8217;m working with a machine learning algorithm, I tend to be exceptionally interested in the nature of the mistakes that it makes. I don&#8217;t spend a lot of time celebrating the 95% of things that it handled correctly; I spend my time looking closely at the 5% of things it got wrong, and I think through the main ways I might improve the machine&#8217;s performance so that it makes fewer mistakes:</p>



<ol class="wp-block-list">
<li>Change the algorithm(s) used.</li>



<li>Work on ways to code some hints to give the algorithm a leg up on understanding the data—essentially formulas that give it some of the human understanding we have. These hints are called features, and this creative coding work is called &#8220;feature engineering.&#8221;</li>



<li>Work on gathering a larger and more diverse training dataset.</li>
</ol>



<p>The first two of these are beyond the scope of this article and get a bit technical, but the third one is easy to understand. If we were to give the machine 100 images labeled as cats and 100 images labeled as dogs, it would almost certainly be more skilled at classification than it is with 4 of each. That said, if I still only provide training examples of cats sitting on hind legs and only have dogs&#8217; faces instead of their whole bodies, my algorithm remains limited in its experience and is still limited in its ability to generalize what it has &#8220;learned&#8221; to a wider variety of situations. It&#8217;ll only be truly good at differentiating between sitting cats and the faces of dogs. It would be a more accurate classifier if trained on a reasonably wide set of animal positions, breeds, and backgrounds. Even if I only have time to give it a handful more dog images and cat images, it&#8217;ll learn the most and improve the most if those new images added to the training data are diverse. To learn more about AI that struggles in situations outside of its training, see <a href="https://arstechnica.com/information-technology/2022/11/new-go-playing-trick-defeats-world-class-go-ai-but-loses-to-human-amateurs/">this article on tricks that can beat the best Go-playing AI algorithms</a>.</p>



<p>Admittedly most readers are more likely to be interested in using AI to rank potential customers or classify data in databases rather than classifying images of pets. The principles are the same, however, and building a diverse training set will be important for any business use of machine learning.</p>



<h2 class="wp-block-heading">Getting philosophical on finding what you seek</h2>



<p>In machine learning, it turns out that the most valuable training examples are those that are confusing or are outright surprises to the algorithm when it first sees them. To use human language, most algorithms seek to minimize the &#8220;cognitive dissonance&#8221; the model &#8220;feels&#8221; with regards to new confusing cases. The technical term for this is &#8220;minimizing the loss&#8221; but essentially you can think of it like this: the model changes most when it encounters a training example that is most surprising or most contrary to its current model of the task at hand. It changes significantly in order to ensure it would have a higher chance of success next time if presented with a similar image and asked to classify it.</p>



<p>If you train the algorithm on an additional 100 cat pictures and for all 100 it would have already known they were cats, it might improve just a bit in its abilities but not remarkably. If instead you give it just 20 additional cat pictures and 5 of them were surprises where the algorithm would have initially said, &#8220;not a cat,&#8221; this additional training data or experience is very impactful and will improve the accuracy of the model significantly—or at least it&#8217;ll decrease the model&#8217;s overconfidence.</p>



<p>The same is true in life. Your understanding of the world is most improved by new information that you didn&#8217;t expect, and it only improves slowly when given additional information that already squares with your understanding of the world. This is why scientists often say that they long for surprises in their experimental data. Data that goes exactly opposite your working model forces you to think and learn a lot more than data that confirms what you already think.</p>



<h2 class="wp-block-heading">Binary Classification—and when &#8220;no&#8221; leads to &#8220;yes&#8221;</h2>



<p>Whether it comes to finding the right person to hire, the right next job, the winning needles in a haystack of data, it turns out that closed doors, failures, and mistakes are exceptionally valuable. It turns out that the &#8220;nos&#8221; in life are the key to the next &#8220;yes.&#8221; It&#8217;s not just a cliche: closed doors are key to finding the open ones and failure truly is only failure if you fail to learn from it.</p>



<p>I was recently working on a machine learning model that does binary classification, which is a fancy way of saying that it looks at a spreadsheet and for each row it tries to figure out if it&#8217;s a &#8220;yes&#8221; or a &#8220;no&#8221; based on what it has learned from other rows that are known to be &#8220;yeses&#8221; or &#8220;nos&#8221;. The model was working better than I had initially hoped, and it was identifying needles in a very large haystack of data that experts were missing with traditional non-ML search and labeling algorithms. I was thrilled that it was working so well, and I then decided to see how it would do labeling on a slightly wider set of real-world data. Since I was also working on creating a training dataset from scratch, I would manually review its predictions on new examples; upon manual review, I would add it to the training dataset with the confirmed label.</p>



<p>Right after I started throwing a wider set of data at it, it was performing absolutely horribly and was mislabeling things constantly. I had asked it to extrapolate only slightly outside of the training dataset, so I thought it would be no big deal, but it was. I manually reviewed perhaps 40 examples in a row that it thought were in the &#8220;yes&#8221; category but all of them were actually &#8220;no.&#8221; I started looking at my code to see it I had somehow broken it—after all, it had been working quite well the day before.</p>



<p>It turns out that nothing was broken. I stuck with it and kept saying, &#8220;actually that&#8217;s a no&#8221; to heaps of things that it was labeling as a &#8220;yes.&#8221; The model started to learn. The next day it was back to finding needles in a haystack with great success. It was only then that I realized that the key to getting back to winning was a whole bunch of mistakes that I fed back into the system so it would learn from them.</p>



<h2 class="wp-block-heading">Getting started</h2>



<p>Whether you are trying to see if machine learning can transform your work, or just reading for the purpose of growing your data skills, be encouraged that the each &#8220;no&#8221; in life and in machine learning will help you clarify where to be looking for the next &#8220;yes.&#8221; If you want some consulting as you get started with machine learning, you want a complete outsourced solution for it, or even if you just want to ask questions to see if there is potential return on investment from machine learning in your line of work, then answer is certainly &#8220;yes&#8221;—I&#8217;d love to talk. <a href="https://calendly.com/united-infolytics/30min" target="_blank" rel="noreferrer noopener">Set up a time today</a>.</p>



<p>Admittedly, image classification or distinguishing between cat pictures and dog pictures is probably not a critical goal for your work. There are so many other things that machine learning can do well, and in many business applications the examples being learned and later predicted are actually rows from a spreadsheet or a database. See <a href="https://unitedinfolytics.com/2022/08/18/machine-learning-for-process-and-organizational-transformation/">this earlier post</a> for a wider explanation of the types of tasks ML can do well.</p>



<p> </p>
<p>The post <a href="https://unitedinfolytics.com/2022/08/18/machine-learning-finding-what-you-seek/">Machine Learning &#038; Finding What You Seek</a> appeared first on <a href="https://unitedinfolytics.com">United InfoLytics</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>A review of Salesforce Einstein Prediction Builder</title>
		<link>https://unitedinfolytics.com/2021/12/13/a-review-of-salesforce-einstein-prediction-builder/</link>
		
		<dc:creator><![CDATA[Peter VanWylen]]></dc:creator>
		<pubDate>Tue, 14 Dec 2021 00:55:03 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AutoML]]></category>
		<category><![CDATA[Binary Prediction]]></category>
		<category><![CDATA[Einstein Prediction Builder]]></category>
		<category><![CDATA[machine learning]]></category>
		<category><![CDATA[Salesforce]]></category>
		<guid isPermaLink="false">https://unitedinfolytics.com/?p=520</guid>

					<description><![CDATA[<p>Salesforce isn&#8217;t exactly known for AI or Machine Learning (see Gardner magic quadrant), but they are working at it. I was pleased when in 2020 I discovered their Einstein Prediction Builder, which is (of course) an additional charge, but is available for basic usage for free. Any current Salesforce customer can use their &#8220;Try Einstein&#8221; [&#8230;]</p>
<p>The post <a href="https://unitedinfolytics.com/2021/12/13/a-review-of-salesforce-einstein-prediction-builder/">A review of Salesforce Einstein Prediction Builder</a> appeared first on <a href="https://unitedinfolytics.com">United InfoLytics</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Salesforce isn&#8217;t exactly known for AI or Machine Learning (see <a href="https://www.h2o.ai/gartner-magic-quadrant/">Gardner magic quadrant</a>), but they are working at it. I was pleased when in 2020 I discovered their Einstein Prediction Builder, which is (of course) an additional charge, but is available for basic usage for free. Any current Salesforce customer can use their &#8220;Try Einstein&#8221; program to see what is possible and actually do some real work with it too. Even if you don&#8217;t want to pay, you can start using Prediction Builder to model up to 10 different prediction tasks. As of date of writing (Early 2023), you can only have one turned on and active at any given time, meaning the free level of this service only allows one prediction to be populating predictions onto objects in <strong>real time</strong> as they are created or modified in the system. If you currently use Salesforce, read on to learn more. If not, United InfoLytics can still help you with your Machine Learning and Predictive Analytics needs across other platforms as well.</p>



<p>TL/DR Summary: there&#8217;s a bit of a learning curve to ML but you owe it to yourself to try it using a simple and affordable AutoML tool like this either by setting it up yourself (read carefully below) or <a href="https://unitedinfolytics.com/contact/">getting our team to help you</a> set up a prediction for you ensuring best practices in independent variable selection, training dataset filtering etc.</p>


<div class="wp-block-image">
<figure class="alignright size-full is-resized"><img loading="lazy" decoding="async" width="736" height="478" src="https://unitedinfolytics.com/wp-content/uploads/2021/12/Screen-Shot-2021-12-14-at-9.48.16-AM.png" alt="" class="wp-image-537" style="width:298px;height:194px" srcset="https://unitedinfolytics.com/wp-content/uploads/2021/12/Screen-Shot-2021-12-14-at-9.48.16-AM.png 736w, https://unitedinfolytics.com/wp-content/uploads/2021/12/Screen-Shot-2021-12-14-at-9.48.16-AM-300x195.png 300w" sizes="(max-width: 736px) 100vw, 736px" /></figure>
</div>


<h2 class="wp-block-heading">Types of Predictions</h2>



<p>What sorts of predictions is Einstein Prediction Builder capable of? Basically there are two types of predictions: a binary (yes/no or true/false) prediction or predicting a number through regression (this option is currently in beta). For the binary predictions, it involves making a prediction of the relative probability of an event occurring. For those using Salesforce in sales, this would often be the chance of a given lead making a purchase, or the chance of a quote becoming a deal. Basically it involves looking at a Salesforce object (Lead, Contact, Account, Opportunity, etc.) and making a prediction of the probability of an event occurring, usually a desired outcome like a student enrolling or a customer making another purchase. For the second type or prediction, it involves making a prediction of a number like total sales over the next 12 months across all current customers. This is a bit fancier because each prediction is a number (can be negative or positive, large or small) instead of the binary predictions being a relative probability between 0 and 100. Regression can be used to predict sales of $100 or $100,000 all using the same prediction builder.</p>



<h2 class="wp-block-heading">Review of Einstein Prediction Builder</h2>



<p><meta charset="utf-8">There are some things that Salesforce clearly got right with this product. Even if you don&#8217;t have any specific AI or machine learning training, you can get started with this, and it mostly works even if there are a few bugs you may encounter. In a sense, they might have one of the more user-friendly user interfaces for getting your feet wet in predictive analytics. And if you&#8217;re already on Salesforce, there&#8217;s no reason not to give it a try. Your data is already in the system, and there are no flat files to export and re-import into another machine learning system, no APIs or data exchange to set up. Give yourself 2 hours to play with it and you might create something really useful! Or if you don&#8217;t have the two hours, <a href="https://unitedinfolytics.com/contact/">let United InfoLytics do it for you</a>! With minimal investment, you may end up with a really useful system that helps you focus your efforts on the accounts and contacts that are most likely to purchase, enroll, participate, give, etc.</p>



<p>Basically the process for setting up a binary prediction is:</p>



<ol class="wp-block-list">
<li><strong>Pick an object you want to make predictions on. </strong>All the fields you want to reference must be on this object, and currently you cannot reference related objects. If you need to reference a related object, create a formula field that pulls in this data first.</li>



<li><strong>Define the training set. </strong>This is the data that we now know the answer to: which ones were a &#8220;yes&#8221; and which ones were ultimately a &#8220;no&#8221; or a &#8220;not yet.&#8221; Tell it which accounts, contacts, leads, or opportunities are &#8220;water under the bridge&#8221; such that we have a &#8220;yes&#8221; or a &#8220;no&#8221; or some reasonable estimate on this. You would want to, for example, exclude a lead from the training dataset if it came in over the last 60 days. We shouldn&#8217;t call a new lead that came in yesterday a &#8220;no&#8221; just because they haven&#8217;t purchased yet!</li>



<li><strong>Define a &#8220;yes&#8221; and a &#8220;no&#8221;.</strong> For many, this will be whether there was a sale or not. Help Salesforce know what criteria define a &#8220;yes&#8221; and they&#8217;ll assume all the others in the training set are &#8220;no&#8221;.</li>



<li><strong>Tell Salesforce which fields to use to make predictions.</strong> This is possibly the most tricky step, and it&#8217;s also the most important. You should include anything that you think might be reasonably likely to predict the outcome in some small way. You should be careful not to include things like race, ethnicity, gender, etc. if the prediction needs to be equitable and not learn biases from the training data.</li>



<li><strong>Think carefully about excluding fields that allow in some hindsight bias. </strong>Most important in the prior step is that you must <strong>avoid hindsight bias</strong> by excluding any fields that are in some way linked to a salesforce object taking the desired outcome. Let&#8217;s say that phone number is not generally gathered on most of your inquiry forms whereby new leads and contacts come into the system, but the phone number is always gathered as part of the sale process. If you allow prediction builder to use the phone number field to make predictions, it&#8217;ll do a very funny thing: it&#8217;ll say that the most powerful predictor of someone making a purchase is whether they provided their phone number vs. leaving it blank! But think carefully here: it&#8217;s not actually true. The fact that they made a purchase is what caused them to enter their phone number and not the other way around. My rule of thumb here is simple: include fields that are usually gathered prior to the desired outcome occurring and exclude any fields that are rarely or only sometimes collected but later fully populated after the desired outcome.</li>



<li><strong>Hit go and grab some coffee.</strong> Once you are done defining your prediction, it&#8217;s time to let the machine do some &#8220;learning.&#8221; This is basically where the machine learning algorithms start working looking at all the training data where you supplied a &#8220;yes&#8221; or a &#8220;no&#8221; and developing a model for which other fields predict the desired outcome being more or less likely. Right now, the algorithms it currently uses are (I believe) just Logistic Regression and Random Forest. It tries them both and figures out which one does a better job on the data! It may take 30 minutes to several hours for it to finish the learning process. Just go and start another task and occasionally come back to refresh and check whether it has completed.</li>



<li><strong>Check the prediction scorecard.</strong> Salesforce has made a pretty easy to understand prediction scorecard that&#8217;ll help you avoid the two main problems you may encounter: a prediction that&#8217;s too good and a prediction that&#8217;s no good at all. If your prediction comes back <em>too good</em>, changes are high that you&#8217;ve allowed Salesforce to use a field that is tainted with the hindsight bias discussed above. If your prediction comes back pretty bad, you&#8217;ve either defined the machine learning problem poorly, or you&#8217;ve not given it the features that are most likely to be helpful and predictive, or your prediction problem just isn&#8217;t amenable to the data you currently have in your system and living on that object. Sometimes feature engineering here is helpful, like pulling in summary or calculated fields off of other objects. By adding a few additional &#8220;features&#8221; to your prediction, you may get better performance that starts to make your prediction worth using in real life to prioritize leads, contacts, and accounts for focused follow-up, calls, emails and other outreach.</li>



<li><strong>When satisfied, turn on the prediction!</strong> If your scorecard comes back good, check to make sure that the features it says are good predictors make sense to you as meaningful predictors in your experience in the field you are working in. Anything that seems bogus might just need to be removed from the prediction. Once you&#8217;re happy, turn on the prediction and go get some more coffee. Slowly, it&#8217;ll start filling in predictions on all records that you&#8217;ve asked it to predict upon. Once this is complete, you can begin to act based on these predictions. One great way to start is with a list view or report that sorts records from highest to lowest probability of taking the desired outcome. Then start working the list (make those calls, send some text messages and emails) to see if the prediction plays out in real life. One interesting experiment here is to call the top 20 people on the list and the bottom 20 on the list. Hopefully you&#8217;ll see a significant difference in interest and likelihood of taking the desired actions between the top 20 and the bottom 20. If so, you&#8217;ve proven it works and you should start using this prediction across all your business processes where you are unable to evenly reach out to all contacts and you need to spend more time, effort and money on some over others. While mass email is cheap, phone calls are not. Send mass email to all your contacts—but save your phone calls for the people most likely to convert!</li>
</ol>



<h2 class="wp-block-heading">Caveats and Bugs</h2>



<p>In a short time of working with the system, I encountered two bugs / shortcomings:</p>



<ol class="wp-block-list">
<li>There is an undocumented issue where Prediction Builder is unable to &#8220;see&#8221; any records that haven&#8217;t been modified in the last two years. There is literally no reference to this in their documentation, and I had to go through a very long series of back and forth messages over a month for the problem to get escalated to someone who finally figured out that this was &#8220;intended behavior.&#8221; They said they would update the documentation on this, but honestly this is indicative of a very immature product if they think that all the training data should necessarily be from the last two years, and they don&#8217;t even document this &#8220;feature.&#8221;</li>



<li>Sometimes you can have a working prediction in the system and go in to tweak some small thing (add or remove a feature column or restrict the training dataset in some way) and at the end it refuses to save your changes giving you an error message. The error message doesn&#8217;t make sense and there&#8217;s also no way to resolve it. All you can do is leave the page. Every time this has happened to me (2-3 times) I&#8217;ve lost all my work on a given prediction. They are unable to recover your work, and basically you have to start over on defining the nature of the prediction problem, the positive case, the negative case, the features to use in the prediction, etc. This to me is again a marker of this product being immature. I have high hopes that someday everyone using Salesforce intelligently will be using this tool, but maybe right now it&#8217;s only a chance to get your feet wet and start imagining what is possible with AI/ML across your Salesforce database. I certainly wouldn&#8217;t pay for it yet.</li>
</ol>



<h2 class="wp-block-heading">Technical Details for ML Professionals</h2>



<p>If you&#8217;re a machine learning professional, you will likely be a bit disappointed by some simplifications of the product. For example, you cannot pick a scoring function for the AutoML process. I honestly don&#8217;t even know what it is as currently implemented. You cannot get any sort of area under curve for model evaluation or comparison. You cannot even see what the second best performing model was or what the hyperparameters were. That having been said, you <strong>can</strong> use your ML knowledge to quickly and efficiently get something built and <strong>into production</strong> in an hour of active work plus the necessary coffee breaks while the model is trained and scored. This is better than can be said for many other machine learning pipelines! If your company or your client is using Salesforce, it&#8217;s worth a try as the investment is very low and the return on investment possibly very high in terms of increased sales with decreased effort.</p>
<p>The post <a href="https://unitedinfolytics.com/2021/12/13/a-review-of-salesforce-einstein-prediction-builder/">A review of Salesforce Einstein Prediction Builder</a> appeared first on <a href="https://unitedinfolytics.com">United InfoLytics</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
