A self-adaptive multi-model approach in representational feature space for tendencies towards actions
The unified framework addresses data handling and adaptability issues in machine learning models by using self-adaptive feature engineering and multi-model approaches, enhancing predictive accuracy and adaptability.
Patent Information
- Application Number
- JP2023519786
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-10-13
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-10-13
AI Technical Summary
Existing machine learning models face challenges in handling mixed structured and unstructured data, data sparsity, data quality issues, and conceptual drift, leading to inaccurate predictions of future actions by entities.
A unified framework that uses self-adaptive feature engineering and multi-machine learning models to process both structured and unstructured data, addresses data sparsity through PCA, ensures data quality, and adapts to conceptual drift by automatically generating and retraining models based on new data patterns.
Enhances the precision of predicting future actions by continuously learning from new data, improving model accuracy and adaptability, and providing actionable insights.
Smart Images

Figure 0007549140000015 
Figure 0007549140000009 
Figure 0007549140000010
Abstract
Description
[Technical field]
[0001] The present disclosure is directed generally to machine learning, and more particularly to a machine learning framework for feature selection to facilitate model generation. [Background technology]
[0002] In the related art, identifying trends in actions is a challenging task for data scientists who want to calculate the likelihood of which next action of an entity will occur in the future, and when and where the next action of the entity will occur in the future. The entity can be a person, organization, or institution, and the action can be a purchase, a donation, or a financial transaction. Predicting the next action of an entity is a matter of probability, and therefore the data scientist must consider multiple uncertainties surrounding the action.
[0003] In related art implementations, models with structured and unstructured data cannot mix numerical data with text data. When training the model, only mathematical functions are used in the training set. Text cannot be used in the functions.
[0004] Implementations of the related art may also face data sparsity, or a lack of data available for modeling, which is a problem for machine learning (ML) and artificial intelligence (AI) models: if there is not enough data to populate the model, the results will lack precision and contain a lot of uncertainty.
[0005] Data quality completeness is another common data issue in ML and AI implementations of related technologies. Missing data, data entry issues and data outliers are major concerns in modeling because they do not reflect real data and increase errors.
[0006] Prioritizing the importance of some data sets over others also impacts modeling. It is a challenge for data scientists to determine which data is relevant to the model and which data is less important. The minimal set of variables with the highest accuracy is the best possible variable configuration.
[0007] Concept drift in modeling occurs when a model begins to experience performance degradation: when a model reaches a degradation threshold, values or scores are no longer accurate and cause errors.
[0008] As the system receives additional data, they may improve the model and its performance, provided that data scientists retrain the model with the new data, but extensive work is required to adapt the data schema of the current model to the new data schema. Summary of the Invention [Means for solving the problem]
[0009] The implementations described herein include a unified framework that uses historical behavior information and uses feature self-adaptation to measure the propensity of an entity to take an action. The algorithms described herein capture the past purchasing behavior of any entity, such as a customer, user, employee, or bank, and give the likelihood that these entities will take an action, such as purchase, investment, or quit.
[0010] To address the trend in the related art for action analysis problems, implementations include a system that automatically generates analysis models that are self-adaptive in a multi-model manner and are applicable to any action-proneness type problem. An action-proneness problem is defined as estimating the future probability that an entity will take a particular action (e.g., purchase, investment, recommendation) (e.g., a customer purchases product A, an investor invests in stock B, a doctor recommends treatment C). The calculation of such probability is done using past behavioral data, self-adaptive feature engineering, and multiple machine learning models.
[0011] To address the problem of action propensity in the related art, an implementation includes a propensity model that calculates the likelihood of an entity to perform an action. This self-adaptive model selects the best features from a dataset and maps them to a latent space to aggregate various variables into features (e.g., groups of variables). Those features become the inputs for the model. The model further uses machine learning and artificial intelligence to self-identify and self-select the best-fitting algorithms.
[0012] To address the related art's problems with creating models with both structured and unstructured data, features in the model of the implementation may use word frequency (TF) and inverse document frequency (IDF) along with Latent Dirichlet Allocation (LDA) to create a numerical representation of text data. The related art is a system that creates models for various propensities to action events, and to this end, it is crucial to consider non-numerical data such as text data in order to increase widespread adoption of systems for predicting when an action will occur. These techniques allow traditional machine learning models to be applied to text data.
[0013] To address data sparsity in related techniques, the implementation uses Principal Component Analysis (PCA) to transform data sparsity into data density, remove data collinearity, establish independence between features, and allow features to be unified as inputs for models. One traditional problem in machine learning is data dependency between variables, which can be avoided by PCA.
[0014] To address data quality issues in the related art, the implementations described herein use automated data quality monitoring and selection techniques to select data. The quality of the selected data is improved by removing outliers after normalization calculations, filtering out data entry issues, and using interpolation techniques to handle missing values.
[0015] Based on time windows, implementations described herein include methods to evolve keyword importance over time and use automatic methods for feature generation to address the issue of data importance. For example, selected features have predefined time windows of 30, 60 and 180 days. Within this time window, data is aggregated. Once data density is discovered, features are created. Note that if the data density is below a certain threshold of potential data, the feature is discarded. This time series component required for future prediction of actions and the use of time series as elements to create features enhances the predictive power of machine learning models.
[0016] To address concept drift in predictive models, implementations described herein include procedures for automatically detecting, creating, and retraining new models after detecting performance degradation. The concept of model drift allows the system to continually learn new data patterns using novelty data that reduces model error. Two types of detection can be used:
[0017] 1. Frequency-based: The threshold is based on the accuracy of the model. For example, if training of the model shows an accuracy of less than 90%, the implementation can create a new model or retrain the model to improve its accuracy.
[0018] 2. Scale-based: Scale is based on the variability of the model's accuracy. For example, if the variability of the model's performance increases with respect to a certain threshold, the implementation creates or trains a model accordingly.
[0019] To add new data to the model, the implementations described herein use a procedure for detecting features and automatically selecting the best fit of those features to create the best model. This procedure may increase or decrease data sources based on what is needed for the model to perform better. The method automatically ranks data sources by applicable use case and uses an adaptive process of feature selection to obtain the best model results. For example, if a use case has three data sets and a group of instances has data in only two of the three data sets, the implementation runs a model for this group of instances. The method runs different models for different sets of instances based on data availability.
[0020] Aspects of the disclosure may include a method that may include a) generating time series features from structured and unstructured data managed in a data lake; b) performing a feature selection process on the time series features; c) iteratively performing supervised training on the selected time series features across a plurality of different types of models to generate a plurality of models; d) selecting a best model from the plurality of models for deployment; and e) continually iterating a)-d) while the best model outperforms a predetermined criterion.
[0021] Aspects of the disclosure may include a computer program storing instructions that may include a) generating time series features from structured and unstructured data managed in a data lake, b) performing a feature selection process on the time series features, c) iteratively performing supervised training on the selected time series features across multiple different types of models to generate multiple models, d) selecting a best model from the multiple models for deployment, and e) continually repeating a)-d) while the best model outperforms a predetermined criterion. The instructions may be stored on a non-transitory computer-readable medium and executed by one or more processors.
[0022] Aspects of the disclosure may include an apparatus that may include a processor configured to: a) generate time series features from structured and unstructured data managed in a data lake; b) perform a feature selection process on the time series features; c) iteratively perform supervised training on the selected time series features across a plurality of different types of models to generate a plurality of models; d) select a best model from the plurality of models for deployment; and e) continually repeat a)-d) while the best model outperforms a predetermined criterion.
[0023] Aspects of the disclosure may include a system that may include a) means for generating time series features from structured and unstructured data managed in a data lake; b) means for performing a feature selection process on the time series features; c) means for iteratively performing supervised training on the selected time series features across a plurality of different types of models to generate a plurality of models; d) means for selecting a best model from the plurality of models for deployment; and e) means for continually iterating a)-d) while the best model outperforms a predetermined criterion. [Brief description of the drawings]
[0024] [Figure 1a] FIG. 1a shows an overall flow diagram of an implementation described herein.
[0025] [Figure 1b] FIG. 1b shows the overall architecture of the implementation described herein.
[0026] [Diagram 2] FIG. 2 illustrates an example architecture for structured and unstructured data according to one implementation.
[0027] [Diagram 3] FIG. 3 shows the features and dimensionality reduction according to one implementation.
[0028] [Figure 4] FIG. 4 shows an example of a data scientist fine-tuning according to one implementation example.
[0029] [Figure 5a] FIG. 5a shows an example of supervised training according to one implementation.
[0030] [Figure 5b] FIG. 5b shows an example flow for supervised training according to one implementation.
[0031] [Figure 5c] FIG. 5c shows an example flow diagram for automatic feature selection according to one implementation.
[0032] [Figure 5d] FIG. 5d illustrates an example of generating time series data from a pre-set definition according to one implementation example.
[0033] [Figure 5e] FIG. 5e shows a flow for selecting the most important features from the feature generation according to one implementation example.
[0034] [Figure 5f] FIG. 5f shows a flow for determining hyperparameter ranges according to one implementation example.
[0035] [Figure 5g]FIG. 5g shows a flow for the model training and model selection process according to one implementation.
[0036] [Figure 6] FIG. 6 shows an example of an explainable AI according to one implementation example.
[0037] [Figure 7a] FIG. 7a shows an example of scoring according to one implementation.
[0038] [Figure 7b] FIG. 7b shows an example of an output that may be provided with a custom message, according to one implementation.
[0039] [Figure 8] FIG. 8 illustrates an example of an output dashboard according to one implementation.
[0040] [Figure 9] FIG. 9 illustrates an example computing environment having an example computer device suitable for use with some implementations. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0041] The following detailed description shows the details of the drawings and implementation examples of the present application. The reference numbers and descriptions of redundant elements between the drawings are omitted for clarity. The terms used throughout the description are shown by way of example and are not intended to be limiting. For example, the use of the term "automatic" may include a fully automatic implementation or a semi-automatic implementation that includes user or administrator control over certain aspects of the implementation, depending on the desired implementation of the person skilled in the art practicing the implementation of the present application. The selection may be made by a user through a user interface or other input means, or may be implemented by a desired algorithm. The implementation examples described herein may be utilized alone or in combination, and the functions of the implementation examples may be implemented by any means depending on the desired implementation. In the present disclosure, supervised training may include any supervised machine learning method according to the desired implementation.
[0042] FIG. 1(a) shows an overall flow diagram of an implementation described herein. The implementation described herein first ingests structured and unstructured data to extract all the data sets from the input data at 101. At 102, the flow generates features from the input data. At 103, the flow selects the main features and variables from the data set using ranking criteria. At 104, the flow selects parameter ranges to put into the model training stage. At 105, the flow performs multiple iterations of supervised training using multiple hyperparameters and then selects the best algorithm from the trained algorithms. At 106, the flow provides a description of the most important features from the best model. At 107, the flow uses the best model to score new instances of data. At 108, the flow outputs the results on a display. Each of the flows in the flow diagram of FIG. 1a is described in more detail herein below. Additionally, each of the flows is also tied to the overall architecture shown in FIG. 1b, which is also described in more detail below with respect to FIGS. 2-8.
[0043] To begin the process, with an input of structured and unstructured data 101, the process links various data sets from various data sources into the same fact table, example data sets are shown as 201, 202, 203, and 211. The data sets are centralized in a data lake 204, which is a data repository that contains several data sets ingested from various data sources such as transactional and third party systems. Figure 2 shows an example of an architecture of structured data 200 and unstructured data 210 according to one implementation.
[0044] At 102, to generate features from the input data, the implementation utilizes any combination of the feature steps of Figure 2. In particular, the implementation blends structured data 200 with unstructured data 210, such as blending numerical data with textual data, and applies a time component in those features. This is a predefined data range that can be defined before running the process, and lets the algorithm create all multi-dimensional features using time as an input variable.
[0045] FIG. 3 shows features and dimensionality reduction according to one implementation. Features 300 may include a technique called latent semantic analysis 301 for topic modeling of text data. Input data includes customer account data for each instance of the dataset (raw) and both software and hardware technologies from each customer. Latent semantic analysis 301 may include two steps. The first step uses word frequency and inverse document frequency (TFIDF) to create a numerical representation of words. The second step applies singular value decomposition (SVD) to create a set of technologies with similar preferences to the customer.
[0046] The features 300 may also include recency, frequency, and monetization 302, which includes three features. Recency represents how recently a customer has made a purchase, while frequency represents how often a customer makes a purchase. Finally, the feature monetization represents how much a customer spends on a purchase. These features group customers with similar behaviors in different groups.
[0047] The features 300 may also include time series features 303, which include a time component in recency, frequency, and monetization 302. This temporal addition works by calculating recency, frequency, and monetization 302 for different time ranges. For example, frequency is the number of purchases a customer makes within a certain period of time, i.e., the number of purchases a customer made in the past month, past three months, past six months, etc. The combination of these two procedures is referred to herein as temporal RFM. The timer series features 303 are forwarded to an unsupervised training / dimensionality reduction 400 process to perform a principal component analysis 401, which is forwarded to the explainable AI 700 and supervised training 600.
[0048] MinMax305 is applied to each group of temporal RFMs. The MinMax305 technique is a normalization process with the goal of normalizing features. Normalization involves adjusting values measured at different scales to a theoretically common scale.
[0049] A binarization technique 304 is applied to categorical variables to create a binary representation of each category. For example, in a data set, if a set has a variable called company revenue with three possible categories such as "high," "medium," and "low" revenue, then customers with "high" revenue would be represented as a vector with elements [1,0,0].
[0050] FIG. 4 shows an example of data scientist fine-tuning 500 according to one implementation. At 104, hyperparameters are added to input into the model based on the data scientist's heuristic decisions to facilitate fine-tuning of the model. This flow includes creating a set of parameters 501 that create several scenarios of different algorithms, which can be created by the data scientist depending on the desired implementation. Creating the algorithm is fully automated with only a set of pre-defined parameters.
[0051] 5a shows an example of supervised training according to one implementation. At 105, the implementation of supervised training 600 focuses on creating data quality and data density using a self-adaptation mechanism to improve system performance.
[0052] Model 601 is the process when a model is trained on several different models. Hyperparameter process 602 is the process of selecting hyperparameters. These hyperparameters are created using an automated process that selects the best hyperparameters from several different combinations. Accuracy and testing 603 involves measuring the accuracy of several models that have been built and testing those models. Here, it is also about selecting the best model to use in the inference phase.
[0053] Feature selection 604 involves selecting the features that produce the model with the best results. The feature combination is also added to the hyperparameter combination. The end result of supervised training 600 is the best performing combination of both features and hyperparameters.
[0054] Supervised training involves the following flow, shown in Figure 5b.
[0055] At 611, the flow extracts all data sets from the input data.
[0056] At 612, the flow selects the most important data from the combination of extracted datasets. At 612, the system automatically selects the best dataset and its variables based on the quality of the datasets. The system performs relative calculations within the dataset information. For example, within the dataset for each variable, the system can calculate the ratio of missing values compared to the total number of instances. With such an implementation, several procedures are applied to the dataset, such as removing missing values within non-continuous variables and interpolating missing values within continuous variables. Further details for automatic feature selection are outlined with respect to FIG. 5(c).
[0057] At 613, the flow creates features. Features are variables that are parsed by transformations (e.g., square root of temperature metric) from multiple combinations of extracted datasets. Features are created when the user defines a target variable. The target variable can be any variable that identifies an instance. Such variables can be customers who may purchase a new product, companies looking to absorb new companies, patients who have a tendency to take a medication, etc. All features are constructed to better identify patterns in the target variable. The target variable can be the past outcome of the action studied. For example, in a propensity to purchase model, the target variable is the purchase of a product. Those patterns are discovered using a data structure that uses a set of pre-built data functions that transform the data based on the data characteristics. For example, if the data is a continuous variable, the system applies normalization procedures such as z-score and MinMax procedures to normalize the data. As another example, if the data is a categorical variable, the system automatically creates a binarization of the categorical variable.
[0058] Feature creation includes functions such as those shown in Figure 3. For example, in latent semantic analysis 301, an implementation may apply singular value decomposition (SVD) to customer information to transform the text information and group instances that have the same similarity. With recency, frequency, and monetization (RFM) 302, recency may include determining how recently a customer has made a purchase, frequency may include determining how often a customer makes a purchase, and monetization may include determining how much a customer spends on a purchase.
[0059] Time series features 303 may include automatic feature generation of the RFM model, which uses the time frame from the user as a parameter to automatically generate new features. Regarding binarization 304, for categorical variables, all variables have categories, not numbers. The system searches all variables, identifies the type of variable, and if it is categorical, the system creates a new variable for each category in the original field, assigning 0 or 1 to each instance in the dataset. For example, the system searches all columns in the following table, detects that the company size variable is categorical, and converts each category on this field to another variable containing 0 and 1:
[0060] In normalization 305, a maximum and minimum procedure is applied to all continuous variables. This procedure standardizes the data between 0 and 1, and the system automatically selects the correct variable.
[0061] A pre-definition of the time series to be created in the dataset is also defined, as an example this could be 3 months, 6 months and 12 months as shown in Fig. 5d.
[0062] At 614, the flow ranks and selects the most important features from the quality of the features created. Further details of the feature selection flow of this embodiment are described in Figure 5e.
[0063] At 615, a user, e.g., a data scientist, business analyst, or data analyst, uses heuristics to define parameter ranges to be used in the model. These parameters are tested in a number of predefined potential models. Each number of parameter ranges generates a set of hyperparameters, each set being a model. Figure 5f shows one implementation for defining parameter ranges to incorporate into a model.
[0064] At 616, the flow uses the selected features to perform multiple training iterations using multiple hyperparameters within multiple learning algorithms. Note that the total computational work is a function of the number of scenarios defined in the previous step. Figure 5g shows an example flow including training according to one example implementation.
[0065] At 617, for each trained algorithm executed in the flow at 611, the engine calculates a performance metric (e.g., the total number of true positives plus true negatives divided by the accuracy based on all instances). The performance metric is determined based on the algorithm executed.
[0066] At 618, the flow selects from the trained algorithms the algorithm with the best metric performance. At 619, if there is an algorithm whose calculated performance criterion exceeds a predefined criterion, the flow selects from the extracted features previously unused and used features. In one implementation, the feature selection criterion is the availability of the feature for the instance. For example, consider an instance as a customer. There is a different set of features for each group of customers or instances. A feature in the feature set of a group of customers may be available while at the same time, the feature should not be available for another group of customers. The criterion for the availability of a feature is whether the feature is present for all customers in the group. At 620, the flow repeats the flow from 612 until a best fitting model is obtained that can be applied to the available data for each instance.
[0067] In one example of an observation, the classification rate or precision is given as (TP+TN) / (TP+TN+FP+FN), where TP is a true positive (observation is positive and predicted to be positive), TN is a true negative (observation is negative and predicted to be negative), FP is a false positive (observation is negative but predicted to be positive), and FN is a false negative (observation is positive but predicted to be negative). Recall is the ratio of the total number of correctly classified positive cases to the total number of positive cases, and may be given as TP / (TP+FN). Precision is the total number of correctly classified positive cases compared to the total number of predicted positive cases, and may be given as TP / (TP+FP). The predetermined criteria may be set based on any of such classification rates, precision, recall, or precision, depending on the desired implementation.
[0068] At 621, the flow outputs the results using the selected algorithm.
[0069] This flow allows the implementation to address the problem of analyzing action trends in the related art by automatically generating an analytical model from multiple models that is self-adaptive through iterations during deployment. The model can be applied to any kind of trend for the action type in question and can be configured to estimate the future probability of the entity. As structured and unstructured data are continuously streamed into the system, the multi-machine learning model can be repeatedly retrained through the iterative flow of FIG. 5c, and the best model can be changed to another one of the multi-machine learning models based on historical and new data obtained by the system.
[0070] 5c shows an example flow diagram for automatic feature selection according to one implementation. In particular, FIG. 5c is directed to feature selection of the flow at 612.
[0071] At 631, the dataset is fed into feature selection 604. At 632, patterns are identified from the dataset to determine variables of interest that can be used as features. At 633, if a pattern is found (Yes), the flow continues to 634, otherwise (No), the flow continues to 631 to get the next dataset.
[0072] At 634, it is determined whether the identified pattern is useful to the analysis being performed. If so (Yes), the flow proceeds to 636, otherwise (No), the flow proceeds to 635 to discard variables associated with the identified pattern.
[0073] At 636, it is determined whether there is missing data in the dataset. If so (Yes), the flow proceeds to 638 to perform an interpolation process to fill in the data in the dataset, otherwise (No), the flow proceeds to 637 to reserve the identified variables as extracted features and obtain the next dataset.
[0074] At 638, an interpolation technique for filling gaps in the data is determined. If there is such an interpolation technique applicable to the data (Yes), the flow continues to 640, otherwise (No), the flow continues to 639 to discard instances of missing data.
[0075] At 640, an interpolation procedure is selected. At 641, an interpolation procedure is performed on the data to fill in the gaps. At 642, the results of the interpolated data are backtested against historical data to determine if the data is accurate. At 643, if the data is determined to be accurate (Yes), the variables are reserved as extracted features and the process returns to 631 to obtain the next data set. Otherwise (No), the flow proceeds to 640 to try a different interpolation procedure.
[0076] FIG. 5e shows a flow for selecting the most important features from the feature generation according to one implementation. In the implementation described herein, the feature selection criterion is the availability of the feature for the instance. The criterion for the availability of a feature is whether the feature is present for all customers in the group. At 650, a dataset and corresponding extracted variables generated from the flow of FIG. 5c are given. At 651, feature transformation is performed on the dataset. At 652, instances are formed from grouping the features. At 653, the instances are partitioned by feature groups. At 654, supervised training is performed on the features and instances. At 655, the instances and corresponding models are saved in a database.
[0077] Figure 5f shows a flow for determining hyperparameter ranges according to one implementation example. At 661, features from the selection process of Figure 5e are given. At 662, the instances are split into two subgroups (a test set and a training set). At 663, a copy of the features is generated. At 664, an existing feature transformation is performed. Such feature transformations may include random forests 665, logistic regression 666, support vector machines 667, or decision trees 668. Then, at 669, the performance of all models is compared to determine the best model. At 670, the best model is presented as a result.
[0078] FIG. 5g shows an example flow including training according to one example implementation. The example shown in FIG. 5g is a random forest 680. Features are provided at 681 and a grid search is performed at 682 to create several training steps. At 683, 684, 685, 686, a random forest is run against a grid search for different parameters to generate different models. A performance metric is then determined for each of the models at 687 and the best model is determined at 688. The best model is then returned as a result at 689.
[0079] Figure 6 shows an example of an explainable AI according to one implementation example. The explainable AI 700 includes PCA loading 701, a rule-based database with human-like messages customized by each customer 702, and the most influential elements of the model 703. In process 106 of Figure 1, the explainable AI 700 is configured to train the model and find coefficients that explain the model. In the latent space, note that all features are unified in the latent space and their inferences can be evaluated equally.
[0080] In one example, raw data is loaded into PCA loading 701 to apply a transformation that decomposes the original space into a latent space. The coefficients that explain the model are the output of supervised training. This process trains the model and finds the coefficients that explain the model (in the latent space).
[0081] The explainable AI 700 then determines the top ranking of coefficients that influence more of the probability. The coefficients are ranked based on how much influence they have on the feature. The method for calculating this influence is based on the results of the model.
[0082] Then, from the latent space, the explainable AI 700 uses a linear combination of the covariances of the original variables in the latent space to analyze and identify the top-ranked influenced variables in the original space. From the latent space, the system analyzes what the top three most influenced variables (e.g., as pre-defined) are in the hidden space by using the most influential elements 703 of the model.
[0083] The explainable AI 700 calculates the covariance between features from the raw data and variables from the latent space. If the covariance is large, the relationship indicates a strong relationship between the feature and the hidden variable. If the relationship is strong, the explainable AI 700 assigns the feature within an explanation for the hidden variable, thereby indicating that the relationship exists.
[0084] The results of the top ranked original variables are provided in the rule-based database 702. A data scientist can then add explanatory statements in the rule-based database 702 to explain the top ranking of the coefficients and aid human understanding.
[0085] As shown in FIG. 6, the explainable AI 700 results in a rule-based database 702 that is configured to provide an explanation for which variables are most likely to affect the model. As shown in 701, a single principal component analysis is used to change the original domain into a latent domain. To solve this problem, the algorithm calculates the squared PCA loadings and calculates a matrix of the distribution of the variables in the latent space. After calculating this distribution, the algorithm calculates the products between the variables in the original space from the customer vector along with the matrix of the distribution of the variables in the latent space.
[0086] The algorithm selects only the most influential latent variables that make the model more explainable, and considers the most influential variables in the original space from each latent variable as inference. The most influential variables in the original space are the explanations of the model. Based on the original space, the data scientist writes a standard message for each variable in the original space explaining how it affects the likelihood of the trend. This step is performed in 804 in Figure 7a.
[0087] FIG. 7a shows an example of scoring 800 according to one implementation. Scoring is triggered at 107 in FIG. 1. After the model is trained, it is used to score instances in a dataset. At this stage, the implementation converts the analysis results into actionable statements. Based on the output of each data score and the impact of the factors on the model, an output is published in a dashboard.
[0088] The conversion of the analysis results into an actionable description is done by a user who collects the top three most influential features, adds an actionable description, and converts it into human readable information. For example, in an implementation that assumes that age and gender are the most influential features in the model, the actionable description may be provided in the manner shown in Figure 7b. Figure 7b shows an example of an output that may comprise a custom message according to one implementation.
[0089] At 801, there is a function to support A / B field testing for external agents, where the field testing is designed to analyze the results of the performance on the dashboard, given customer characteristics at 802, plus custom human-like messaging and propensity scoring given earlier in the rules-based database at 803.
[0090] 8 shows an example of an output dashboard 900 according to one implementation example. After scoring, the model system connects to the enterprise system and publishes the scoring content on the dashboard 901 together with the converted analysis results.
[0091] With the implementation described herein, the self-adaptive multi-model method uses data characteristics to select features based on source, quality, structured and unstructured data, and unifies all features in the latent space, so that the implementation can provide a multi-model best fit using performance criteria and can be embedded in information technology (IT) systems to assist decision makers in their decision-making process.
[0092] Any business that desires to calculate the likelihood of a next action can utilize the implementations described herein. For example, a retail business may want to calculate the likelihood that their customers will make a purchase. A non-governmental organization may want to calculate the likelihood that a potential donor will make a donation. Wholesale businesses focused on the business-to-business (B2B) industry can use the present invention to improve their sales by better identifying what their customers will purchase and when. Additionally, businesses can input data through the system described herein and use the output to share information with revenue generating teams such as sales associates, support personnel, and agents.
[0093] This self-adaptive multi-model method can be a solution for predicting behavioral trends in the business-to-business (B2B) and business-to-consumer domains. For any use case where you need to determine the likelihood of something happening based on past behavior, this multi-model method is the optimal solution for calculating that likelihood.
[0094] 9 illustrates an example of a computing environment having an example of a computing device suitable for use in some implementations, such as to facilitate the functionality of all of the processes illustrated in FIG. 1a and FIG. 1b. The computing device 905 in the computing environment 900 can include one or more processing units, cores or processors 910, memory 915 (e.g., RAM and / or ROM, etc.), internal storage 920 (e.g., magnetic, optical, solid-state storage and / or organic), and / or IO interface 925, any of which can be connected to a communication mechanism or bus 930 to communicate information or can be embedded in the computing device 905. The IO interface 925 is also configured to receive images from a camera or provide images to a projector or display, depending on the desired implementation. Depending on the desired implementation, multiple instances of the computing device 905 can be utilized to facilitate implementation on the cloud or as software as a service (SaaS).
[0095] The computing device 905 may be communicatively connected to an input / user interface 935 and an output device / interface 940. Either or both of the input / user interface 935 and the output device / interface 940 may be wired or wireless interfaces and may be removable. The input / user interface 935 may include any physical or virtual device, component, sensor, or interface that can be used to provide input (e.g., buttons, touch screen interfaces, keyboards, pointing / cursor control, microphones, cameras, Braille, motion sensors, optical readers, etc.). The output device / interface 940 may include displays, televisions, monitors, printers, speakers, Braille, etc. In some implementations, the input / user interface 935 and the output device / interface 940 may be embedded in the computing device 905 or may be physically connected to the computing device 905. In other implementations, other computing devices may function as or provide the functionality of the input / user interface 935 and the output device / interface 940 for the computing device 905.
[0096] Examples of computing devices 905 may include, but are not limited to, highly mobile devices (e.g., smart phones, devices in vehicles and other machines, devices carried by humans and animals, etc.), mobile devices (e.g., tablets, notebooks, laptops, personal computers, portable televisions, radios, etc.), and devices not designed for mobility (e.g., desktop computers, other computers, information kiosks, televisions, radios with embedded and / or connected one or more processors, etc.).
[0097] Computing device 905 may be communicatively connected (e.g., via IO interface 925) to external storage 945 and a network 950 for communicating with any number of networked components, devices, and systems, including one or more computing devices of the same or different configurations. Computing device 905, or any connected computing device, may function as or provide services as, or be referred to as, a server, a client, a thin server, a general purpose machine, a special purpose machine, or another label.
[0098] IO interface 925 may include, but is not limited to, wired and / or wireless interfaces using any communication or IO protocol or standard (e.g., Ethernet, 802.11x, Universal System Bus, WiMax, modem, cellular network protocols, etc.) to communicate information to and from at least all connected components, devices, and networks in computing environment 900. Network 950 may be any network or combination of networks (e.g., the Internet, a local area network, a wide area network, a telephone network, a cellular network, a satellite network, etc.).
[0099] The computing device 905 can use and / or communicate using computer usable or computer readable media, including transitory and non-transitory media. Transitory media include transmission media (e.g., metallic cables, optical fibers), signals, carrier waves, etc. Non-transitory media include magnetic media (e.g., disks and tapes), optical media (e.g., CD ROM, digital video disks, Blu-ray disks), solid-state media (e.g., RAM, ROM, flash memory, solid-state storage) and other non-volatile storage or memory.
[0100] In some example computing environments, a computing device 905 may be used to implement techniques, methods, applications, processes, or computer-executable instructions. The computer-executable instructions may be retrieved from a transitory medium and stored on and retrieved from a non-transitory medium. The executable instructions may be from one or more of any programming, scripting, and machine language (e.g., C, C++, C#, Java, Visual Basic, Python, Perl, JavaScript, etc.).
[0101] The processor 910 can execute under any operating system (OS) (not shown) in a native or virtual environment. One or more applications can be deployed, including a logic unit 960, an application programming interface (API) unit 965, an input unit 970, an output unit 975, and an inter-unit communication mechanism 995 for the various units to communicate with each other, with the OS, and with other applications (not shown). The described units and elements can be modified in design, function, configuration, or implementation and are not limited to the description provided. The processor 910 can be in the form of a hardware processor, such as a central processing unit (CPU), or can be a combination of hardware and software units.
[0102] In some implementations, when information or instructions to execute are received by the API unit 965, it may be communicated to one or more other units (e.g., logic unit 960, input unit 970, output unit 975). In some implementations described above, the logic unit 960 may be configured to control information flow between units and direct services provided by the API unit 965, input unit 970, and output unit 975. For example, the flow of one or more processes or implementations may be controlled by the logic unit 960 alone or in combination with the API unit 965. The input unit 970 may be configured to obtain inputs for the calculations described in the implementations, and the output unit 975 may be configured to provide outputs based on the calculations described in the implementations.
[0103] The processor 910 may be configured to a) generate time series features from the structured and unstructured data managed in the data lake, as shown at 612-613 in Figure 5b, b) perform a feature selection process on the time series features, as shown at 614 in Figure 5b, c) iteratively perform supervised training on the selected time series features across multiple different types of models to generate multiple models at 615-616 in Figure 5b, d) select a best model from the multiple models for deployment, as shown at 617-619 in Figure 5b, and e) continuously repeat a)-d) while the best model exceeds a predefined criterion, as shown at 619 and 620 in Figure 5b. Such an implementation may allow an analytical model to be automatically generated from the structured and unstructured data in a self-adaptive manner in a multi-model manner by iteratively generating multiple models, such that the analytical model may be applied to any kind of trend of the action type in question. This allows the model to repeatedly self-adapt, utilize multiple machine learning models, and past behavioral data to output any type of probability of action according to the desired implementation.
[0104] The processor 910 may be configured to generate time series features from the structured and unstructured data managed in the data lake by applying latent semantic analysis configured to convert text information of the structured and unstructured data into numerical representations, running recency, frequency, and monetization models on the converted text information to determine recency features, frequency features, and monetization features, generating time series features from the recency features, frequency features, and monetization features according to a time frame, and applying binarization to one of the time series features targeted at categorical features, as shown in Figures 3, 5d, and 5e.
[0105] Depending on the desired implementation, the different types of models may include one or more of random forests, logistic regression, support vector machines, decision trees, or supervised machine learning models, as shown in Figures 5f and 5g.
[0106] The processor 910 may be configured, as shown in FIG. 5b, for receipt of new structured or unstructured data by the data lake, to incorporate the new structured or unstructured data into the generation of time series features and to repeat a) through d) again while the best model is located.
[0107] The processor 910 may be configured to provide a dashboard configured to populate with customized messages for association with elements of the best model, such as those shown in Figures 6, 7a, and 7b, where the customized messages are provided as output for outputs of the best model that include those elements.
[0108] The processor 910 may be configured to perform principal component analysis on the time series features to transform the time series features into a latent space, use supervised training to determine coefficients in the latent space that influence the best model, and provide the determined coefficients as elements, as shown in FIG.
[0109] The processor 910 may be configured to generate time series features from the structured and unstructured data managed in the data lake by identifying one or more datasets associated with one or more variables of interest recognized from one or more identified patterns found in the structured and unstructured data for adoption as time series features, as shown in FIG. 5c, and for one or more datasets with missing data, perform an interpolation process to add data within the dataset, and adopt one or more variables of interest as time series features for backtesting of the additional data with accuracy within a threshold of the historical data.
[0110] The processor 910 may be configured to perform a feature selection process on the time series features by performing feature transformations on one or more datasets, forming instances from grouping the time series features, and partitioning the instances by feature groups to select time series features, as shown in FIG. 5e.
[0111] The processor 910 may be configured to iteratively perform supervised training on the selected time series features across a plurality of different types of models to generate a plurality of models by performing a grid search of parameters to generate a plurality of supervised training procedures based on the selected time series features, and performing random forest training on the grid search of parameters to generate a plurality of different types of models from the plurality of supervised training procedures, as shown in FIG. 5(g).
[0112] Some portions of the detailed description have been presented in terms of algorithms and symbolic representations of operations within a computer. These algorithmic descriptions and symbolic representations are the means used by those skilled in the data processing arts to convey the substance of their innovations to others skilled in the art. An algorithm is a sequence of defined steps leading to a desired end state or result. In one implementation, the steps performed require physical manipulations of tangible quantities to achieve a tangible result.
[0113] Unless otherwise specified, and as will be apparent from the description, the description utilizing terms such as "processing," "computing," "operation," "determining," "displaying," and the like throughout the description will be understood to include the actions and processes of a computer system or other information processing device that manipulates and converts data represented as physical (electronic) quantities in the registers and memory of a computer system into other data similarly represented as physical quantities in the memory or registers of a computer system or other information storage, transmission, or display device.
[0114] The implementations may also relate to an apparatus for performing the operations of the present specification. The apparatus may be specially constructed for the required purposes, or may be one or more general-purpose computers selectively activated or reconfigured by one or more computer programs. Such computer programs may be stored in a computer-readable medium, such as a computer-readable storage medium or a computer-readable signal medium. The computer-readable storage medium may include tangible media, such as, but not limited to, optical disks, magnetic disks, read-only memories, random access memories, solid-state devices and drives, or any other type of tangible or non-transitory medium suitable for storing electronic information. The computer-readable signal medium may include media such as carrier waves. The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. The computer program may include a pure software implementation that includes instructions for performing the operations of the desired implementation.
[0115] Various general-purpose systems may be used with the programs and modules according to the examples herein, or it may prove convenient to construct more specialized apparatus to perform the desired method steps. In addition, the implementations are not described with reference to a particular programming language. It will be appreciated that a variety of programming languages can be used to implement the teachings of the implementations described herein. Instructions in the programming language may be executed by one or more processing devices, such as a central processing unit (CPU), processor, or controller.
[0116] As known in the art, the operations described above may be performed by hardware, software, or some combination of software and hardware. Various aspects of the implementations may be implemented using circuits and logic (hardware), while other aspects may be implemented using instructions stored on a machine-readable medium (software), which, when executed by a processor, cause the processor to perform a method for performing the implementation of the present application. Furthermore, some implementations of the present application may be performed exclusively in hardware, while other implementations may be performed exclusively in software. Furthermore, various functions described may be performed in a single unit or may be spread across several components in any number of ways. When performed by software, the method may be executed by a processor, such as a general purpose computer, based on instructions stored on a computer-readable medium. If necessary, the instructions may be stored on the medium in compressed and / or encrypted format.
[0117] Moreover, other implementations of the present application will be apparent to those skilled in the art upon consideration of the specification and practice of the teachings herein. Various aspects and / or components of the described implementations may be used alone or in any combination. It is intended that the specification and implementations be considered as examples only, with a true scope and spirit of the present application being indicated by the following claims.
Claims
1. a) generating time series features from structured and unstructured data managed in a data lake; b) performing a feature selection process on the time series features; c) repeatedly performing supervised training on the selected time series features across a number of different types of models to generate a number of models; d) selecting a best model from the plurality of models for placement; and e) continually repeating a) through d) while the best model exceeds a predetermined criterion. The method includes:
2. The generating of time series features from the structured data and the unstructured data managed in a data lake includes: applying latent semantic analysis configured to convert textual information of the structured data and the unstructured data into a numerical representation; running recency, frequency, and monetization models on the converted text information to determine recency features, frequency features, and monetization features; generating the time series features from the recency features, the frequency features, and the monetization features according to a time frame; and applying a binarization to one of the time series features targeted at a categorical feature; The method of claim 1 , comprising:
3. The method of claim 1 , wherein the plurality of different types of models comprises one or more of a random forest, a logistic regression, a support vector machine, or a decision tree.
4. 2. The method of claim 1 , further comprising: incorporating new structured or unstructured data into the generation of the time series features upon receipt of new structured or unstructured data by the data lake; and repeating a) through d) again while the best model is in place.
5. providing a dashboard configured to capture customized messages for association with elements of the best model; The method of claim 1 , wherein the customized message is provided as an output for output of the best model with the element.
6. performing a principal component analysis on the time series features to transform the time series features into a latent space; utilizing supervised training to determine coefficients in the latent space that influence the best model; and providing said determined coefficients as elements of said best model; The method of claim 1 further comprising:
7. The generating of the time series features from the structured data and the unstructured data managed in a data lake includes: identifying one or more data sets relating to one or more variables of interest recognized from one or more identified patterns found in the structured data and the unstructured data for use as the time series features; For the one or more datasets having missing data, performing an interpolation process to add data to said data set; employing the one or more variables of interest as the time series features for back-testing the added data having accuracy within a threshold of historical data. The method of claim 1 , comprising:
8. said performing a feature selection process on the time series features comprises: performing a feature transformation on the one or more datasets; forming instances from grouping the time series features; Partitioning the instances by feature groups and selecting the time series features. The method of claim 7, comprising:
9. repeatedly performing supervised training on the selected time series features across a plurality of different types of models to generate the plurality of models; conducting a parameter grid search to generate a plurality of supervised training procedures based on the selected time series features; performing random forest training on the grid search of parameters to generate the plurality of different types of models from the plurality of supervised training procedures. The method of claim 1 , comprising:
10. A non-transitory computer readable medium storing instructions for carrying out a process, the instructions comprising: a) generating time series features from structured and unstructured data managed in a data lake; b) performing a feature selection process on the time series features; c) repeatedly performing supervised training on the selected time series features across a number of different types of models to generate a number of models; d) selecting a best model from the plurality of models for placement; and e) continuously repeating steps a) through d) while the best model exceeds a predetermined criterion. A non-transitory computer readable medium comprising:
11. The generating of time series features from the structured data and the unstructured data managed in a data lake includes: applying latent semantic analysis configured to convert textual information of the structured data and the unstructured data into a numerical representation; running recency, frequency, and monetization models on the converted text information to determine recency features, frequency features, and monetization features; generating the time series features from the recency features, the frequency features, and the monetization features according to a time frame; and applying a binarization to one of the time series features targeted at a categorical feature; 11. The non-transitory computer-readable medium of claim 10, comprising:
12. 11. The non-transitory computer-readable medium of claim 10, wherein the plurality of different types of models comprises one or more of a random forest, a logistic regression, a support vector machine, or a decision tree.
13. 11. The non-transitory computer-readable medium of claim 10, further comprising: incorporating the new structured or unstructured data into the generation of the time-series features upon receipt of new structured or unstructured data by the data lake; and again performing a) through d) iteratively while the best model is in place.
14. providing a dashboard configured to capture customized messages for association with elements of the best model; The non-transitory computer-readable medium of claim 10 , wherein the customized message is provided as an output for output of the best model with the element.
15. performing principal component analysis on the time series features to transform the time series features into a latent space; utilizing supervised training to determine coefficients in the latent space that influence the best model; and providing said determined coefficients as elements of said best model; The non-transitory computer-readable medium of claim 10 , further comprising:
Citation Information
Patent Citations
Machine learning management program, machine learning management apparatus, and machine learning management method
JP2017049677A
Computer system and method for machine learning or inference
WO2019003485A1
Information processing device, learning history management system, and learning history management program
WO2020157939A1
