How the EasyPrediction works?

The EasyPrediction is a Naive Bayes Algorithm used for the prediction of particular targets based on historical series. EasyPrediction has many use cases that could be applied for prediction: from medical (if patient has a particular disease or not) to social or business purpose (if someone wants to buy a product or not). In the follow an example of Naive Bayes Algorithm application.

In the follow tables you can see the training tables (historical series), the testing tables (what we want to predict), the math procedure solutions and the prediction of defect products. The greater historical series records and more accurate is the prediction value. So, when a prediction is made, the next step is to observe the real event and put it into training table for growing the historical records.

See in the bottom the predicted value

Try to change the testing set by yourself and see the predicted value

You can also import your own historical series and make the prediction you want: just export the historical data training and use it for template of your own data schedule

IMPORTANT!: you don't have to import any reserved data. Only sample data for understanding how the algorithm works. This service is published only for educational purposes and all other purposes are prohibited.

You can get your personal service prediction by a payment of a monthly fee. Contact us for more informations: info@interofthings.com

This work is only an example...

you can create new prediction as you want. Just contact us: info@interofthings.com

Importing historical series
Try to change testing table...
Attribute1 Attribute2 Attribute3 Attribute4 Attribute5 NumAttribute1 NumAttribute2 NumAttribute3 NumAttribute4 NumAttribute5 DateAttribute Target

Training Table Sample

Attribute1 Attribute2 Attribute3 Attribute4 Attribute5 NumAttribute1 NumAttribute2 NumAttribute3 NumAttribute4 NumAttribute5 DateAttribute Target Created
BIGINDUSTRYCUSTOM20000000-00-00 00:00:00BUY2017-11-13 20:42:55
SMALLINDUSTRYCUSTOM60000000-00-00 00:00:00BUY2017-11-13 20:42:55
BIGINDUSTRYCUSTOM40000000-00-00 00:00:00NOT BUY2017-11-13 20:42:55
MIDDLESERVICECUSTOM10000000-00-00 00:00:00NOT BUY2017-11-13 20:42:55
MIDDLESERVICECUSTOM50000000-00-00 00:00:00BUY2017-11-13 20:42:55
MIDDLEINDUSTRYCUSTOM60000000-00-00 00:00:00BUY2017-11-13 20:42:55
SMALLINDUSTRYCUSTOM40000000-00-00 00:00:00NOT BUY2017-11-13 20:42:55
BIGINDUSTRYSTANDARD20000000-00-00 00:00:00NOT BUY2017-11-13 20:42:55
BIGSERVICECUSTOM40000000-00-00 00:00:00BUY2017-11-13 20:42:55
BIGINDUSTRYCUSTOM20000000-00-00 00:00:00BUY2017-11-13 20:42:55
SMALLSERVICECUSTOM10000000-00-00 00:00:00NOT BUY2017-11-13 20:42:55
MIDDLESERVICECUSTOM50000000-00-00 00:00:00BUY2017-11-13 20:42:55
BIGSERVICECUSTOM400000000-00-00 00:00:00BUY2017-11-13 20:42:55
SMALLINDUSTRYSTANDARD200000000-00-00 00:00:00NOT BUY2017-11-13 20:42:55
MIDDLEINDUSTRYSTANDARD70000000-00-00 00:00:00BUY2017-11-13 20:42:55
BIGSERVICESTANDARD400000000-00-00 00:00:00NOT BUY2017-11-13 20:42:55
MIDDLESERVICESTANDARD8000000-00-00 00:00:00BUY2017-11-13 20:42:55
SMALLSERVICESTANDARD40000000-00-00 00:00:00NOT BUY2017-11-13 20:42:55
BIGINDUSTRYSTANDARD120000000-00-00 00:00:00BUY2017-11-13 20:42:55

Testing Table Sample

Attribute1 Attribute2 Attribute3 Attribute4 Attribute5 NumAttribute1 NumAttribute2 NumAttribute3 NumAttribute4 NumAttribute5 DateAttribute Target Created
SMALLINDUSTRYSTANDARD80000000-00-00 00:00:00TO PREDICT...2017-11-13 20:43:24

MATHS CALCULATIONS

Array ( [BIGT1] => 0.45454545454545 [SMALLT1] => 0.090909090909091 [MIDDLET1] => 0.45454545454545 [INDUSTRYT1] => 0.54545454545455 [SERVICET1] => 0.45454545454545 [CUSTOMT1] => 0.72727272727273 [STANDARDT1] => 0.27272727272727 [T1] => NAN [8000T1] => 3.631586849052E-5 ) Array ( [BIGT2] => 0.375 [SMALLT2] => 0.5 [MIDDLET2] => 0.125 [INDUSTRYT2] => 0.5 [SERVICET2] => 0.5 [CUSTOMT2] => 0.5 [STANDARDT2] => 0.5 [T2] => NAN [8000T2] => 2.8750523595274E-5 )
TargetAttribute1Attribute2Attribute3Attribute4Attribute5

T1: BUY

T2: NOT BUY

#T1: 11

#T2: 8

#T1+#T2: 19

P(BUY): 0.57894736842105

P(NOT BUY): 0.42105263157895

P(BIG|BUY): 0.45454545454545

P(SMALL|BUY): 0.090909090909091

P(MIDDLE|BUY): 0.45454545454545

P(BIG|NOT BUY): 0.375

P(SMALL|NOT BUY): 0.5

P(MIDDLE|NOT BUY): 0.125

P(INDUSTRY|BUY): 0.54545454545455

P(SERVICE|BUY): 0.45454545454545

P(INDUSTRY|NOT BUY): 0.5

P(SERVICE|NOT BUY): 0.5

P(CUSTOM|BUY): 0.72727272727273

P(STANDARD|BUY): 0.27272727272727

P(CUSTOM|NOT BUY): 0.5

P(STANDARD|NOT BUY): 0.5

P(|BUY): 0

P(|NOT BUY): 0

P(|BUY): 0

P(|NOT BUY): 0

Avg(T1): 8163.63636363636

Avg(T2): 9500

DevStand(T1) :10984.2862970038

DevStand(T2) :13794.4088052266

Numeric Attribute: 8000

P(NUM_A1|BUY): 3.631586849052E-5

P(NUM_A1|NOT BUY): 2.8750523595274E-5

Avg(T1):

Avg(T2):

DevStand(T1) :

DevStand(T2) :

Numeric Attribute:

P(NUM_A2|BUY): NAN

P(NUM_A2|NOT BUY): NAN

Avg(T1):

Avg(T2):

DevStand(T1) :

DevStand(T2) :

Numeric Attribute:

P(NUM_A3|BUY): NAN

P(NUM_A3|NOT BUY): NAN

Avg(T1):

Avg(T2):

DevStand(T1) :

DevStand(T2) :

Numeric Attribute:

P(NUM_A4|BUY): NAN

P(NUM_A4|NOT BUY): NAN

Avg(T1):

Avg(T2):

DevStand(T1) :

DevStand(T2) :

Numeric Attribute:

P(NUM_A5|BUY): NAN

P(NUM_A5|NOT BUY): NAN

Prediction Set

TextAttribute1: SMALL

TextAttribute2: INDUSTRY

TextAttribute3: STANDARD

TextAttribute4:

TextAttribute5:

NumAttribute1: 8000

NumAttribute2:

NumAttribute3:

NumAttribute4:

NumAttribute5:

target1

PROD P(An|BUY): 1 * 0.090909090909091 * 0.54545454545455 * 0.27272727272727 * 3.631586849052E-5

target2

PROD P(An|NOT BUY): 1 * 0.5 * 0.5 * 0.5 * 2.8750523595274E-5

Predicted Value

PROD P(An|T1): 2.8433476852082E-7

PROD P(An|T2): 1.5131854523829E-6

PREDICTED VALUE IS NOT BUY : 1.5131854523829E-6