WO2025010089A1 - Machine learning model generation for time dependent data - Google Patents
Machine learning model generation for time dependent data Download PDFInfo
- Publication number
- WO2025010089A1 WO2025010089A1 PCT/US2024/013090 US2024013090W WO2025010089A1 WO 2025010089 A1 WO2025010089 A1 WO 2025010089A1 US 2024013090 W US2024013090 W US 2024013090W WO 2025010089 A1 WO2025010089 A1 WO 2025010089A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- train
- split
- test
- training
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
Definitions
- One embodiment is directed generally to a machine learning model, and in particular to the generation of a machine learning model.
- the process of generating or building a machine learning (“ML”) model includes multiple steps.
- the steps include gathering a suitable dataset for training the model and preprocessing the data by performing tasks such as cleaning, normalizing, and transforming it to a suitable format for training. Then the dataset is divided or split into two or three parts: the training set, validation set, and the test set.
- the training set is used to train the model
- the validation set helps in tuning hyperparameters and assessing model performance
- the test set is used for final evaluation.
- a ML model architecture/algorithm is then chosen that is adapted for the problem being solved with machine learning.
- the problem can be classification, regression, clustering, or any other type of problem.
- the chosen model can be a decision tree, random forest, support vector machine, neural network, or any other model depending on the nature of the data and problem.
- the training set is then used to train the chosen model and the validation set is used to evaluate the model's performance. Once the model's performance is satisfactory, the model is evaluated using the test set. This provides an unbiased estimate of the model's performance and its ability to generalize to new data. Finally, the model can be deployed, and its performance can be monitored over time and adjustments or re-training made as needed.
- Embodiments generate a machine learning (“ML”) model.
- Embodiments receive training data, the training data including time dependent data and a plurality of dates corresponding to the time dependent data.
- Embodiments date split the training data by two or more of the plurality of dates to generate a plurality of date split training data.
- embodiments split the date split training data into a training dataset and a corresponding testing dataset using one or more different ratios to generate a plurality of train/test splits.
- For each of the trai n/test splits embodiments determine a difference of distribution between the training dataset and the corresponding testing dataset.
- Embodiments select the train/test split with a smallest difference of distribution and train and test the ML model using the selected train/test split.
- FIG. 1 illustrates an example of a system that includes a machine learning (“ML”) model generator system in accordance to embodiments.
- ML machine learning
- FIG. 2 is a block diagram of the ML model generator system of Fig. 1 in the form of a computer server/system in accordance with an embodiment of the present invention.
- FIG. 3 is a block diagram of a prediction system according to one embodiment.
- Fig. 4 is a flow diagram of the ML model generator module of Fig. 2 when determining a time split for training data in accordance to embodiments.
- Fig. 5 illustrates a simple example of the functionality of in accordance to embodiments.
- FIGs. 6-10 illustrate an example data analytics environment in accordance with an embodiment.
- Embodiments generate a machine learning (“ML”) model using a time dependent dataset that is time split for use for training data, testing data and validation data.
- Embodiments create vector markers and determine vector distances to automatically determine how the distribution of the dataset is different between training and testing/validation, and which specific date variable to perform the time split on, in order to optimize the performance of the generated model.
- Embodiments address the problem of inadvertent distributional shifts across train, test and validation datasets simply due to a sub-optimal choice of splitting date variable for time splits.
- Embodiments determine which is the best date (e.g., purchased order approved date, promised delivery date, transaction date, payment due date, payment received date, etc.) to split on for Train/Test datasets by determining the greatest similarity of Distribution between train/test datasets.
- the best date e.g., purchased order approved date, promised delivery date, transaction date, payment due date, payment received date, etc.
- Fig. 1 illustrates an example of a system 100 that includes an ML model generator system 10 in accordance with embodiments.
- ML model generator system 10 may be implemented within a computing environment that includes a communication network/cloud 154.
- Network 154 may be a private network that can communicate with a public network (e.g., the Internet) to access additional services 152 provided by a cloud services provider.
- Examples of communication networks include a mobile network, a wireless network, a cellular network, a local area network (“LAN”), a wide area network (“WAN”), other wireless communication networks, or combinations of these and other networks.
- ML model generator system 10 may be administered by a service provider, such as via the Oracle Cloud Infrastructure (“OCI”) from Oracle Corp.
- OCI Oracle Cloud Infrastructure
- Tenants of the cloud services provider can be organizations or groups whose members include users of services offered by the service provider. Services may include or be provided as access to, without limitation, an application, a resource, a file, a document, data, media, or combinations thereof. Users may have individual accounts with the service provider and organizations may have enterprise accounts with the service provider, where an enterprise account encompasses or aggregates a number of individual user accounts.
- System 100 further includes client devices 158, which can be any type of device that can access network 154 and can obtain the benefits of the functionality of
- ML model generator system 10 of generating ML models may be a device or an application executing on a device.
- System 100 includes a number of different types of client devices 158 that each is able to communicate with network 154.
- Executing on cloud 154 are one or more ML models 125, each of which is generated by ML model generator 10.
- Each ML model 125 can be executed by a customer/client/organization of cloud 154, and used to generate predictions for their corresponding customers, such as whether a particular customer’s invoice will be paid on time or delayed.
- an ML model 125 can be accessible to a client 158 via a representational state transfer application programming interface (“REST API”) and function as an endpoint to the API.
- ML models 125 can be any type of machine learning model that, in general, is trained on some training data and test/validation data and then can process additional incoming “live” data to make predictions.
- Examples of ML models 125 include but are not limited to artificial neural networks (“ANN”), decision trees (including but not limited to ensembles such as random forest and gradient boosted trees), support-vector machines (“SVM”), Bayesian networks, etc.
- Training data can be any set of data capable of training ML model 125 (e.g., a set of features with corresponding labels, such as labeled data for supervised learning).
- training data can be used to train an ML model 125 to generate a trained ML model 125.
- each tenant or client has exclusive access to their corresponding ML models 125, and the models 125 are trained using only data provided by the corresponding client (i.e., other clients’ data is not used to train a client’s model).
- Fig. 2 is a block diagram of ML model generator system 10 of Fig. 1 in the form of a computer server/system 10 in accordance with an embodiment of the present invention. Although shown as a single system, the functionality of system 10 can be implemented as a distributed system. Further, the functionality disclosed herein can be implemented on separate servers or devices that may be coupled together over a network. Further, one or more components of system 10 may not be included. One or more components of Fig. 2 can also be used to implement any of the elements of Fig 1 .
- System 10 includes a bus 12 or other communication mechanism for communicating information, and a processor 22 coupled to bus 12 for processing information.
- Processor 22 may be any type of general or specific purpose processor.
- System 10 further includes a memory 14 for storing information and instructions to be executed by processor 22.
- Memory 14 can be comprised of any combination of random access memory (“RAM”), read only memory (“ROM”), static storage such as a magnetic or optical disk, or any other type of computer readable media.
- System 10 further includes a communication interface 20, such as a network interface card, to provide access to a network. Therefore, a user may interface with system 10 directly, or remotely through a network, or any other method.
- Computer readable media may be any available media that can be accessed by processor 22 and includes both volatile and nonvolatile media, removable and non-removable media, and communication media.
- Communication media may include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and includes any information delivery media.
- Processor 22 is further coupled via bus 12 to a display 24, such as a Liquid Crystal Display (“LCD”).
- LCD Liquid Crystal Display
- a keyboard 26 and a cursor control device 28, such as a computer mouse, are further coupled to bus 12 to enable a user to interface with system 10.
- memory 14 stores software modules that provide functionality when executed by processor 22.
- the modules include an operating system 15 that provides operating system functionality for system 10.
- the modules further include a ML model generator module 16 that generates one or more ML models, and all other functionality disclosed herein.
- System 10 can be part of a larger system. Therefore, system 10 can include one or more additional functional modules 18, such as the generated ML models, or a business intelligence or data warehouse application (e.g., “Fusion Analytics Warehouse” from Oracle Corp.) that utilizes the generated ML models.
- a file storage device or database 17 is coupled to bus 12 to provide centralized storage for modules 16 and 18, including training data used to generate the ML models.
- database 17 is a relational database management system (“RDBMS”) that can use Structured Query Language (“SQL”) to manage the stored data.
- RDBMS relational database management system
- SQL Structured Query Language
- communication interface 20 provides a two-way data communication coupling to a network link 35 that is connected to a local network 34.
- communication interface 20 may be an integrated services digital network (“ISDN”) card, cable modem, satellite modem, or a modem to provide a data communication connection to a corresponding type of telephone line or Ethernet.
- ISDN integrated services digital network
- communication interface 20 may be a local area network (“LAN”) card to provide a data communication connection to a compatible LAN.
- LAN local area network
- Wireless links may also be implemented.
- communication interface 20 sends and receives electrical, electromagnetic or optical signals that carry digital data streams representing various types of information.
- Network link 35 typically provides data communication through one or more networks to other data devices.
- network link 35 may provide a connection through local network 34 to a host computer 32 or to data equipment operated by an Internet Service Provider (“ISP”) 38.
- ISP 38 in turn provides data communication services through the Internet 36.
- Local network 34 and Internet 36 both use electrical, electromagnetic or optical signals that carry digital data streams.
- the signals through the various networks and the signals on network link 35 and through communication interface 20, which carry the digital data to and from computer system 10, are example forms of transmission media.
- System 10 can send messages and receive data, including program code, through the network(s), network link 35 and communication interface 20.
- a server 40 might transmit a requested code for an application program through Internet 36, ISP 38, local network 34 and communication interface 20.
- the received code may be executed by processor 22 as it is received, and/or stored in database 17, or other non-volatile storage for later execution.
- system 10 is a computing/data processing system including an application or collection of distributed applications for enterprise organizations, and may also implement logistics, manufacturing, and inventory management functionality.
- the applications and computing system 10 may be configured to operate locally or be implemented as a cloud-based networking system, for example in an infrastructure-as-a-service (“IAAS”), platform-as-a-service (“PAAS”), software-as-a-service (“SAAS”) architecture, or other type of computing solution.
- IAAS infrastructure-as-a-service
- PAAS platform-as-a-service
- SAAS software-as-a-service
- Fig. 3 is a block diagram of a prediction system according to one embodiment.
- System 300 includes machine learning model 302, training data 304, input data 306, prediction 308, and observed data 310.
- machine learning model 302 can be a designed model that includes one or more machine learning elements (e.g., a neural network, support vector machine, Bayesian network, random forest classifier, gradient boosting classifier, etc.), or a single ML model.
- Training data 304 can be any set of data capable of training machine learning model 302 (e.g., a set of features with corresponding labels, such as labeled data for supervised learning).
- training data 304 is time dependent data.
- Training data 304 is split into a test/validation dataset 305 and a training dataset 307 in accordance with the functionality disclosed below.
- Training dataset 307 is used to train machine learning model 302 and test/validation dataset 305 is used to test and/or validate the trained ML model 302, and adjust or retrain if necessary.
- the splitting of the training data into test/validation dataset 305 and training dataset 307 is implemented by ML model generator system 10.
- the predictions 308 are observed 310, resulting in updating training data 304.
- the updated training data 304 can then be used to re-train ML model 302.
- the design of machine learning model 302 can be tuned during training, retraining, and/or updated training.
- tuning can include adjusting the number of hidden layers in a neural network, adjusting a kernel calculation used to implement a support vector machine, etc.
- This tuning can also include adjusting/selecting features used by the machine learning model.
- Embodiments include implementing various tuning configurations (e.g., different versions of the machine learning model and features) while training in order to arrive at a configuration for machine learning model 302 that, when trained, achieves desired performance (e.g., performs predictions at a desired level of accuracy, run according to desired resource utilization/time metrics, etc.).
- retraining and updating the training of machine learning model 302 can include training the model with updated training data.
- the training data can be updated to incorporate observed data, or data that has otherwise been labeled (e.g., for use with supervised learning).
- machine learning model 302 can include an unsupervised learning component.
- one or more clustering algorithms such as hierarchical clustering, k-means clustering, and the like, or unsupervised neural networks, such as an unsupervised autoencoder, can be implemented.
- training data 304 is composed of multiple data points and is time dependent data.
- system 300 is adapted to predict whether a customer will pay accounts receivable on time in response to one or more past purchase orders or transactions for that customer.
- training data 304 which is historical data from past purchases/transactions, includes time dependent data of those transactions formed of multiple dates, such as purchase order approval date, transaction date, shipment date, promised receipt date, shipment receipt date, invoice payment date, etc. Some of these dates are fixed dates (e.g., purchase order approval date) and some are variable dates (e.g., shipment date).
- training data 304 should be time split (i.e., splitting according to one of the multiple dates) rather than randomly split when training data 304 is time dependent data. For example, for a customer that has made 5000 purchases/transactions over the last 5 years, one time split may be to use the oldest 4000 transactions for training data, and the most recent 1000 transactions for testing data. However, to determine the most recent 1000 transactions, one of the dates of the multiple dates that form the transaction (e.g., transaction date, shipment date, etc.) must be used as the criteria to determine the date of the transaction, or to be used to split the data.
- One problem with time dependent data with multiple dates is determining which of these multiple dates should be used to split the data. Choosing among different time split dates such as purchase order approval date, transaction date, shipment date, promised receipt date, shipment receipt date, invoice payment date, etc., yield very different results for the model metrics, and result in very different distributions of the delay in payments or the delay in shipments. These distributions of delays are different across different customers and geographies, and leads to degradation in model performance. Therefore, embodiments automatically determine the optimal split date to be used in order to create models that work well over time, for all customers across all geographies and address the problem of inadvertent distributional shifts across train, test and validation datasets simply due to a sub-optimal choice of the splitting date for time splits. Embodiments determine the optimal split date that leads to a minimal distribution difference between the training dataset 307 and the testing/validation dataset 305.
- Fig. 4 is a flow diagram of the ML model generator module 16 of Fig. 2 when determining a time split for training data in accordance to embodiments.
- the functionality of the flow diagram of Fig. 4 is implemented by software stored in memory or other computer readable or tangible medium, and executed by a processor.
- the functionality may be performed by hardware (e.g., through the use of an application specific integrated circuit (“ASIC”), a programmable gate array (“PGA”), a field programmable gate array (“FPGA”), etc.), or any combination of hardware and software.
- ASIC application specific integrated circuit
- PGA programmable gate array
- FPGA field programmable gate array
- the functionality of Fig. 4 can be implemented to initially train a ML model, or to re-train a ML model that has poor metrics/performance or otherwise needs improvements.
- the historical time dependent training data 304 is received for a specific customer.
- the time dependent training data corresponds to each transaction in the form of a database table, with each column corresponding to one of the dates in the transaction (e.g., purchase order approval date, transaction date, shipment date, etc.).
- Time dependent data in general, is data that corresponds to specific dates.
- the training data is split by each date column (i.e., each date).
- date columns that are predetermined and that do not change in the course of the transaction progress (e.g., purchase order approval date, promised delivery date, etc.), referred to as “fixed” dates, are found more suitable for splitting and dates which are subject to change due to internal and external factors as the transaction progresses (e.g., item received date, invoice closed date, etc.), referred to as “variable” dates, are less suitable.
- Fig. 5 illustrates a simple example of the functionality of Fig. 4 in accordance to embodiments.
- Fig. 5 shows data split by three of the dates: receipt date 501 , promised delivery date 502, and purchase order approved date 503.
- data will be split on all fixed dates of the time dependent data, but those additional splits are not shown in Fig. 5.
- a “90/10” ratio split means the first 90% of the data points (corresponding to the chosen time split) of training data 304 are the training dataset 307, and the most recent 10% of data points are the test/validation dataset 305.
- the multiple splits to find the optimal split include 90/10, 75/25 and 50/50, but the splits are not limited to these split proportions.
- embodiments may search for optimality for just one split such as 90/10, or 75/25 as shown in Fig. 5. Where compute capacity allows, embodiments may broaden the search to 95/5, 90/10, 85/15, 80/20, 75/25, 70/30, etc. Fig. 5 shows only the 75/25 splits.
- a delay percentile vector is determined in order to determine distribution shifts/differences between the training dataset and testing dataset.
- the percentiles used are the 1 st , 5 th , 10 th , 20 th , 30 th , 40 th , 50 th , 60 th , 70 th , 80 th , 90 th , 95 th and 99 th percentiles.
- the delay is the percentile of delay for the corresponding time split, such as the delivery delay, payment delay, or other target variable of interest.
- the amount of delay in embodiments is determined and stored in a column, including but not limited to stored items such as the delay in payment, calculated as number of days elapsed from the payment due date until the date payment was actually made, or the delay in item shipment, calculated as the number of days from the expected shipment date to the actual ship date.
- RT Receipt Time
- MIN-RT refers to the minimum number of days that any shipment took to be received
- RT_100_PCTILE at 562 refers to the top percentile (100 th percentile, or the largest value) of the RT.
- Embodiments generally have one target variable of interest at a time that is predicted by the model (e.g., a prediction of a delay in payment), although several target variables may be predicted when using multi-objective, multi-target models, which include multiple models within a large model structure.
- the prediction of the target variables is based on the relative influence of the independent variables on changes in target variables.
- Fig. 5 shows at row 510 the delay percentile vector for the training dataset 307, showing the 1 st percentile at 513, the 5 th percentile at 514, the 10 th percentile at 515, etc.
- the delay percentile vector for the testing dataset 305 is shown at row 51 1 .
- Each transaction that is a part of the testing dataset or the training dataset has a target variable result (i.e., the number of days of delay for the target variable (e.g., delay in payment)) which is grouped with the target variable results of all of the transactions of the training data 304.
- a target variable result i.e., the number of days of delay for the target variable (e.g., delay in payment)
- Each target variable result can be placed in a percentile relative to all of the other target variable results, and the count of these below a certain percentile is the number placed in the corresponding location in the delay percentile vector. Therefore, for example, for the date split on PO receipt date, and for the 10 th percentile, 159 of the testing dataset target variable results fall below the 10 th percentile (at 520) and 6 of the training dataset results fall below the 10 th percentile in the training dataset (at 521 ).
- Embodiments are not limited to the above percentiles. Other embodiments can compute all 100 percentiles or could use measures of central tendency and spread, mean, standard deviation, inter-quartiles range, skewness, kurtosis, Kullback-Leibler Divergence etc. for determining the shift in distribution.
- the pairwise difference of vector components and pairwise average i.e., arithmetic or geometric mean
- the pairwise differences are shown at row 530
- the pairwise averages are shown at row 531 .
- the pairwise determinations at 408 are normalized by dividing the pairwise difference by the pairwise average (i.e., ratio of the difference and the mean) and multiplying the ration by 100 to generate a percentage difference of each vector component.
- row 532 illustrates the ratios of the average difference by the average means.
- a difference score for the training dataset 307 vs. the test/validation dataset 305 is determined.
- the difference score is determined using Euclidean distance as the SQRT(Sum of Squares of Differences).
- the difference score is determined using Manhattan distance as the Absolute Value of (the Sum of the Pairwise Difference/Pairwise Mean for All Percentiles). In Fig. 5, an example Manhattan distance is shown at 541 and an example Euclidean distance is shown at 542.
- the train/test split and the date split among all of the train/test splits and date splits, with the lowest vector length (i.e., the smallest Manhattan distance or the smallest Euclidean distance, whichever is used) is chosen as the optimal train/test split and the date split.
- the PO approved date with the 75/25 split would be chosen.
- smaller difference scores indicate smaller shifts in distribution and larger differences indicate larger shifts.
- the model is trained, or re-trained, using the chosen split and date column to generate the optimal trained model.
- the data distribution shifts may be considered so large that stable models cannot be built.
- the threshold is 150 for the Euclidean distance.
- training dataset 307 can be brought closer to test/validation dataset 305, by making a larger split to be part of the training dataset (e.g., 90/10), or, for example, 95/5 or 85/15, depending on the empirical closeness of the distributions, and the functionality of Fig. 4 can be performed again. This can lead to improved scores.
- embodiments of the invention are implemented as part of a cloud based data analytics environment.
- data analytics enables the computer-based examination or analysis of large amounts of data, in order to derive conclusions or other information from that data; while business intelligence tools provide an organization's business users with information describing their enterprise data in a format that enables those business users to make strategic business decisions.
- Examples of data analytics environments and business intelligence tools/servers include Oracle Business Intelligence Server (“OBIS”), Oracle Analytics Cloud (“OAC”), and Fusion Analytics Warehouse (“FAW”), which support features such as data mining or analytics, and analytic applications.
- OBIS Oracle Business Intelligence Server
- OAC Oracle Analytics Cloud
- FAW Fusion Analytics Warehouse
- Fig. 6 illustrates an example data analytics environment, in accordance with an embodiment.
- the example embodiment illustrated in Fig. 6 is provided for purposes of illustrating an example of a data analytics environment in association with which various embodiments described herein can be used.
- the approach described herein can be used with other types of data analytics, database, or data warehouse environments.
- the components and processes illustrated in Fig. 6, and as further described herein with regard to various other embodiments, can be provided as software or program code executable by, for example, a cloud computing system, or other suitably-programmed computer system.
- a data analytics environment 100 can be provided by, or otherwise operate at, a computer system having a computer hardware (e.g., processor, memory) 101 , and including one or more software components operating as a control plane 102, and a data plane 104, and providing access to a data warehouse, data warehouse instance 160, database 161 , or other type of data source.
- the control plane operates to provide control for cloud or other software products offered within the context of a SaaS or cloud environment, such as, for example, an Oracle Analytics Cloud environment, or other type of cloud environment.
- the control plane can include a console interface 110 that enables access by a customer (tenant) and/or a cloud environment having a provisioning component 11 1.
- the console interface can enable access by a customer (tenant) operating a graphical user interface (“GUI”) and/or a command-line interface (“CLI”) or other interface; and/or can include interfaces for use by providers of the SaaS or cloud environment and its customers (tenants).
- GUI graphical user interface
- CLI command-line interface
- the console interface can provide interfaces that allow customers to provision services for use within their SaaS environment, and to configure those services that have been provisioned.
- a customer can request the provisioning of a customer schema within the data warehouse.
- the customer can also supply, via the console interface, a number of attributes associated with the data warehouse instance, including required attributes (e.g., login credentials), and optional attributes (e.g., size, or speed).
- the provisioning component can then provision the requested data warehouse instance, including a customer schema of the data warehouse; and populate the data warehouse instance with the appropriate information supplied by the customer.
- the provisioning component can also be used to update or edit a data warehouse instance, and/or an extract, transform, and load (“ETL”) process that operates at the data plane, for example, by altering or updating a requested frequency of ETL process runs, for a particular customer (tenant).
- ETL extract, transform, and load
- the data plane can include a data pipeline or process layer 120 and a data transformation layer 134, that together process operational or transactional data from an organization's enterprise software application or data environment, such as, for example, business productivity software applications provisioned in a customer's (tenant's) SaaS environment.
- the data pipeline or process can include various functionality that extracts transactional data from business applications and databases that are provisioned in the SaaS environment, and then load a transformed data into the data warehouse.
- the data transformation layer can include a data model, such as, for example, a knowledge model (“KM”), or other type of data model, that the system uses to transform the transactional data received from business applications and corresponding transactional databases provisioned in the SaaS environment, into a model format understood by the data analytics environment.
- the model format can be provided in any data format suited for storage in a data warehouse.
- the data plane can also include a data and configuration user interface, and mapping and configuration database.
- the data plane is responsible for performing ETL operations, including extracting transactional data from an organization's enterprise software application or data environment, such as, for example, business productivity software applications and corresponding transactional databases offered in a SaaS environment, transforming the extracted data into a model format, and loading the transformed data into a customer schema of the data warehouse.
- each customer (tenant) of the environment can be associated with their own customer tenancy within the data warehouse, that is associated with their own customer schema; and can be additionally provided with read-only access to the data analytics schema, which can be updated by a data pipeline or process, for example, an ETL process, on a periodic or other basis.
- a data pipeline or process can be scheduled to execute at intervals (e.g., hourly/daily/weekly) to extract transactional data from an enterprise software application or data environment, such as, for example, business productivity software applications and corresponding transactional databases 106 that are provisioned in the SaaS environment.
- intervals e.g., hourly/daily/weekly
- an extract process 108 can extract the transactional data, whereupon extraction of the data pipeline or process can insert extracted data into a data staging area, which can act as a temporary staging area for the extracted data.
- the data quality component and data protection component can be used to ensure the integrity of the extracted data.
- the data quality component can perform validations on the extracted data while the data is temporarily held in the data staging area.
- the data transformation layer can be used to begin the transform process, to transform the extracted data into a model format to be loaded into the customer schema of the data warehouse.
- the data pipeline or process can operate in combination with the data transformation layer to transform data into the model format.
- the mapping and configuration database can store metadata and data mappings that define the data model used by data transformation.
- the data and configuration user interface (“III”) can facilitate access and changes to the mapping and configuration database.
- the data transformation layer can transform extracted data into a format suitable for loading into a customer schema of data warehouse, for example according to the data model.
- the data transformation can perform dimension generation, fact generation, and aggregate generation, as appropriate.
- Dimension generation can include generating dimensions or fields for loading into the data warehouse instance.
- the data pipeline or process can execute a warehouse load procedure 150 to load the transformed data into the customer schema of the data warehouse instance. Subsequent to the loading of the transformed data into customer schema, the transformed data can be analyzed and used in a variety of additional business intelligence processes.
- a semantic layer 180 can include data defining a semantic model of a customer's data; which is useful in assisting users in understanding and accessing that data using commonly-understood business terms; and provide custom content to a presentation layer 190.
- a semantic model can be defined, for example, in an Oracle environment, as a Bl Repository (“RPD”) file, having metadata that defines logical schemas, physical schemas, physical-to-logical mappings, aggregate table navigation, and/or other constructs that implement the various physical layer, business model and mapping layer, and presentation layer aspects of the semantic model.
- RPD Bl Repository
- a customer may perform modifications to their data source model, to support their particular requirements, for example by adding custom facts or dimensions associated with the data stored in their data warehouse instance; and the system can extend the semantic model accordingly.
- the presentation layer can enable access to the data content using, for example, a software analytic application, user interface, dashboard, key performance indicators (“KPI”'s); or other type of report or interface as may be provided by products such as, for example, Oracle Analytics Cloud, or Oracle Analytics for Applications.
- a query engine 18 e.g., OBIS
- the query engine e.g., OBIS
- the query engine also supports internal execution of SQL operators that cannot be pushed down to the databases.
- a user/developer can interact with a client computer device 10 that includes a computer hardware 11 (e.g., processor, storage, memory), user interface 19, and application 14.
- a query engine or business intelligence server such as OBIS generally operates to process inbound, e.g., SQL, requests against a database model, build and execute one or more physical database queries, process the data appropriately, and then return the data in response to the request.
- the query engine or business intelligence server can include various components or features, such as a logical or business model or metadata that describes the data available as subject areas for queries; a request generator that takes incoming queries and turns them into physical queries for use with a connected data source; and a navigator that takes the incoming query, navigates the logical model and generates those physical queries that best return the data required for a particular query.
- a logical or business model or metadata that describes the data available as subject areas for queries
- a request generator that takes incoming queries and turns them into physical queries for use with a connected data source
- a navigator that takes the incoming query, navigates the logical model and generates those physical queries that best return the data required for a particular query.
- a query engine or business intelligence server may employ a logical model mapped to data in a data warehouse, by creating a simplified star schema business model over various data sources so that the user can query data as if it originated at a single source. The information can then be returned to the presentation layer as subject areas, according to business model layer mapping rules.
- the query engine e.g., OBIS
- a query execution plan 56 can include various child (leaf) nodes, generally referred to herein in various embodiments as RqLists, and produces one or more diagnostic log entries.
- each execution plan component represents a block of query in the query execution plan, and generally translates to a SELECT statement.
- An RqList may have nested child RqLists, similar to how a SELECT statement can select from nested SELECT statements.
- the query engine or business intelligence server can create a query execution plan which can then be further optimized, for example to perform aggregations of data necessary to respond to a request. Data can be combined together and further calculations applied, before the results are returned to the calling application, for example via the ODBC interface.
- a complex, multi-pass request that requires multiple data sources may require the query engine or business intelligence server to break the query down, determine which sources, multi-pass calculations, and aggregates can be used, and generate the logical query execution plan spanning multiple databases and physical SQL statements, wherein the results can then be passed back, and further joined or aggregated by the query engine or business intelligence server.
- Fig. 7 further illustrates an example data analytics environment, in accordance with an embodiment.
- the provisioning component can also comprise a provisioning application programming interface (“API”) 112, a number of workers 115, a metering manager 1 16, and a data plane AP1 1 18, as further described below.
- the console interface can communicate, for example, by making API calls, with the provisioning API when commands, instructions, or other inputs are received at the console interface to provision services within the SaaS environment, or to make configuration changes to provisioned services.
- the data plane API can communicate with the data plane. For example, in accordance with an embodiment, provisioning and configuration changes directed to services provided by the data plane can be communicated to the data plane via the data plane API.
- the metering manager can include various functionality that meters services and usage of services provisioned through control plane.
- the metering manager can record a usage over time of processors provisioned via the control plane, for particular customers (tenants), for billing purposes.
- the metering manager can record an amount of storage space of data warehouse partitioned for use by a customer of the SaaS environment, for billing purposes.
- the data pipeline or process, provided by the data plane can including a monitoring component 122, a data staging component 124, a data quality component 126, and a data projection component 128, as further described below.
- the data transformation layer can include a dimension generation component 136, fact generation component 138, and aggregate generation component 140, as further described below.
- the data plane can also include a data and configuration user interface 130, and mapping and configuration database 132.
- the data warehouse can include a default data analytics schema (referred to herein in accordance with some embodiments as an analytic warehouse schema) 162 and, for each customer (tenant) of the system, a customer schema 164.
- a default data analytics schema referred to herein in accordance with some embodiments as an analytic warehouse schema
- customer schema 164 for each customer (tenant) of the system.
- the system can enable the use of multiple data warehouses or data warehouse instances.
- a first warehouse customer tenancy for a first tenant can comprise a first database instance, a first staging area, and a first data warehouse instance of a plurality of data warehouses or data warehouse instances; while a second customer tenancy for a second tenant can comprise a second database instance, a second staging area, and a second data warehouse instance of the plurality of data warehouses or data warehouse instances.
- the monitoring component can determine dependencies of several different data sets to be transformed. Based on the determined dependencies, the monitoring component can determine which of several different data sets should be transformed to the model format first.
- a first model dataset incudes no dependencies on any other model data set; and a second model data set includes dependencies to the first model data set; then the monitoring component can determine to transform the first data set before the second data set, to accommodate the second data set's dependencies on the first data set.
- dimensions can include categories of data such as, for example, “name,” “address,” or “age”.
- Fact generation includes the generation of values that data can take, or “measures.” Facts can be associated with appropriate dimensions in the data warehouse instance.
- Aggregate generation includes creation of data mappings which compute aggregations of the transformed data to existing data in the customer schema of data warehouse instance.
- the data pipeline or process can read the source data, apply the transformation, and then push the data to the data warehouse instance.
- data transformations can be expressed in rules, and once the transformations take place, values can be held intermediately at the staging area, where the data quality component and data projection components can verify and check the integrity of the transformed data, prior to the data being uploaded to the customer schema at the data warehouse instance.
- Monitoring can be provided as the extract, transform, load process runs, for example, at a number of compute instances or virtual machines.
- Dependencies can also be maintained during the extract, transform, load process, and the data pipeline or process can attend to such ordering decisions.
- the data pipeline or process can execute a warehouse load procedure, to load the transformed data into the customer schema of the data warehouse instance. Subsequent to the loading of the transformed data into customer schema, the transformed data can be analyzed and used in a variety of additional business intelligence processes.
- Fig. 8 further illustrates an example data analytics environment, in accordance with an embodiment.
- data can be sourced, e.g., from a customer's (tenant's) enterprise software application or data environment (106), using the data pipeline process; or as custom data 109 sourced from one or more customer-specific applications 107; and loaded to a data warehouse instance, including in some examples the use of an object storage 105 for storage of the data.
- a user can create a data set that uses tables from different connections and schemas.
- the system uses the relationships defined between these tables to create relationships or joins in the data set.
- the system uses the data analytics schema that is maintained and updated by the system, within a system/cloud tenancy 114, to pre-populate a data warehouse instance for the customer, based on an analysis of the data within that customer's enterprise applications environment, and within a customer tenancy 1 17.
- the data analytics schema maintained by the system enables data to be retrieved, by the data pipeline or process, from the customer's environment, and loaded to the customer's data warehouse instance.
- the system also provides, for each customer of the environment, a customer schema that is readily modifiable by the customer, and which allows the customer to supplement and utilize the data within their own data warehouse instance.
- customer schema that is readily modifiable by the customer, and which allows the customer to supplement and utilize the data within their own data warehouse instance.
- resultant data warehouse instance operates as a database whose contents are partly-controlled by the customer; and partly-controlled by the environment (system).
- a data warehouse (e.g., ADW) can include a data analytics schema and, for each customer/tenant, a customer schema sourced from their enterprise software application or data environment.
- the data provisioned in a data warehouse tenancy (e.g., an ADW cloud tenancy) is accessible only to that tenant; while at the same time allowing access to various, e.g., ETL-related or other features of the shared environment.
- the system enables the use of multiple data warehouse instances; wherein for example, a first customer tenancy can comprise a first database instance, a first staging area, and a first data warehouse instance; and a second customer tenancy can comprise a second database instance, a second staging area, and a second data warehouse instance.
- the data pipeline or process upon extraction of their data, can insert the extracted data into a data staging area for the tenant, which can act as a temporary staging area for the extracted data.
- a data quality component and data protection component can be used to ensure the integrity of the extracted data; for example by performing validations on the extracted data while the data is temporarily held in the data staging area.
- the data transformation layer can be used to begin the transformation process, to transform the extracted data into a model format to be loaded into the customer schema of the data warehouse.
- Fig. 9 further illustrates an example data analytics environment, in accordance with an embodiment.
- the process of extracting data e.g., from a customer’s (tenant's) enterprise software application or data environment, using the data pipeline process as described above; or as custom data sourced from one or more customer-specific applications; and loading the data to a data warehouse instance, or refreshing the data in a data warehouse, generally involves three broad stages, performed by an ETP service 160 or process, including one or more extraction service 163; transformation service 165; and load/publish service 167, executed by one or more compute instance(s) 170.
- a list of view objects for extractions can be submitted, for example, to an Oracle Bl Cloud Connector (“BICC”) component via a ReST call.
- the extracted files can be uploaded to an object storage component, such as, for example, an Oracle Storage Service (“OSS”) component, for storage of the data.
- the transformation process takes the data files from object storage component (e.g., OSS), and applies a business logic while loading them to a target data warehouse, e.g., an ADW database, which is internal to the data pipeline or process, and is not exposed to the customer (tenant).
- a load/publish service or process takes the data from the, e.g., ADW database or warehouse, and publishes it to a data warehouse instance that is accessible to the customer (tenant).
- Fig. 10 further illustrates an example data analytics environment, in accordance with an embodiment.
- data can be sourced, e.g., from each of a plurality of customer's (tenant's) enterprise software application or data environment, using the data pipeline process as described above; and loaded to a data warehouse instance.
- the data pipeline or process maintains, for each of a plurality of customers (tenants), for example customer A 180, customer B 182, a data analytics schema that is updated on a periodic basis, by the system in accordance with best practices for a particular analytics use case.
- the system uses the data analytics schema 162A, 162B, that is maintained and updated by the system, to pre-populate a data warehouse instance for the customer, based on an analysis of the data within that customer’s enterprise applications environment 106A, 106B, and within each customer's tenancy (e.g., customer A tenancy 181 , customer B tenancy 183); so that data is retrieved, by the data pipeline or process, from the customer's environment, and loaded to the customer's data warehouse instance 160A, 160B.
- a data warehouse instance for each of a plurality of customers (e.g., customers A, B)
- the system uses the data analytics schema 162A, 162B, that is maintained and updated by the system, to pre-populate a data warehouse instance for the customer, based on an analysis of the data within that customer’s enterprise applications environment 106A, 106B, and within each customer's tenancy (e.g., customer A tenancy 181 , customer B tenancy 183);
- the data analytics environment also provides, for each of a plurality of customers of the environment, a customer schema (e.g., customer A schema 164A, customer B schema 164B) that is readily modifiable by the customer, and which allows the customer to supplement and utilize the data within their own data warehouse instance.
- a customer schema e.g., customer A schema 164A, customer B schema 164B
- the resultant data warehouse instance operates as a database whose contents are partly-controlled by the customer; and partly-controlled by the data analytics environment (system); including that their database appears pre-populated with appropriate data that has been retrieved from their enterprise applications environment to address various analytics use cases.
- the data transformation layer can be used to begin the transformation process, to transform the extracted data into a model format to be loaded into the customer schema of the data warehouse.
- activation plans 186 can be used to control the operation of the data pipeline or process services for a customer, for a particular functional area, to address that customer's (tenant's) particular needs.
- an activation plan can define a number of extract, transform, and load (publish) services or steps to be run in a certain order, at a certain time of day, and within a certain window of time.
- each customer can be associated with their own activation plan(s).
- an activation plan for a first Customer A can determine the tables to be retrieved from that customer's enterprise software application environment (e.g., their Fusion Applications environment), or determine how the services and their processes are to run in a sequence; while an activation plan for a second Customer B can likewise determine the tables to be retrieved from that customer's enterprise software application environment, or determine how the services and their processes are to run in a sequence.
- embodiments optimize the training and testing of ML models using time dependent data by creating vector markers for the distribution of each dataset, such as percentiles or different levels of statistical moments.
- Embodiments use the distance between the vector markers to find a normalized vector difference, along with normalizing factors along each vector dimension.
- Embodiments find the size of the vector distance using different distance measures, such as Manhattan Distance or Euclidean Distance.
- Embodiments compare vector distances to find the variables which results in the smallest distance between target variable distributions in train, test and validation, and as a result, train the model using the chosen date split and train/test split.
- Embodiments automate the process of variable selection for train/test/validation split for a time series.
- Embodiments create a normalized distribution shift score that works across all distributions in the field within and across one customer's data, and works across all variable types regardless of the scale or unit of the variable.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Artificial Intelligence (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
Claims
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202480040717.0A CN121399626A (en) | 2023-07-05 | 2024-01-26 | Machine learning model generation for time-dependent data |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US202363524949P | 2023-07-05 | 2023-07-05 | |
| US63/524,949 | 2023-07-05 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025010089A1 true WO2025010089A1 (en) | 2025-01-09 |
Family
ID=90361733
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US2024/013090 Ceased WO2025010089A1 (en) | 2023-07-05 | 2024-01-26 | Machine learning model generation for time dependent data |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20250013911A1 (en) |
| CN (1) | CN121399626A (en) |
| WO (1) | WO2025010089A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12450561B2 (en) * | 2023-01-23 | 2025-10-21 | Maplebear Inc. | Machine learning model for dynamically boosting order delivery time |
Family Cites Families (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10726356B1 (en) * | 2016-08-01 | 2020-07-28 | Amazon Technologies, Inc. | Target variable distribution-based acceptance of machine learning test data sets |
| US10824940B1 (en) * | 2016-11-30 | 2020-11-03 | Amazon Technologies, Inc. | Temporal ensemble of machine learning models trained during different time intervals |
| US10990901B2 (en) * | 2017-11-13 | 2021-04-27 | Accenture Global Solutions Limited | Training, validating, and monitoring artificial intelligence and machine learning models |
| US11107166B2 (en) * | 2018-09-25 | 2021-08-31 | Business Objects Software Ltd. | Multi-step day sales outstanding forecasting |
| US11954567B2 (en) * | 2019-08-23 | 2024-04-09 | Landmark Graphics Corporation | Probability distribution assessment for classifying subterranean formations using machine learning |
| US20210117993A1 (en) * | 2019-10-18 | 2021-04-22 | Capital One Services, Llc | Variable matching criteria defining training labels for supervised recurrence detection |
| US11854022B2 (en) * | 2019-10-22 | 2023-12-26 | Sap Se | Proactively predicting transaction dates based on sparse transaction data |
| US11227192B1 (en) * | 2021-06-04 | 2022-01-18 | Booz Allen Hamilton Inc. | System and method for data drift detection |
| US11922310B1 (en) * | 2023-03-31 | 2024-03-05 | Intuit, Inc. | Forecasting activity in software applications using machine learning models and multidimensional time-series data |
| US20250014060A1 (en) * | 2023-07-06 | 2025-01-09 | Oracle International Corporation | Machine Learning Model Generation for Accounts Receivable Predictions |
-
2023
- 2023-08-15 US US18/233,975 patent/US20250013911A1/en active Pending
-
2024
- 2024-01-26 WO PCT/US2024/013090 patent/WO2025010089A1/en not_active Ceased
- 2024-01-26 CN CN202480040717.0A patent/CN121399626A/en active Pending
Non-Patent Citations (4)
| Title |
|---|
| ANONYMOUS: "Splitting Time Series Data into Train/Test/Validation Sets - Cross Validated", 6 January 2023 (2023-01-06), XP093162795, Retrieved from the Internet <URL:https://stats.stackexchange.com/questions/346907/splitting-time-series-data-into-train-test-validation-sets> [retrieved on 20240415] * |
| M.A. CASTÁN-LASCORZ: "A new hybrid method for predicting univariate and multivariate time series based on pattern forecasting", INFORMATION SCIENCES, vol. 586, 8 December 2021 (2021-12-08), AMSTERDAM, NL, pages 611 - 627, XP093162800, ISSN: 0020-0255, DOI: 10.1016/j.ins.2021.12.001 * |
| SKSUJANISLAM: "MULTIVARIATE TIME SERIES FORECASTING USING LSTM | by Sksujanislam | Medium", 6 January 2022 (2022-01-06), XP093162799, Retrieved from the Internet <URL:https://medium.com/@786sksujanislam786/multivariate-time-series-forecasting-using-lstm-4f8a9d32a509> [retrieved on 20240415] * |
| YIN JIAMING ET AL: "Experimental Study of Multivariate Time Series Forecasting Models", PROCEEDINGS OF THE SIGCHI CONFERENCE ON HUMAN FACTORS IN COMPUTING SYSTEMS, ACMPUB27, NEW YORK, NY, USA, 3 November 2019 (2019-11-03), pages 2833 - 2839, XP059006333, ISBN: 978-1-4503-9170-2, DOI: 10.1145/3357384.3357826 * |
Also Published As
| Publication number | Publication date |
|---|---|
| US20250013911A1 (en) | 2025-01-09 |
| CN121399626A (en) | 2026-01-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12056120B2 (en) | Deriving metrics from queries | |
| US11710076B2 (en) | Method, apparatus, and computer program product for machine learning model lifecycle management | |
| US20240257019A1 (en) | System and method for determination of recommendations and alerts in an analytics environment | |
| US10394532B2 (en) | System and method for rapid development and deployment of reusable analytic code for use in computerized data modeling and analysis | |
| US12248490B2 (en) | System and method for ranking of database tables for use with extract, transform, load processes | |
| US10275502B2 (en) | System and method for interactive reporting in computerized data modeling and analysis | |
| US20170160880A1 (en) | System and Method for Integrating Microservices | |
| US20250053387A1 (en) | Centralized processes for feature generation and management within web-based computing environments | |
| US12153592B2 (en) | Machine learning systems architectures for ranking | |
| US11762819B2 (en) | Clustering model analysis for big data environments | |
| US12001480B2 (en) | System and method of creating different relationships between various entities using a graph database | |
| US20230087339A1 (en) | System and method for generating automatic insights of analytics data | |
| US12620025B2 (en) | Machine learning model selection for accounts receivable predictions | |
| US20250117838A1 (en) | Machine Learning Based Spend Classification Using Hallucinations | |
| US11507820B1 (en) | Automated generation of delivery dates using machine learning | |
| US20230281212A1 (en) | Generating smart automated data movement workflows | |
| US20250013911A1 (en) | Machine Learning Model Generation for Time Dependent Data | |
| US20250077742A1 (en) | Automatic entity evaluation and selection | |
| US20250265299A1 (en) | Systems and methods for performing ai-driven relevancy search | |
| US20250104011A1 (en) | Supply chain command center for intelligent procurement assistance | |
| US12493904B2 (en) | Systems and methods for automated configuration to order and quote to order | |
| US20250335845A1 (en) | Demand Transference Machine Learning Model | |
| US20260065325A1 (en) | Auto-segmentation for customer data platforms | |
| US20260065181A1 (en) | System and method for use with a data analytics environment to determine a probability of failure or downtime in work orders | |
| WO2026055248A1 (en) | System and method for use with a data analytics environment to determine a probability of failure or downtime in work orders |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24709915 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 202547121630 Country of ref document: IN |
|
| ENP | Entry into the national phase |
Ref document number: 2025573795 Country of ref document: JP Kind code of ref document: A |
|
| WWP | Wipo information: published in national office |
Ref document number: 202547121630 Country of ref document: IN |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |