Spatial Data Mining

Hi everyone,
I am 4th year computer science student from Canada.
I need to do a research paper on Spatial Data Mining. Is there anyone have any good articles or links which are related to this topic?
Thanks very much
Lin

Check the Oracle 10g Spatial User's Guide for some information as well, and keep your eyes on otn:
http://otn.oracle.com/products/spatial/index.html
for a white paper coming soon.

Similar Messages

  • Data mining is Loading after upgrade from 10.1.0.4 to 10.2.0.4

    SQL> select comp_name, version, status from dba_registry;
    COMP_NAME
    VERSION STATUS
    Oracle Ultra Search
    10.1.0.4.0 NO SCRIPT
    Oracle XML Database
    10.2.0.4.0 VALID
    Oracle Enterprise Manager
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    Oracle Text
    10.2.0.4.0 VALID
    Oracle interMedia
    10.2.0.4.0 VALID
    Oracle Expression Filter
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    Oracle Workspace Manager
    10.2.0.4.3 VALID
    Oracle Data Mining
    LOADING
    Oracle Database Catalog Views
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    Oracle Database Packages and Types
    10.2.0.4.0 VALID
    JServer JAVA Virtual Machine
    10.2.0.4.0 VALID
    Oracle XDK
    10.2.0.4.0 VALID
    ** How to fix ti..
    *** I can find below error in dbua log
    ===
    dbua
    Oracle_Server.log 470085 select dbms_java.full_ncomp_enabled from dual;
    470086 select dbms_java.full_ncomp_enabled from dual
    470087 *
    470088 ERROR at line 1:
    470089 ORA-29558: JAccelerator (NCOMP) not installed. Refer to Install Guide for
    470090 instructions.
    470091 ORA-06512: at "SYS.DBMS_JAVA", line 236
    470092
    470093
    470094 Rem If Intermedia, Ultrasearch, Spatial, Data Mining upgrade,
    470095 Rem first install JAVAVM if it is not loaded
    470096
    470097 BEGIN
    470098 2 IF dbms_registry.is_loaded('JAVAVM') IS NULL AND
    470099 3 (dbms_registry.is_loaded('ORDIM') IS NOT NULL OR
    470100 4 dbms_registry.is_loaded('WK') IS NOT NULL OR
    470101 5 dbms_registry.is_loaded('SDO') IS NOT NULL OR
    470102 6 dbms_registry.is_loaded('EXF') IS NOT NULL OR
    470103 7 dbms_registry.is_loaded('ODM') IS NOT NULL) THEN
    470104 8 :dbinst_name := dbms_registry_server.JAVAVM_path || 'initjvm.sql';
    470105 9 ELSE
    470106 10 :dbinst_name := dbms_registry.nothing_script;
    470107 11 END IF;
    470108 12 END;
    470109 13 /
    470110
    470111 PL/SQL procedure successfully completed.
    470112
    470113 SELECT :dbinst_name FROM DUAL;
    470114
    *** Then I can apply 10.2.0.5 PSR ( in data mining is loading)?

    You can try de-install and install this component using the following note
    Master Note for Oracle Data Mining (Doc ID 1087643.1)

  • Data Mining on data specified and filtered by the user in runtime

    Hi Experts,
    i am new to Data Mining in SAP BI (we are on BI 7.0 SP Level 20). I familiarised myself with APD and Data Mining by reading some interesting and useful threads in this forum and some other resources. Therefore I got a understanding about the topic and was able to create basic data mining model for an association analysis and an corresponding APD for it and write the results into a DSO by using the data source. But for now I was not able to find a solution for a concrete customer requirement.
    The user shall be able to select an article, a retail location and a month and get the top n combinations sold with that article in the particular location and month. For that he may not access the data mining workbench or any other SAP internal tools but he shall be able to start the analysis out of the portal (preferable a query).
    We had some thoughts on the scenario. The first idea would be to create an APD for every location for the last month. As we need to cover more than 100 locations, this would not be practicable. Therefore I think it would be necessary, that the user can select the particular filters, and the data mining would then be executed with the given input.
    The other idea was to use a query as source. The user would start this query and filter location and month in it. The result of the query could then be used as the source for the APD with the association analysis. Therefore we would need to create a jump point from that query, which starts the APD with that results. After that the user should be able to start a result query, which displays the result of the association analysis (ideally this result query would start automatically, but starting it manually would be ok, too).
    So, I have the following questions for these scenarios:
    1.) Is it possible to create variants of a single APD, for automatically doing the data mining for the different locations?
    2.) is it possible to start an APD out of a query, with the particular results regarding filtering?
    3.) Can we place a query directly on the data mining results (how?) or do we need to write the data mining results in a DSO first?
    4.) What about the performance? Would it be practicable to do the data mining in runtime with the user waiting?
    5.) Is the idea realistic at all? Do you have any other idea how to accomplish the requirement (e.g. without APD but with a query, specific filter and conditions)?
    Edited by: Markus Maier on Jul 27, 2009 1:57 PM

    Hi ,
    you can see the example : go to se 80 then select BSP Application ,SBSPEXT_HTMLB   then select tableview.bsp , you will get some idea to be more clear for the code which you have written
    DATA: tv TYPE REF TO CL_HTMLB_TABLEVIEW.
    tv ?= cl_htmlb_manager=>get_data(
                             request = runtime->server->request
                              name    = 'tableView'
                                  id      = ''tbl_o_table" ).    
    IF tv IS NOT INITIAL.
      DATA: tv_data TYPE REF TO CL_HTMLB_EVENT_TABLEVIEW.
      tv_data = tv->data.
    IF tv_data->prevSelectedRowIndex IS NOT INITIAL.
    FIELD-SYMBOLS: <row> LIKE LINE OF sflight.
        READ TABLE ur tablename  INDEX tv_data->prevSelectedRowIndex ASSIGNING <row>.
        DATA value TYPE STRING.
        value = tv_data->GET_CELL_ID( row_index    =
                                   tv_data->prevSelectedRowIndex
                                      column_index = '1' ).
    endif.
    endif,

  • BW Data Mining

    Hello!
    I need information about the following BW Data Mining topics. Hope, someone can help me?
    -What 3rd Party Tools are available für Data Mining? (I just know "IBM Intelligent Miner")
    -Does someone have experiences with performance of the DM-algorithms? System requirements? Mass data?
    -Are there possibilities to improve the performance?
    -What is known about new features in Netweaver BI 7.0 for DM?
    -Does someone have special experiences in DM in the automotive industy? Are there typical business processes known, which are useful for BW Data Mining?
    Thank you for help!
    Regards,
    Peter

    Hallo!
    I need different information about BW data mining.
    One thing is, what are typical business scenarios for the different algorithms. So it is easy to find such for decision trees, association analysis and maybe for ABC analysis. But i have little problems to find real scenarios vor weighted score tables and regression analysis. It would be helpful to hear about some.
    I have to write a paper for my company about data mining with bw. While we have no experiences in this area I´m looking here for people having.
    Also Performance. The problem is not to try out with APD and Data Mining models. But to find experiences with this.
    Good or bad performance with this or this algo? Or how can I optimize performance for mass data?
    After this I have to design typical business scenarios. Especially for automotive area if possible.
    So what the question for me is, what is possible with the algorithms? Where are problems with them?
    It would be great if you could provide me with more information about your experiences in this area.
    Thanks,
    Peter

  • How to load spatial data from .shp file

    Could anyone suggest an easy to use, free tool to upload spatial data from .shp file (or/and other open source spatial file sources) into an Oracle Locator database?
    We have licensing for ArcGIS10, but nobody (including ArcGIS) have been able to successfully create a direct connection from their software to our Oracle 10.2 database.
    Client desktops here are Windows 7 64bit, which further complicates matters (tend to find neither ArcGIS nor Oracle support 64bit OS in a cogent fashion)

    790951,
    . . . .You can also try Oracle's ShapeFile Converter (shp2sdo). It's a command line utility so there's automation potential.
    . . . .Note that ESRI's tools may (depending on how they're used) store spatial content in Oracle Spatial as BLOBs containing their ST_GEOMETRY data-type (rather than Oracle's SDO_GEOMETRY type).
    Regards,
    Noel

  • Data Mining overflow error while loading the mining viewer

    I developed a time series model that processes succesfully. The problem I have is that when I try to view the mining model viewer that displays the times series on a chart, I get the error below:
    An error occurred while a prediction query was being executed:
    'Error (Data mining): An overflow was encountered while converting a predicted value to the '' column, at line 1, column 33. A higher precision data type for the column is recommended.'.
    ADDITIONAL INFORMATION:
    Error (Data mining): An overflow was encountered while converting a predicted value to the '' column, at line 1, column 33. A higher precision data type for the column is recommended. (Microsoft OLE DB Provider for Analysis Services 2008 R2.)
    It looks like the probability value (which is a float data type, for example 0.4452938765) is being stored in a particular column, and the data type of that column cannot contain the range of decimal places that the probability has.
    I don't know which column to look for to change its data type like the error messages says. Would anyone have any idea?

    Hello,
    Thanks for your posting.
    It is more related to Data Mining issue in this case. I move the thread to
    Data Mining forum for better support. Thanks for your understanding.
    Regards,
    Elvis Long
    TechNet Community Support

  • Error while inserting spatial data

    Hi All,
    I have a problem while inserting spatial data. could some one please help me in solving this.
    I have creatd a table with spatial index.
    INSERT INTO USER_SDO_GEOM_METADATA
                VALUES('SDO_CA_test', 'CA', SDO_DIM_ARRAY(
                    MDSYS.SDO_DIM_ELEMENT ('LON', 71.19545, 120.35101, 0.000005),
                    MDSYS.SDO_DIM_ELEMENT ('LAT', 12.1145, 26.58041, 0.000005)), 8687);
         CREATE INDEX IO_CA_test ON SDO_CAR_test(CA)
        INDEXTYPE IS MDSYS.SPATIAL_INDEX PARAMETERS ('SDO_COMMIT_INTERVAL=10000 SDO_RTR_PCTFREE = 0');when I insert data from another spatail table that does not have a index I get an error.
    insert into sdo_ca_test as select * from base_sdo;
    ORA-29875 Failed in the ececution of the ODCINDEXINSERT routine
    ORA-13354 incorrect offset in ELEM_INFO_ARRAY
    ORA_06512 at MDSYS.SDO_INDEX_METHOD_101 line. 709I believe that there is some incorrect data that is not with my index defination.
    How do I check this invalid data at base_sdo table. The base_sdo table has no index.
    rgds
    Saz
    Edited by: Saaz Ena on Dec 21, 2009 6:16 PM

    Can you try SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT
    or SDO_GEOM.VALIDATE_LAYER_WITH_CONTEXT? e.g.
    select * from base_sdo a where
    SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT(a.CA, 0.000005) != 'TRUE';

  • Error (Data mining): The specified mining structure does not contain a valid model for the current task.

    I'm trying to run the Cross validation report on a mining structure that contains just Microsoft Association Rules mining model. In Target Attribute, I've tried:
    Actual(Service Description).SE value
    Actual([Service Description]).[SE value]
    Actual(Service Description)
    Actual([Service Description])
    just because i don't know what is the exact correct format, but none of them worked, and I always get the following error:
    Error (Data mining): The specified mining structure does not contain a valid model for the current task.
    the following is my mining model structure

    Association rules does not allow for cross-validation
    Mark Tabladillo PhD (MVP, SAS Expert; MCT, MCITP, MCAD .NET) http://www.marktab.net

  • Data mining Algorithms in Essbase

    Hi,
    Just wondering if anyone has used data mining algorithms provided within Essbase. Any thoughts or pointers towards more information will be helpful..
    Thanks in Advance !!

    In a 2009 persentation at Kscope from ODTUG titled little used features of Essbase, I went through how to use data moning. It is available on the odtug website. I do know that nothing has been done with the data mining modules in a long time as the team was disbanded since Oracle has other tools to do data mining.

  • What are the options for me for Data Mining tools?

    I am new for data mining. I have a project for which we are asked to identify the relationships between variables we got and we were asked to come up with an algorithm from data mining. What are the options available for me as data mining tools and where
    do I start from? How do I travel through this process. Please advice.
    mayooran99

    I think that Predixion Insight is the easiest tool to use and is very powerful.
    All you need to have is Windows OS, Office 2010 or 2013 and internet connection. If you want to look at what you need to do before installing Predixion, I recommend you to take a look at the walkthroughs at
    http://predixionsoftware.com/Help/webframe.html#Data%20Modeling%20Walkthroughs.html
    To install Predixion, go to
    http://predixionsoftware.com/Technology/Predixion-Insight-Download
    Tatyana Yakushev [PredixionSoftware.com]

  • Retrieving spatial and non spatial data in one query

    Hello. I am having slight difficulties using JDBC to retrieve both spatial and non spatial data in the same query. The following is code from a sample program of mine that retrives spatial data from spatial tables.
    (In spatialquery geom is a geometry column and city is simply the name of the city):
    try
    Geometry geom = null;
    String database = "jdbc:oracle:thin:@" + m_host + ":" + m_port + ":" + m_sid;
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = (OracleConnection)DriverManager.getConnection(database, sUsername, sPassword);
    GeometryAdapter sdoAdapter =
    OraSpatialManager.getGeometryAdapter("SDO", "8.1.7", STRUCT.class, null, null, con);
    String spatialquery = "SELECT a1.geom, a1.city \n" +
    "FROM cities a1";
    Statement stmt = con.createStatement();
    OracleResultSet rs = (OracleResultSet) stmt.executeQuery(spatialquery);
    int i = 0;
    int noOfFeatures = 2;
    while (rs.next())
    for(i = 1; i <= noOfFeatures; i++)
    STRUCT dbObject = (STRUCT)rs.getObject(i);
    try
    geom = sdoAdapter.importGeometry(dbObject);
    catch(GeometryInputTypeNotSupportedException e)
    System.out.println("Input Type not supported");
    catch(InvalidGeometryException e)
    System.out.println("Invalid geometry");
    System.out.println(geom);
    }//end while loop
    This retrieves the sptial data fine, however when I attempt to retreive the non-spatial data I keep getting a "ClassCastException" error. I understand it is something to do with "STRUCT dbObject = (STRUCT)rs.getObject(i);" line. Can anyone tell me how to retrieve both spatial and non-spatial data in the one query using JDBC. I have tried nearly everything at this stage. Cheers joe

    Theresa A Radke
    Posts: 20
    OTN Member Since: Jul, 2001
    retrieving spatial and non spatial in same query. May 23, 2003 12:02 AM
    retrieving spatial and non spatial in same query.

  • What software do I need to install to get "Data Mining Framework"

    Hi,
    from edelivery.oracle.com I have downloaded:
    1. Hyperion Essbase - System 9 Release 9.3.1.2 Server Windows Installer
    2. Essbase Administration Services Release 9.3.1 Windows Installer
    I installed both software and I started Administration Services Console, log in etc. Essbase server is working fine.
    In Administration Services Console I click on Essbase Servers | localhost | Data Mining | Algorithms and got error:
    "message from server [Data Mining Framework is not available. Please contact Administrator].
    It looks like I need to install some other software to have access to data mining features. Which software do I need to install?
    Regards,
    Grofaty

    Windows 7 and iCloud Control Panel for Windows v1.1. Also, Apple (Canada) - iCloud - Learn how to set up iCloud on all your

  • Best Practice for Storing Spatial Data in Multiple Projections?

    From what I've been able to determine MS SQL can't do reprojections is that correct? Assuming it is, the state of Washington requires that our GIS data be managed in Washington Stat Plane South
    but for our web mapping sites need the data in Web Mercator.  Is it OK then to have two geometry columns in a spatial enabled table, say a county table, one in WSPS and the other in WM? 
    I’m coming at this from a 30 year background in GIS using ESRI software. 
    Usually we would store the shape / geometry in one projection and project it to other on the fly when needed. 
    That way there is only one definitive source.  I don’t see a way to do this in MS SQL.

    Hi Scott.
    Storing two columns of spatial data is fine in SQL Server. And you are correct that there is no built-in reprojection in SQL Server, most folks do that as part of data loading. There was talk of porting parts of ogr2ogr to SQLCLR, but I don't think anyone
    did that.
    Cheers, Bob

  • Oracle Data Mining - How to use PREDICTION function with a regression model

    I've been searching this site for Data Mining Q&A specifically related to prediction function and I wasn't able to find something useful on this topic. So I hope that posting it as a new thread will get useful answers for a beginner in oracle data mining.
    So here is my issue with prediction function:
    Given a table with 17 weeks of sales for a given product, I would like to do a forecast to predict the sales for the week 18th.
    For that let's start preparing the necessary objects and data:
    CREATE TABLE T_SALES
    PURCHASE_WEEK DATE,
    WEEK NUMBER,
    SALES NUMBER
    SET DEFINE OFF;
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('11/27/2010 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 1, 55488);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('12/04/2010 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 2, 78336);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('12/11/2010 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 3, 77248);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('12/18/2010 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 4, 106624);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('12/25/2010 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 5, 104448);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('01/01/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 6, 90304);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('01/08/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 7, 44608);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('01/15/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 8, 95744);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('01/22/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 9, 129472);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('01/29/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 10, 110976);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('02/05/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 11, 139264);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('02/12/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 12, 87040);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('02/19/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 13, 47872);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('02/26/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 14, 120768);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('03/05/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 15, 98463.65);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('03/12/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 16, 67455.84);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('3/19/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 17, 100095.66);
    COMMIT;
    There are a lot of linear regression models and approaches for sales forecast out on the market, however I will focus on what oracle 11g offers i.e. package SYS.DBMS_DATA_MINING to create a model using regression as mining function and then, once the model is created, to apply prediction function on the model.
    Therefore I'll have to go through few steps:
    i) normalization of data
    CREATE OR REPLACE VIEW t_sales_norm AS
    SELECT week,
    sales,
    (sales - 91423.95)/27238.3693126778 sales_norm
    FROM t_sales;
    whereas the numerical values are the mean and the standard deviation:
    select avg(sales) from t_sales;
    91423.95
    select stddev(sales) from t_sales;
    27238.3693126778
    ii) auto-correlation. For the sake of simplicity, I will safely assume that there is no auto-correlation (no repetitive pattern in sales among the weeks). Therefore to define the lag data I will consider the whole set:
    CREATE OR REPLACE VIEW t_sales_lag AS
    SELECT a.*
    FROM (SELECT week,
    sales,
    LAG(sales_norm, 1) OVER (ORDER BY week) L1,
    LAG(sales_norm, 2) OVER (ORDER BY week) L2,
    LAG(sales_norm, 3) OVER (ORDER BY week) L3,
    LAG(sales_norm, 4) OVER (ORDER BY week) L4,
    LAG(sales_norm, 5) OVER (ORDER BY week) L5,
    LAG(sales_norm, 6) OVER (ORDER BY week) L6,
    LAG(sales_norm, 7) OVER (ORDER BY week) L7,
    LAG(sales_norm, 8) OVER (ORDER BY week) L8,
    LAG(sales_norm, 9) OVER (ORDER BY week) L9,
    LAG(sales_norm, 10) OVER (ORDER BY week) L10,
    LAG(sales_norm, 11) OVER (ORDER BY week) L11,
    LAG(sales_norm, 12) OVER (ORDER BY week) L12,
    LAG(sales_norm, 13) OVER (ORDER BY week) L13,
    LAG(sales_norm, 14) OVER (ORDER BY week) L14,
    LAG(sales_norm, 15) OVER (ORDER BY week) L15,
    LAG(sales_norm, 16) OVER (ORDER BY week) L16,
    LAG(sales_norm, 17) OVER (ORDER BY week) L17
    FROM t_sales_norm) a;
    iii) choosing the training data. Again, I will choose the whole set of 17 weeks, as for this discussion in not relevant how big should be the set of training data.
    CREATE OR REPLACE VIEW t_sales_train AS
    SELECT week, sales,
    L1, L2, L3, L4, L5, L6, L7, L8, L9, L10,
    L11, L12, L13, L14, L15, L16, L17
    FROM t_sales_lag a
    WHERE week >= 1 AND week <= 17;
    iv) build the model
    -- exec SYS.DBMS_DATA_MINING.DROP_MODEL('t_SVM');
    BEGIN
    sys.DBMS_DATA_MINING.CREATE_MODEL( model_name => 't_SVM',
    mining_function => dbms_data_mining.regression,
    data_table_name => 't_sales_train',
    case_id_column_name => 'week',
    target_column_name => 'sales');
    END;
    v) finally, where I am confused is applying the prediction function against this model and making sense of the results.
    On a search on Google I found 2 ways of applying this function to my case.
    One way is the following:
    SELECT week, sales,
    PREDICTION(t_SVM USING
    LAG(sales,1) OVER (ORDER BY week) as l1,
    LAG(sales,2) OVER (ORDER BY week) as l2,
    LAG(sales,3) OVER (ORDER BY week) as l3,
    LAG(sales,4) OVER (ORDER BY week) as l4,
    LAG(sales,5) OVER (ORDER BY week) as l5,
    LAG(sales,6) OVER (ORDER BY week) as l6,
    LAG(sales,7) OVER (ORDER BY week) as l7,
    LAG(sales,8) OVER (ORDER BY week) as l8,
    LAG(sales,9) OVER (ORDER BY week) as l9,
    LAG(sales,10) OVER (ORDER BY week) as l10,
    LAG(sales,11) OVER (ORDER BY week) as l11,
    LAG(sales,12) OVER (ORDER BY week) as l12,
    LAG(sales,13) OVER (ORDER BY week) as l13,
    LAG(sales,14) OVER (ORDER BY week) as l14,
    LAG(sales,15) OVER (ORDER BY week) as l15,
    LAG(sales,16) OVER (ORDER BY week) as l16,
    LAG(sales,17) OVER (ORDER BY week) as l17
    ) pred
    FROM t_sales a;
    WEEK, SALES, PREDICTION
    1, 55488, 68861.084076412
    2, 78336, 104816.995823913
    3, 77248, 104816.995823913
    4, 106624, 104816.995823913
    As you can see for the first row there is a value of 68861.084 and for the rest of 16 values is always one and the same 104816.995.
    Question: where is my week 18 prediction ? or maybe I should say which one is it ?
    Another way of using prediction even more confusing is against the lag table:
    SELECT week, sales,
    PREDICTION(t_svm USING a.*) pred
    FROM t_sales_lag a;
    WEEK, SALES, PREDICTION
    1, 55488, 68861.084076412
    2, 78336, 75512.3642096908
    3, 77248, 85711.5003385927
    4, 106624, 98160.5009687461
    Each row out of 17, its own 'prediction' result.
    Same question: which one is my week 18th prediction ?
    Thank you very much for all help that you can provide on this matter.
    It is as always highly appreciated.
    Serge F.

    Kindly let me know how to give input to predict the values for example script to create model is as follows
    drop table data_4svm
    drop table svm_settings
    begin
    dbms_data_mining.drop_model('MODEL_SVMR1');
    CREATE TABLE data_4svm (
    id NUMBER,
    a NUMBER,
    b NUMBER
    INSERT INTO data_4svm VALUES (1,0,0);
    INSERT INTO data_4svm VALUES (2,1,1);
    INSERT INTO data_4svm VALUES (3,2,4);
    INSERT INTO data_4svm VALUES (4,3,9);
    commit;
    --setting table
    CREATE TABLE svm_settings
    setting_name VARCHAR2(30),
    setting_value VARCHAR2(30)
    --settings
    BEGIN
    INSERT INTO svm_settings (setting_name, setting_value) VALUES
    (dbms_data_mining.algo_name, dbms_data_mining.algo_support_vector_machines);
    INSERT INTO svm_settings (setting_name, setting_value) VALUES
    (dbms_data_mining.svms_kernel_function, dbms_data_mining.svms_linear);
    INSERT INTO svm_settings (setting_name, setting_value) VALUES
    (dbms_data_mining.svms_active_learning, dbms_data_mining.svms_al_enable);
    COMMIT;
    END;
    --create model
    BEGIN
    DBMS_DATA_MINING.CREATE_MODEL(
    model_name => 'Model_SVMR1',
    mining_function => dbms_data_mining.regression,
    data_table_name => 'data_4svm',
    case_id_column_name => 'ID',
    target_column_name => 'B',
    settings_table_name => 'svm_settings');
    END;
    --to show the out put
    select class, attribute_name, attribute_value, coefficient
    from table(dbms_data_mining.get_model_details_svm('MODEL_SVMR1')) a, table(a.attribute_set) b
    order by abs(coefficient) desc
    -- to get predicted values (Q1)
    SELECT PREDICTION(MODEL_SVMR1 USING *
    ) pred
    FROM data_4svm a;
    Here i am not sure how to predict B values . Please suggest the proper usage . Moreover In GUI (.NET windows form ) how user can give input and system can respond using the Q1

  • Beginner installing SQL Server 2014 for Excel Data Mining

    Hello, I'm a complete beginner with servers but Im desperately trying to gain access to the SQL server for use with the data mining addin for excel.
    Could someone please help. When I try to make a connection in Excel by choosing DATA MINING> <No Connection> New> it then asks me for a Server Name in the connect to Analysis Services box. How can I find out what my Sever name is please? I have
    tried all sorts of names that I have found such as SQLEXPRESS or localhost but nothing works. It also tells me to 'Ensure that the Server is running'. Another error message I receive: No connection can be
    made because 'the target machine actively refused it'.
    I would be really grateful for some troubleshooting tips.
    Thank you

    Hi Alberto,
    Thanks very much for getting back to me.
    Here are the results of the Analysis Services report:
    Microsoft SQL Server 2014 Setup Discovery Report
    Product
    Instance
    Instance ID
    Feature
    Language
    Edition
    Version
    Clustered
    Configured
    Microsoft SQL Server 2014
    SQLEXPRESS
    MSSQL12.SQLEXPRESS
    Database Engine Services
    1033
    Express Edition
    12.0.2000.8
    No
    Yes
    Microsoft SQL Server 2014
    SQLEXPRESS
    MSSQL12.SQLEXPRESS
    SQL Server Replication
    1033
    Express Edition
    12.0.2000.8
    No
    Yes
    I then ran the System Configuration Checker and these are the results:
    Passed: 9. Failed: 1.
    Edition WOW 64 Platform    Failed
    (I can't paste the images as my account has not been verified)
    Should I assume that I have installed the wrong version? I am running 64 Bit Windows 8.
    I just need the most basic version for personal data analysis in Excel with the Data Mining Add-in. 
    Thanks again

Maybe you are looking for

  • Technical and Business System

    Hi, I need to create a business system called ERT which is a sap R/3 system. As we are using XI 3.0, please do provide the steps. Moreover, once we create the technical and business system, how do we actually test it without running an scenario. Rega

  • Mac OS X Leopard-related Crashes

    Tonight (11/07/07) I have unexpectedly experienced numerous application crashes. The applications that crashed include Adobe Acrobat Pro version 8, Adobe Photoshop CS3, and Montage professional screenwriting software for Mac OS X. The latter crashed

  • Issue in Visual Notification During Long Running Transactions

    Hi, I am using Jdev 11.1.1.5.0 for developement. In my application i am having af:table. in that table i am having a column as af:selectBooleanCheckbox. My Need is avoid clicking a selectBooleanCheckbox twice or changing data input while waiting for

  • "Error: disk needs to be repaired.. "

    When I run disk utility I got the message "Error disk needs to be repaired.." In addition i got the errors: Incorrect number of file hard links Volume bitmap needs minor repair for orphaned blocks Invalid volume free block count When I restart and af

  • Installing more than 5 devices...

    How do you enable more than 4 devices on the MSI-6580? e.g I have 2 cd-rom drives and two hard disks. How do i install a new hard disk?