官术网_书友最值得收藏!

Training and prediction

The regression type predictive model uses a numeric answer for the question based on the previous samples. For this example, we will use this regression type predictive model. Take a look at the file located at (https://github.com/PacktPublishing/Learning-Salesforce-Einstein/blob/master/Chapter1/SFOpportunity.csv). The first column is probability, the second column is opportunity stage and the last column is the opportunity revenue. If you look carefully, you will notice that there is some correlation between the type of opportunity, expected revenue, and probability.

If you observe the dataset sample closely, you will see that for opportunities of type Existing customers, the higher the expected revenue, the more the probability.

To train the Dataset, we will leverage the Prediction API provided by Google. The complete set of APIs is listed in the following table:

If you recall, machine learning consists of three steps:

  1. Load the sample dataset.
  2. Train the data.
  3. Use the generated function to predict the outcome for the new Dataset.
主站蜘蛛池模板: 秭归县| 清涧县| 长宁区| 土默特右旗| 辽宁省| 洛川县| 康保县| 葵青区| 石楼县| 灵川县| 商南县| 榕江县| 巴中市| 蚌埠市| 南溪县| 万宁市| 个旧市| 安顺市| 任丘市| 桂平市| 正定县| 北碚区| 武冈市| 延吉市| 基隆市| 晋中市| 苏州市| 年辖:市辖区| 平定县| 南陵县| 湖南省| 阳高县| 钟祥市| 天长市| 泽州县| 伊宁市| 邢台市| 株洲市| 大宁县| 同德县| 米林县|