Include records IDs in prediction

Hi everybody, I´m doing some binary prediction experiments.  I haven't included IDs in my training datasets because I think that if I use them the algoritm will use that field in the learning process, which is not good as I know.
But as scoring datasets I use data with the same columns, because as I have been told the Score model ask you to use the same columns that were used by the Training Model. The problem is that the resulting scored dataset doesn't have IDs, so I can´t identify
each predicted record because they don´t have the original IDs.
My question is: 
Can I use some columns in the learning model and use those columns in the Score model but adding some extra columns, like IDs ?
If that is not possible is there another option ? 

Hi!
Yes! The Score Module will simply ignore any extra columns that the model was not trained on.
But there's a "better" way in that you can use the Metadata Editor
and set the Fields -> Clear Feature. This will unmark a column as an observation vector element and will pass through Train unused!
Hope this helps!
Regards,
AK

Similar Messages

  • Noob Question: Flowing Input Dataset Row/Record IDs Through to the Score Model Output

    I've got a noob question that I'm having difficulty finding the answer to:  if my input dataset contains row/record IDs and I want to flow these through to the Score Model module output but *don't* want to include this column in model training (because
    it's just an arbitrary row tag), how do I go about accomplishing this?  
    I am able to Project Columns and eliminate the IDs entirely early in the process but then can't really determine which input row a prediction is associated with because I've lost the IDs.  I'm not quite sure how to accomplish what I'm trying to do via
    the Metadata Editor, either.
    Surely somebody else has dealt with this same question.  If the solution is implemented somewhere in a Gallery experiment that you'd like to point me at, too, that would also be just as good as a written explanation.
    Thanks in advance,
    Kevin

    Hey Kevin!
    Sorry for making this process unclear :( Azure ML has a notion of Feature Columns
    (by default everything is a Feature), that is columns/variables that are intended to be treated as part of the observation vector. You can use the Metadata Editor
    and (after selecting the column(s) you want), mark the column as
    Fields -> Clear Feature. This will have the semantics you desire - data attached to the input data while not being used for training.
    Regards,
    AK

  • How to create report which includes records of current month and last 7 days of previous month.

    Hi Experts,
    I need to create a report which includes records of current month and last 7 days of previous month.
    I will get records of current month by this formula :- month({PROBSUMMARYM1.OPEN_TIME})=month(currentdate)
    Please tell me how to add the records of last 7 days of previous Month for the same report.
    Thanks in Advance.

    Hi Ajay,
    If you have more than a year data in your database then your formula will return wrong results. ie. If your data consist of 2012,2013,2014 data then below formula will return all 8th month data irrespective of year. So, you need to check year also here
    month({PROBSUMMARYM1.OPEN_TIME})=month(currentdate)  and
    Year({PROBSUMMARYM1.OPEN_TIME})=Year(currentdate)
    Now add Abhilash second statement in OR so, your formula should look like :
    (month({PROBSUMMARYM1.OPEN_TIME})=month(currentdate)  and
    Year({PROBSUMMARYM1.OPEN_TIME})=Year(currentdate))
    OR
    Date({PROBSUMMARYM1.OPEN_TIME}) IN [DateAdd('d',-7,Maximum(LastFullMonth)), Maximum(LastFullMonth)
    -Sastry

  • Java API: Limiting search to a specific set of records ids?

    Hello.
    I'm trying to find a way to do the following: run a search (a pretty simple search, just check for a specific value in a specific field), but instead of running the search on an entire table I want to limit it to a specific set of record-ids, the point being that I know which record-ids I want to search on (I'm getting them from a listener event) and I'd like to make the search more effective.
    Any ideas?
    Thanks,
    Alon

    Alon,
    Are you on SP6? If so, have you tried the [RetrieveRecordsByIdCommand|http://help.sap.com/javadocs/MDM/SP06/com/sap/mdm/data/commands/RetrieveRecordsByIdCommand.html]?
    Regards,
    Doug

  • How  to include recording in the program

    Hello Experts,
    I had recorded a transaction f-27 in shdb with name zrec , I had one zprogram in that i had written some logic. Now I want to include the recording(zrec) in zprogram . so please kindly guide me.
    And also please tell me when we need to go for call trans and when we need session method.
    Thank you so much for  all the replies

    Hi,
    Please go to SHDB . select the recording, click on PROGRAM button.Give program name . Select radio button "Transfer From Recording".
    Then a code is displayed in the next window.
    Copy the code necessary from  recording into your program.I.e internal table declaration , perform stmts and , Form endform stmts.
    CALL TRANSACTION
    1) When less number of records i.e < 25000 records are there.
    2) When client requires explicit error file handling.
    3) when the process must be very fast.
    SESSION:
    1) Background processing and scheduling are to be done.
    2) Large volumes of data is handled.
    3) Multiple transactions are to be handled.
    Reward points if helpful.
    Thanks and Regards.

  • MDM Table EVENT(EPCF) to get the record ids

    Hi Experts,
    I have a requirement where I need to trigger an EPCF event from MDM standard result set iview and need to capture the recordids of all the record present in the table in my customised webdynpro application.I have to later read them to an excel sheet.(the code for which i already have)
    I am trying table type EPCF eventing for that and later passing [Search] as parameter but i am not able to get this search object and it seems to be a futile approach.
    Please anyone of you can tell me the method to retrieve all records from resultset Iview to my dynpro application.
    Thanks
    Vinay

    Hi Vinay,
    You are correct in that you cannot pass a list of ID's from the Result Set iView.  This is by design and the reasoning behind it is that there could be thousands or even hundreds of thousands of records in a Result Set, and this would make passing them in a JavaScript function or URL unrealistic.
    However, since the ResultSet is always the result of a search, you can pass the "search" to your custom application and recreate the result set there.  The only caveat is as follows:
    Prior to MDM 5.5 SP6 P2, the iViews were based on the MDM4J API. So if your version of MDM is pre-SP6 Patch 2, you must use the function Search.setArchive() of MDM4J.
    From MDM 5.5 SP6 Patch 2, the iViews are based on the MDM Java API, and so you should use the function Search.deserialize() of MDM Java API.
    Regards,
    Walter

  • Host of issues including recording, signal loss etc

    Please help!!! I'm at a loss here! I am having a number of issues with one particular skybox. It will not record properly, some recordings it says 'This program cannot be inserted into the planner', when it does decide to record, the red light doesn't appear on the skybox, or else the Sky box shuts down and say there is no signal. Things that were supposed to be recorded have failed continuosly. I have done a planner rebuild and system restore (lost EVERY program), and NOTHING works!! When I try to view channels, and press the 'i' button, no program synopsis appears. Rcently, about 2-3 weeks ago, our TV was moved up to the wall and the skybox was moved to a shelf. Does anyone have a picture of what the leads should look like? We have the necessary leads in the box, and a white lead connected from the attic, sky dish, into the skybox, but before the issues happened, it used to be in the TV.  I'm at my wits end!!! Please help!

    carmel1968 wrote:
    The signal says, in order : nothing, nothing, not locked, null, nothing, nothing, not locked, not connected. What can this mean??? From the time during the last post, I messed around and the two cables came out of the metal casing.Your Signal readings above mean that there's no connection with the satellite dish, maybe because your cables have popped out of the F-plugs. If so, make sure the copper braiding is folded back over each cable, then screw or twist the plugs back onto the cables.  Some pics here

  • BDC for Transaction IA01 including recording from excel (sample Code)

    Dear Experts,
                        Can anyone give me a sample BDC code for transaction IA01 from excel
    Thanks in advance
    Regards
    Sayandeep

    Hi,
    Try This Code
    report Y_P_GB01
           no standard page heading line-size 255.
             R O H M     A N D     H A A S    C O M P A N Y              *
    ======================================================================
    Development ID :  mqhpkl                                                   *
    Creation Date  :  24-11-2008                                           *
    Developer Name :  Paramesh Kalluri                                    *
    Program Title :  Upload the Special Ledger data from Excel to SAP    *
    Description   :                                                      *
                           Constants                                     *
    CONSTANTS: c_begcol TYPE i VALUE 1,
               c_begrow TYPE i VALUE 1,
               c_endcol TYPE i VALUE 10,
               c_endrow TYPE i VALUE 10.
                        Types Declaration                                *
    TYPES : begin of d_itab,
    data element: BUKRS
            BUKRS_001(004),
    data element: DOCTY
            DOCTY_002(002),
    data element: RVERS
            RVERS_003(003),
    data element: BUDAT
            DATE_004(010),
    data element: RTCUR
            RTCUR_005(005),
    data element: GCURR_A
            GCURR_006(005),
    data element:
            GD_USE_TARGET_LEDGER_007(001),
    data element:
            TARGET_LEDGER_008(002),
    data element: UTAB_D
            UTAB_009(030),
    data element: VTCUR12
            TSL_010(019),
          end of d_itab.
                          Data Declarations                              *
    DATA: it_bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE,
          it_bdcmsgcoll LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE,
          XL_itab type alsmex_tabline occurs 0 with header line,
          msg_disp TYPE string.
    data : it_itab type standard table of d_itab,
           wa_itab type d_itab.
                         Selection Screen                                *
    SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_file LIKE rlgrap-filename.
    SELECTION-SCREEN: END OF BLOCK b1.
                    At Selection Screen  for File                        *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    perform f4_filename.
                     Start-of-selection                                  *
    start-of-selection.
    *Uploading the data from excel to internal table
    perform excel_upload.
    *Uploading to SAP
    perform chek_data.
    if sy-subrc ne 0.
    perform format_message.
    endif.
    end-of-selection.
    *&                   Form  F4_FILENAME
          Find the file
    -->  p1        text
    <--  p2        text
    FORM F4_FILENAME .
    CALL FUNCTION 'F4_FILENAME'
       IMPORTING
        FILE_NAME           = p_file.
    ENDFORM.                    " F4_FILENAME
    *&                   Form  CHEK_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM CHEK_DATA .
    loop at it_itab into wa_itab.
    perform bdc_dynpro      using 'SAPMGBUK' '0102'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLU1-BUKRS'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ERF'.
    perform bdc_field       using 'GLU1-BUKRS'
                                  wa_itab-bukrs_001.
    perform bdc_field       using 'GLU1-DOCTY'
                                  wa_itab-docty_002.
    perform bdc_field       using 'GLU1-RVERS'
                                  wa_itab-RVERS_003.
    perform bdc_field       using 'RGBUK-DATE'
                                  wa_itab-DATE_004.
    perform bdc_field       using 'GLU1-RTCUR'
                                  wa_itab-RTCUR_005.
    perform bdc_field       using 'RGBUK-GCURR'
                                  wa_itab-GCURR_006.
    perform bdc_field       using 'GD_USE_TARGET_LEDGER'
                                  wa_itab-GD_USE_TARGET_LEDGER_007.
    perform bdc_field       using 'TARGET_LEDGER'
                                  wa_itab-TARGET_LEDGER_008.
    perform bdc_field       using 'T883S-UTAB'
                                  wa_itab-UTAB_009.
    perform bdc_dynpro      using 'SAPMGBUK' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLU1-TSL'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'GLU1-TSL'
                                  wa_itab-TSL_010.
    perform bdc_dynpro      using 'SAPMGBUK' '0110'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EBACK'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLU1-TSL'.
    perform bdc_dynpro      using 'SAPLSPO1' '0200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=YES'.
    perform bdc_dynpro      using 'SAPMGBUK' '0102'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EBACK'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLU1-BUKRS'.
    CALL TRANSACTION 'GB01' USING IT_BDCDATA MODE 'A' UPDATE 'A' MESSAGES
    INTO IT_BDCMSGCOLL.
    CLEAR WA_ITAB.
    refresh it_bdcdata.
    ENDLOOP.
    ENDFORM.                    " CHEK_DATA
    *&                   Form  EXCEL_UPLOAD
          text
    -->  p1        text
    <--  p2        text
    FORM EXCEL_UPLOAD .
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      EXPORTING
        FILENAME                      = p_file
        I_BEGIN_COL                   = c_begcol
        I_BEGIN_ROW                   = c_begrow
        I_END_COL                     = c_endcol
        I_END_ROW                     = c_endrow
      TABLES
        INTERN                        = xl_itab.
    EXCEPTIONS
      INCONSISTENT_PARAMETERS       = 1
      UPLOAD_OLE                    = 2
      OTHERS                        = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop at xl_itab.
        case xl_itab-col.
          when '1'.
            wa_itab-bukrs_001 = xl_itab-value.
          when '2'.
            wa_itab-docty_002 = xl_itab-value.
          when '3'.
            wa_itab-RVERS_003 = xl_itab-value.
          when '4'.
            wa_itab-DATE_004 = xl_itab-value.
          when '5'.
            wa_itab-RTCUR_005 = xl_itab-value.
          when '6'.
            wa_itab-GCURR_006 = xl_itab-value.
          when '7'.
            wa_itab-GD_USE_TARGET_LEDGER_007 = xl_itab-value.
          when '8'.
            wa_itab-TARGET_LEDGER_008 = xl_itab-value.
          when '9'.
            wa_itab-UTAB_009 = xl_itab-value.
          when '10'.
            wa_itab-TSL_010 = xl_itab-value.
    *at end of row.
           append wa_itab to it_itab.
    *endat.
        endcase.
    at end of row.
            append wa_itab to it_itab.
    endat.
      endloop.
    ENDFORM.                    " EXCEL_UPLOAD
    *&                      Form  BDC_DYNPRO
          text
         -->P_0169   text
         -->P_0170   text
    FORM BDC_DYNPRO  USING A B.
    clear it_bdcdata.
      it_bdcdata-PROGRAM  = A.
      it_bdcdata-DYNPRO   = B.
      it_bdcdata-DYNBEGIN = 'X'.
    APPEND it_bdcdata.
    ENDFORM.                    " BDC_DYNPRO
    *&                  Form  BDC_FIELD
          text
         -->P_0174   text
         -->P_0175   text
    FORM BDC_FIELD  USING C D.
    clear
    it_bdcdata.
        it_bdcdata-FNAM = C.
        it_bdcdata-FVAL = D.
       APPEND it_bdcdata.
    ENDFORM.                    " BDC_FIELD
    *&                  Form  FORMAT_MESSAGE
          text
    -->  p1        text
    <--  p2        text
    FORM FORMAT_MESSAGE .
    LOOP AT IT_BDCMSGCOLL.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
       ID              = IT_BDCMSGCOLL-MSGID
       LANG            = '-D'
       NO              = it_bdcmsgcoll-msgnr
       V1              = IT_BDCMSGCOLL-MSGV1
       V2              = IT_BDCMSGCOLL-MSGV2
       V3              = IT_BDCMSGCOLL-MSGV3
       V4              = IT_BDCMSGCOLL-MSGV4
    IMPORTING
       MSG             = MSG_DISP
    EXCEPTIONS
      NOT_FOUND       = 1
      OTHERS          = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    WRITE:/ MSG_DISP.
    ENDLOOP.
    ENDFORM.                    " FORMAT_MESSAGE
    ******************End of the Program**********
    All the best

  • Duplicate Customer IDs

    Hello,
    I've created a report that includes customer IDs, there are some that are duplicated but I need to supress them and just show one instead of 5.  Any ideas how this can be done?
    Thanks.

    if that doesnt work, and usually doesnt
    create a group by customer id
    place the fields pertaining to the customer in the group header
    a group header returns the first unique value of a record, if it is dupd this will only display one.

  • How can I make a report of all records with the date in the last two weeks?

    Hi!
    I have records with a date field, I want to create a report that only includes records with a date which is within the last two weeks of the system date, is this possible? Surely this is a basic database function, I would have thought, but I can find no help about it and there's very little in Mac Help about doing anything other than simple stuff with reports.
    I'm not a genius with databases, so help with any required formula or what have you would be great!

    Hi Jonathan,
    Here's a formula you can use with the Match function. 'Date' is the name of the date field, which must be a "Date" type field.
    'Date'>NOW()-14
    Match will select (highlight) all records matching the query. You'll then need to use Organize > Hide Unselected to show only the matches.
    Unfortunately, I haven't found a way to make the NOW() function work in a Find request, and neither Match requests nor Hide Unselected can be included in a recorded search, either of which would reduce repeating the report to a one-button operation.
    Regards,
    Barry

  • 0FI_AR_4 extractor bringing zero records

    Hi,
    We are using extractor 0FI_AR_4 as delta. At times it is bringing zero records but the next time it brings data along with the daata missed the previous day.
    For ex
    Monday it brought records until previous week
    Tuesday it brought zero record
    Wednesday it brought more records i.e including records created on Monday and Tuesday
    We could not figure out a situation when can this happen. But our observation is that there is no entry for tuesday in the table BWOM2_TIMEST.
    BWOM_SETTINGS
    BWFILOWLIM     19910101
    BWFINSAF         3600
    BWFISAFETY     1
    BWFITIMBOR      020000
    DELTIMEST         60
    OBJCURTYPE    10
    Regards
    Vijay

    check http://help.sap.com/erp2005_ehp_04/helpdata/EN/af/16533bbb15b762e10000000a114084/content.htm
    it states :
    In delta mode, data requests with InfoSource 0FI_AR_4 and InfoSource 0FI_AP_4 do not provide any data if no new extraction has taken place with InfoSource 0FI_GL_4 since the last data transfer. This ensures that the data in BW for Accounts Receivable and Accounts Payable Accounting is exactly as up to date as the data for General Ledger Accounting.
    you can check this...de link gives details about the delta methods for FI extractors

  • Having trouble recording a video using Presenter 9, inside PoswerPoint installed as part of MS Office 10, PP version is 14...

    The Presenter add in opens up just fine.  I can do most everything with the Presenter tool bar, including recording and publishing audio for the slides, but I get an error message when trying to use the "Video" recording function.  I have a screen shot of the error message if that would help,   But is basically says the "Application encountered and internal Error.  If the error persists, contact someone."  Adobe support is useless on this issue.  Does anyone have any ideas? 
    I DO NOT have two monitors set up and the button labeled "Use Presenter View" is unchecked.

    Check that your video drivers are up to date.

  • How to insert records in database from a dataset with multiple tables

    Hi,
    I'm struggling with the following problem:
    I have saved a dataset to an XML file by executing the following statement:
       ds.WriteXml( "Export\\ModuleChain_Mdata.xml" );The dataset, ds, includes records from several tables.
    Is there an easy way to retrieve those records to the database, I.E inserting them again?
    regards Peter

    you can try Associative Arrays:
    http://www.oracle.com/technology/oramag/oracle/07-jan/o17odp.html
    you need to convert yore DataTables to array first and than pass them in to the associative array procedure.

  • Checkout - modify record fails

    Hi all,
    I am facing a strange problem with Java API SP06.
    I am checking out the main table records and I am setting field values for a record. When i execute modifyrecords command for the checkedout maintable record, I am getting a server exception...
    "The records is protected"
    The user session is same for all the operation.
    I cannot figure out the problem.
    Cant we do modification on checked out records?
    Best regards,
    Arun prabhu S

    Hi Walter,
    Thanks for the reply.
    I was using modifyrecordCommand. i was getting "record is protected" exception.
    Now i have changed my approach.
    I am using modifyrecordscommand. Here i am supplying the records which i have modified. But the modification does not affects the checked out records.
    BTW...Where do i supply the record ids? From my knowledge modifyrecordsbyID is not supported in SP06.
    Kindly clarify.
    Thanks and best regards,
    Arun prabhu S

  • Record video to local file: possible in AIR 2.5?

    Our shop is spec'ing an application that will include recording high-quality video on a user's workstation for later upload. We thought of building in Flex and distributing as an AIR application. Before now, my research tells me, one could capture microphone sound to a local file, but video has always required NetStream.publish() to a FMS server. The other way to go was using NativeProcess to communicate e.g. to FFMPeg -- there's a devnet article about just that here: http://www.adobe.com/devnet/air/flex/articles/air_screenrecording.html
    Neither of those scenarios is a good fit to our need.
    Question: does the AIR 2.5 release make it possible to record local Camera video to a local file?
    Thanks in advance,
      Laurence

    I didn't think recording was the issue, rather encoding into something less huge than a sequence of raw bitmap captures in a reasonable amount of time. There aren't any changes in AIR 2.5 to improve that aspect.
    There is this library that claims to encode captured video into FLVs (I haven't tried it yet): http://www.joristimmerman.be/wordpress/2008/12/18/flvrecorder-record-to-flv-using-air/

Maybe you are looking for