Задайте вопросЗадайте вопрос
 

ОтвеченоWhere is the documentation on internal procs

Ответы

  • 30 декабря 2008 г. 18:57Bogdan CrivatМодераторМедали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     Отвечено
    The stored procedures were intended as an internal tool to help the Data Mining Viewers, so the documentation is scarce at best.
    Here is the list of parameters for the GetItemsets stored procedure:
    - miningModel ('Assoc MBA' in your case)
    - start -- the first itemset to be returned, for itemsets pagination (0, in your case)
    - end -- the last itemset to be returned, for itemsets pagination (1999, in your case)
    - the sort order of the itemsets, as an integer representation of the enumeration below:
         public enum AssociationSortOrder
         {
          AscendingProbability   = 0,
          DescendingProbability   = 1,
          AscendingLift     = 2,
          DescendingLift     = 3,
          AscendingSupport    = 4,
          DescendingSupport    = 5,
          AscendingItemsetLength    = 6,
          DescendingItemsetLength   = 7,
          AscendingLexicographical  = 8,
          DescendingLexicographical = 9,
         }
    Therefore, 5, in your case, means that the itemsets should be returned sorted by the support in descending order
    - the minimum size of returned itemsets (3, in your example)
    - the minimum support of returned itemsets (250, in your example)
    - filter to be applied to the itemsets -- a .Net regular expression to be used as a filter on the returned itemsets ('Road Bottle Cage' in your example)
    - a boolean flag telling whether the nested table name should be stripped from the textual representation of the itemset -- this maps to the Short Name UI checkbox (false, in your case)



    bogdan crivat [sql server data mining] / http://www.bogdancrivat.net/dm
    • Помечено в качестве ответаAllan MitchellMVP2 января 2009 г. 9:08
    •  

Все ответы

  • 30 декабря 2008 г. 18:57Bogdan CrivatМодераторМедали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     Отвечено
    The stored procedures were intended as an internal tool to help the Data Mining Viewers, so the documentation is scarce at best.
    Here is the list of parameters for the GetItemsets stored procedure:
    - miningModel ('Assoc MBA' in your case)
    - start -- the first itemset to be returned, for itemsets pagination (0, in your case)
    - end -- the last itemset to be returned, for itemsets pagination (1999, in your case)
    - the sort order of the itemsets, as an integer representation of the enumeration below:
         public enum AssociationSortOrder
         {
          AscendingProbability   = 0,
          DescendingProbability   = 1,
          AscendingLift     = 2,
          DescendingLift     = 3,
          AscendingSupport    = 4,
          DescendingSupport    = 5,
          AscendingItemsetLength    = 6,
          DescendingItemsetLength   = 7,
          AscendingLexicographical  = 8,
          DescendingLexicographical = 9,
         }
    Therefore, 5, in your case, means that the itemsets should be returned sorted by the support in descending order
    - the minimum size of returned itemsets (3, in your example)
    - the minimum support of returned itemsets (250, in your example)
    - filter to be applied to the itemsets -- a .Net regular expression to be used as a filter on the returned itemsets ('Road Bottle Cage' in your example)
    - a boolean flag telling whether the nested table name should be stripped from the textual representation of the itemset -- this maps to the Short Name UI checkbox (false, in your case)



    bogdan crivat [sql server data mining] / http://www.bogdancrivat.net/dm
    • Помечено в качестве ответаAllan MitchellMVP2 января 2009 г. 9:08
    •  
  • 2 января 2009 г. 9:11Allan MitchellMVPМедали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     
    Thanks Bogdan although a shame as well.  I personally hate it when an application makes calls that a user has to "guess at".  They do have other uses besides just helping your viewers.  What is I wanted to create my own cluster diagram in my own .Net web app.  I would call one of your internal procs for example.

    CALL System.ARGetNodeGraph('[Assoc MBA]', 60)

    This would allow me to see the clusters and the edges nicely.


  • 6 января 2009 г. 8:25Bogdan CrivatМодераторМедали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     
    Allan, we recently started a series of blog postings covering the behavior of the data mining built-in viewers. Among other topics, we document the stored procedure calls made from the viewers. You can find this information at http://www.sqldataminingbook.com/dmbook/


    bogdan crivat [sql server data mining] / http://www.bogdancrivat.net/dm
  • 6 января 2009 г. 9:36Allan MitchellMVPМедали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     
    Thanks Bogdan.

    I have seen this site before and liked very much Jamie's "Kid food predictor" article.  I will keep an eye open for more of the routines going up on the site.