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

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.
主站蜘蛛池模板: 福泉市| 淮安市| 双鸭山市| 金门县| 板桥市| 平乐县| 张家界市| 卓尼县| 宜兰市| 保山市| 怀远县| 耒阳市| 揭阳市| 鄂托克前旗| 惠来县| 渭南市| 札达县| 仁布县| 中江县| 冕宁县| 漯河市| 获嘉县| 横山县| 西乌珠穆沁旗| 锡林浩特市| 临西县| 外汇| 舒兰市| 永嘉县| 高尔夫| 涞水县| 渑池县| 南城县| 新化县| 上蔡县| 宝应县| 全椒县| 布尔津县| 韩城市| 白玉县| 九龙县|