Human readable decision tree?

Hello,
I have a scenario where its necessary to stroe a human readable form of the rules processing together with the result. For example when someone phones a call centre, they are not just told that based on their circumstances, the answer is 42, but also why. 
I deally I would like to call a service within my process and receive back an answer, as well as a document (pdf? or something that could be converted to it...). Does this exist? (I suppose there must be a trace facility for developers...)
Armando.

Hi Armando,
   What we have at this point (with Ehp1 of 7.0 and 7.1) is a trace feature which provides an explanation of the decision process. The feature is integrated in the UI. There are however certain limitations regards the performance (you cannot use the code generation mode when in the trace mode of execution). We are making certain improvements and what you will see in future releases (Ehp2) will likely include significant capabilities in this area.
regards
Sudhir

Similar Messages

  • How to create a decision tree in ABAP (in SAP or not, and how????)

    Hello,
    I have to create a decision tree which has to be called within a BAPI.
    This tree finally has to return 1 single value.
    Can you tell me what's the best solution for this ?
    Should I do this with abap, or should I call a webapplication which provides this tree for me ?
    It would be great if you could provide some example-code for me.
    Kind regards,
    Gert-Jan

    I am not sure I understood what you meant by decision tree. If you are simply talking about arriving at an answer based on one or more inputs, then it is a simple IF ELSEIF ELSE statements or CASE statements.
    Can you please elaborate/give example of what you mean by decision tree?

  • Convert from epoch timestamp to human readable date

    Hi everybody,
         I want to retrieve a human readable date from an fpga target of a sbRIO9636 ,so what is the function which can convert an epoch timestamp to a human readable date ? 
    (Noting that i need to retrieve the second,minute,hour,day,month,year... from the fpga target of this device)
    Thanks

    I have a program which retrieve the current time of windows (with the Get Date/Time in Seconds and Seconds to Date/time functions) and calculate the julian day parameter by using the second,minute,hour,day,month and year wich are displayed on the elements of the Unbundle By Name function (connected in the output of Seconds to Date/time function).
    This program works within windows and real time but I can't run it in the chassis of the sbRIO (errors displayed that these functions above aren't supported in the current target)
    Can i use another method to solve this problem.
    (See the front panel of this program in the following attached file)
    Attachments:
    julian day.PNG ‏110 KB

  • NW RFC SDK: No more human-readable RFC error messages?

    I'm converting my program from the classic RFC SDK to the NetWeaver one.
    Apparently, the RFC_ERROR_INFO.message value is no longer filled with the proper human-readable error message as it used to be.
    Eaxmple: trying to create a function description for a non-existant function
    Classic SDK: "Function module "Z_MYFUNC" not found."
    NetWeaver SDK: "ID:FL Type:E Number:046 Z_MYFUNC"
    I don't see how to get the old message back. Can anyone help? Thanks!

    I am using nwrfcsdk in c directly, I have encountered some other issues, you may
    check the nwrfcsdk init release blog by Ulrich via
    /people/ulrich.schmidt/blog/2007/05/10/sap-netweaver-rfc-sdk
    May be the patch 1 have solved this issue already.
    sapnote 1056472 SAP NW RFC SDK 7.10 -- Patch level 1

  • Converting CLLocation to a human-readable place name string

    In a text-based application I want to enable a simple geotagging feature. Is there a way to convert a CLLocation latitude-longitude information into an actual place name, like "New York, NY", "Vancouver, B.C., Canada", "Birmingham, England" etc.? It doesn't need to be terribly precise, if it can recognize all towns/cities of more than 100-200K people I will be happy. On the same subject, since I'm new to the whole geotagging/GPS thing (I'm developing on a Touch and have never used a GPS device), what are some other developers doing with regards to presenting location information in a human-readable format? Just knowing the longitude/lattitude seems rather uninspiring to me.
    Thanks,
    DonutMan

    You can use Google Maps Reverse Geocoding service.
    http://code.google.com/apis/maps/documentation/services.html#ReverseGeocoding
    It should be easy to wrap these js functions into Objective-C with -stringByEvaluatingJavaScriptFromString:
    I know there is also a pure OBJC Google API framework but I don't know if it includes this.

  • Problem in Exploring the Decision Tree Model on Lesson 4 Basic Data Mining SSAS

    Hello everyone,
    I've tried to follow all the steps mentioned in Basic Data Mining Tutorials, but I've an odd problem in the Lesson 4 - Exploring the Decision Tree Model (http://technet.microsoft.com/en-us/library/cc879269.aspx).
    It's stated that "As you view the TM_Decision_Tree model
    in the Decision Tree viewer, you can see the most important attributes at the left side of the chart. “Most important” means that these attributes have the greatest influence on the outcome. Attributes further down the tree (to the right of the chart) have
    less of an effect. In this example, age is the single most important factor in predicting bike buying. The model
    groups customers by age, and then shows the next more important attribute for each age group. For example, in the group of customers aged 34 to 40, the number of cars owned is the strongest predictor after age."
    But, I got a different result from what mentioned in the tutorial. I got the number of cars owned as the most important attribute, then followed by the attribute age.
    Do you guys know why?
    Thanks in advance

    HI,
    BEGIN
       INSERT INTO DT_CA_SETTINGS_TEST (SETTING_NAME, SETTING_VALUE) VALUES
       (dbms_data_mining.TREE_TERM_MINPCT_NODE,to_char(1));
    END;
    That is not "Mode" its "NODE".
    Now Execute.
    Cheers..

  • Transform XML-String to human readable XML-File

    I need to transform a XML-String as coming from a simple transformation into a human readable XML-File. That means with linebreaks and logical indenting, each line not longer than n charactors.
    Example:
    <one><two>text</two><three><four>text</four></three></one>
    into
    <one>
      <two>text</two>
      <three>
        <four>text</four>
      </three>
    </one>

    I wrote a method that will do this, but the method can not handle all kinds of XML-strings, but it works with most simple XML-Strings:
    METHOD xml_str2table.
    *** Importing
    **    I_XMLSTRING type csequence
    *** Returning
    ***   e_tab_XMLtab type table of string.        
      DATA l_cnt_length TYPE i.
      l_cnt_length = STRLEN( i_xmlstring ).
      DATA l_cnt_index TYPE i.
      DATA l_xmlline TYPE string.
      DATA l_oldchar TYPE c.
      DATA l_char TYPE c.
      DATA l_nextchar TYPE c.
      DATA l_indent TYPE i.
      DO l_cnt_length TIMES.
        l_cnt_index = sy-index - 1.
        l_char = i_xmlstring+l_cnt_index(1).
        IF sy-index < l_cnt_length.
          l_nextchar = i_xmlstring+sy-index(1).
        ENDIF.
        IF  l_char <> cl_abap_char_utilities=>newline.
          IF ( l_char = '<' AND l_nextchar = '/' ) OR
             ( l_char = '/' AND l_nextchar = '>' ).
            l_indent = l_indent - 1.
            IF l_indent < 0.
              l_indent = 0.
            ENDIF.
          ENDIF.
          IF l_char = '<' AND l_oldchar = '>'.
            APPEND l_xmlline TO e_tab_xmltab.
    *      write: / l_xmlline.
            CLEAR l_xmlline.
            DO l_indent TIMES.
              CONCATENATE space space l_xmlline INTO l_xmlline SEPARATED BY space.
            ENDDO.
          ENDIF.
          if l_char <> space.
            CONCATENATE l_xmlline l_char INTO l_xmlline.
          else.
            CONCATENATE l_xmlline l_char INTO l_xmlline SEPARATED BY space.
          endif.
          IF l_char = '<' AND l_nextchar <> '/'.
            l_indent = l_indent + 1.
          ENDIF.
        ELSE.
          l_indent = 0.
          APPEND l_xmlline TO e_tab_xmltab.
    *    write: / l_xmlline.
          CLEAR l_xmlline.
        ENDIF.
        l_oldchar = l_char.
      ENDDO.
      APPEND l_xmlline TO e_tab_xmltab.
    *write: / l_xmlline.
    ENDMETHOD.
    The second Method does the same not with an string, but with an X-String:
    METHOD xml_xstr2table.
    *** Importing
    **    I_XMLSTRING type xsequence
    *** Returning
    ***   e_tab_XMLtab type table of string.     
      DATA l_tmp_string TYPE string.
      DATA conv TYPE REF TO cl_abap_conv_in_ce.
      conv = cl_abap_conv_in_ce=>create(
                encoding = 'UTF-8'
                endian = 'L' ).
      conv->convert(
        EXPORTING input = i_xmlstring
        IMPORTING data = l_tmp_string ).
      e_tab_xmltab = xml_str2table( l_tmp_string ).
    ENDMETHOD.

  • Regenerate decision tree for transfering to unicode system.

    Hello,
    We upgraded the system to a unicode system and we're getting runtime errors using PB infotypes (pb20/pb30) for the
    generated forums in the decision tree.
    The error thrown is unicode compatability, If I make a "false" change in a certain decision tree for a field, the form is regenerated and It works.
    The problem is , that I have over 200 fields for decision trees, and I need them all regenerated.
    Someone gave me report "RPUMKG00" as a solution (activation type 1), but It does not regenerate the forms in a unicode mode.
    does anybody have any ideas?
    thanks.

    Hello,
    We upgraded the system to a unicode system and we're getting runtime errors using PB infotypes (pb20/pb30) for the
    generated forums in the decision tree.
    The error thrown is unicode compatability, If I make a "false" change in a certain decision tree for a field, the form is regenerated and It works.
    The problem is , that I have over 200 fields for decision trees, and I need them all regenerated.
    Someone gave me report "RPUMKG00" as a solution (activation type 1), but It does not regenerate the forms in a unicode mode.
    does anybody have any ideas?
    thanks.

  • Training Decision Tree: Get RSDME362

    Hi,
    I want to train my decision tree modell and get an error: RSDME362, Vorhers. Modellf. hat nur einen Wert.Daten können nicht trainiert werden.
    If I look at the statistics of the attribute which will be predicted it has two distinct values: 1.000 and 0.000.
    Does anybody knows what could be wrong??
    Thanks,
    regards

    Hi,
    I found the problem: the algorithm couldn't process values with 0. So we changed it to 1 (=yes) and 2 (=no) instead of 0 (no).
    Regards

  • Unix timestamp conversion to human readable representation ...

    Hi,
    I map unix timestamps from MaxDB to the controller context of Web Dynpro and display the results in a table. Is there a smart way to convert the timestamps to human readable date and time? Maybe some way to manipulate the table values with a function before they are written ..?
    For now, I create a new node in the context and manually set each value with the according date/time representation ... but thats pretty cumbersome.
    Thank you very much for your help!
    Cheers,
    boris

    Hi Boris,
    Check http://java.sun.com/j2se/1.3/docs/api/java/text/SimpleDateFormat.html
    Date currentTime_1 = new Date(longUnixTimestamp);
    String dateString = formatter.format(currentTime_1);
    I would suggest you to create a calculated attribute under the same node as initial timestamp value and return a result of SimpleDateFormat.format().
    Best regards, Maksim Rashchynski.

  • What is a Decision Tree Algorithm?

    hi there,
    what is a decision tree algorithm??

    Hi,
    Decision trees are used to learn from historic data and to make predictions about the future. Prediction involves establishing rules using historic data and applying these rules to new data. These rules are displayed graphically as a hierarchy.
    Ex : Your customer data typically contains attributes such as gender, age, income, region, and occupation as well as information about whether a customer is a satisfied customer or not (possibly drawn from a survey). You can use such historic data to train a decision tree. You find out as a result that customers exhibiting certain attributes are generally satisfied customers while customers exhibiting other attributes tend to be dissatisfied customers. You can use rules determined in this way to assess the satisfaction of other customers in cases where this information is not available.
    Integration :
    The data that you use to train the model can be taken from any other system, provided that the system can extract data into SAP BW. Similarly, you can apply the identified rules to any data that has been extracted into SAP BW. In SAP BW, you can use queries to access data with known statements and then use this data to find out statements about other data.
    Regards
    Ram.

  • In cloud for service, is there a way to generate RMA's and decision trees?

    Also, where can I find more information on the field service capabilites?

    Yes it is supported via HCI configuration. C4Service provides a standard iFlow that creates a follow-up SD Order (Billing Request) from a C4Service Work Ticket. You can easily reconfigure the iFlow using HCI tools to create a SD Return Order instead of a SD Billing Request. This would then allow you to easily configure the C4Service work ticket to be a RMA capture form so that an end user can capture the products/parts as items for the SD Return Order (RMA). The end user can then release the Work Ticket to ERP which would create the RMA and ERP would take over the RMA process.
    As for the decision tree, this is supported using dynamic checklists and surveys for tickets. You can configure a dynamic survey/checklist that can have a series of questions that based on questions answered in the previous step can have different follow-up questions. These surveys/checklists can instruct the end user through a series of questions to help them diagnose a problem to ultimately instruct the end user to release the work ticket to SD for a Return Order (RMA).

  • File which is not human readable

    Dear Friends,
    I want to print some confidential characters and numbers in a file so that,
    1. file will not be editable by any text editor such MS-DOS editor, Notepad or Wordpad etc..
    2. file will not contain human readable characters
    What file writer or reader classes shall I use ? and with what methods ?
    Avijit

    Use ObjectOutputStream...
    from the java doc..
    FileOutputStream ostream = new FileOutputStream("t.tmp");
         ObjectOutputStream p = new ObjectOutputStream(ostream);
         p.writeInt(12345);
         p.writeObject("Today");
         p.writeObject(new Date());
         p.flush();
         ostream.close();You can also encrypt the valuse before writing...
    appu

  • How to find optimal multi splits for numerical attributes in Decision Tree

    Hi experts,
    I would like to know how to find optimal multi splits for numerical attributes
    in Decision Tree Learning.
    For splitting categorical attributes, gini and gain index are used and the splits that
    produce the best gain are selected.
    However, in case of numerical attributes
    how do you find the best splits?????
    Please help me !!

    Yordan's suggestion is correct, though the documentation is a bit outdated.
    You can use the single parameter + sweeper mode or define your own custom ranges in the BDT module with the Parameter Range setting
    Regards,
    aK

  • More human readable MC size

    Hi guys.
    I was searching for info to make size colomn in MC more human readable than just number of bytes and the only thing found is the option "Use SI size units". OK, it's better but "735074k" is half-human-readable. I want it to be like "du" does:
    3,8G ./***
    2,1G ./***
    31G ./***
    8,3G ./***
    3,4G ./***
    44G ./***
    I tried to use bash syntax in Listing Mode, like
    ... | `du -h` | ...
    ... | `du -sh` | ...
    but MC doesn't accept that. Is there any other way to make it du-like?

    Width of the column doesn't do what I was talking about. For example now that I did what you suggested I have two files of sizes shown as
    |6325|
    |90k |
    Which should be something like
    |6.1 K|
    |90 K |
    Last edited by Mr. Alex (2012-08-05 10:48:21)

Maybe you are looking for

  • IPod not recognized. says"USB device not recognized and has malfunctioned

    I just bought an iPod nano from one of my friends and i got the usb cord off of ebay. when i connect my ipod to my computer. it says usb device not recognized. i've installed software and everything. i've downloaded iTunes and all the ipod software i

  • Password doesn't work

    I'm trying to access my backup via MacBook Pro.sparsebundle,   I get this far and it keeps asking me for a password of which I either forgot or never set one up! Assuming I forgot it, how can I get access to this area? Thanks. Gerry

  • 3-Panel Monitors?

    I have a MacBook Pro v 10.6.8 and am looking for a large 3-monitor system.  What do people recommend and what hardware / software is required to make it run?  Thanks!

  • Robohelp 9 does not generate table headers

    Hi all, the new table style mapping works, but is of no worth for me if Robohelp is not able to generate table headers in the Word output. Having headers in Word is also a prerequisite for the first line to repeat on each new page. Is there a way to

  • Event imported from camcorder jiggles

    Imported HD video jiggles, but only when the content is panning or zooming. No such problem playing back the video on the camera's monitor, or directly from the camera to a TV. No such problem using this camera and computer prior to this attempt. Hap