Proposed Answer Model(s) do not predict at all

  • יום שלישי 29 מרץ 2011 13:48
     
     

    Hello,

     

    I'm going through the sample excel provided with Data Mining addin for Excel.

     

    I created a new data structure from "Source Data". I added new data model, Decision trees (does not really matter which, neither works) to predict BikeBuyer. I click Classification Matrix against the internal test data, and the results show that it does not predict "Yes" for *ANY* row.

     

    What am I doing wrong?

    • נערך על-ידי algkep יום שלישי 29 מרץ 2011 15:37 *clarified*
    •  

כל התגובות

  • יום שלישי 29 מרץ 2011 15:51
     
     

    A notice: if I create a "neural network" model on "training data" sheet, and run classification it shows that it predicted "Yes" for *ZERO* rows.

     

    Now, if I delete all but first 1000 rows of data on that sheet, and repeat the procedure, it starts predicting... why is this happening?

  • יום חמישי 14 אפריל 2011 17:34
     
     
    I am having the same issue with the decision tree, but I'm using my own data.  Decision tree shows as the most accurate model, but there are no results where prediction  = 1.  Any help with this issue is much appreciated.
  • יום שישי 15 אפריל 2011 03:43
     
     הצעה לתשובה

    You aren't doing anything wrong - if you look at the decision tree model, for example, you will see that none of the leaf nodes will have a probability of yes greater than 50%. The algorithms predict only the most probable state, and it is turning out that "Yes" is never greater than 50% for any row.  A more correct approach would be to use a profit chart to find a probability threshold for considering "Yes" and then creating a query that looks like this (assuming a 30% threshold)

    SELECT (PredictProbability([BikeBuyer],'Yes') > 0.3) AS IsBikeBuyer FROM MyModel PREDICTION JOIN ....

    This type of query will return TRUE/FALSE based on the probability threshold that makes sense for your data.

     


    ______________________________
    Jamie MacLennan
    CTO
    Predixion Software, Inc.
    My Blog
    Follow on Twitter
    Email Me
    • הוצע כתשובה על-ידי koles יום רביעי 09 מאי 2012 07:58
    •  
  • יום שישי 15 אפריל 2011 06:52
     
     
    but isn't the sample excel included supposed to show you the models working? not a single of algorithm predicts anything..
  • יום שישי 15 אפריל 2011 09:09
     
     
    ssas mining structure implement a well known algorithm developed and tested since the 80's by A I community. If the model do not predict anything , i think it's about data or algorithm parameter . for example : If the tree is huge with many nods it's possible that you have done an over-fitting so the model transcript the data so there is  generalization capacity 
  • יום חמישי 21 אפריל 2011 14:15
     
     
    yes, but it's a special sample file provided with data mining addins, which is supposed to showcase the algorithm, and yet it does not work. Has anyone ever successfully run the included training/querying example?
  • יום שני 30 אפריל 2012 05:45
     
     

    and I'm back with that question - what's the use of sample file, if it doesn't sample you anything?

    can anyone chime in on this?

  • יום שלישי 01 מאי 2012 09:46
     
     

    I've played around, and no matter which columns I use for training the models, the highest probability I ever get is something like 25%. Furthermore, when doing classification matrix, it's not possible to specify threshold, so it always, for all the test entries predicts "no".

    Is it because I'm doing bad models, or what else could it be..

  • יום רביעי 02 מאי 2012 07:35
     
     

    If you want to predict on bike buyer, try changing the parameters. Else, try predict e.g. home owner. Watch this small video (no audio) for step by step instructions: http://youtu.be/36L0Cat5CEs


    Dr. Nico Jacobs, SQL Server BI trainer @ U2U.net


    • נערך על-ידי SQLWaldorf יום רביעי 02 מאי 2012 07:43
    •  
  • יום רביעי 02 מאי 2012 12:25
     
     
    I will try with home owner.
  • יום רביעי 02 מאי 2012 13:00
     
     
    what kind of lift are you getting for bike buyer, home owner? what's the best I could expect?