Machine learning task construction processing method and device, electronic equipment and program product
By processing multiple operational sub-processes in machine learning tasks in parallel, the problem of low single-thread processing efficiency is solved, more efficient data processing and resource utilization are achieved, and the construction speed and efficiency of machine learning tasks are improved.
Patent Information
- Application Number
- CN202410804620.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-08-23
AI Technical Summary
In the training phase of machine learning, when data is processed based on a single thread in the existing technology, the data processing efficiency is low, computing resources cannot be fully utilized, and subsequent data needs to wait for the first data processing to be completed, which wastes time.
By obtaining the sample data configuration information corresponding to the machine learning task, arranging the task operation flow chart, arranging multiple operation sub-processes horizontally and vertically related in chronological order, and executing them in parallel, the parallel processing of sample data in different time intervals is achieved.
Make full use of computing resources, reduce idle waiting time, improve the speed and efficiency of building machine learning tasks, and achieve global output.
Smart Images

Figure CN118536623A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and in particular, to a method, device, electronic device and program product for constructing and processing a machine learning task. Background Art
[0002] During the training phase of machine learning, it is necessary to identify training data suitable for machine learning from a large amount of data, and then build machine learning tasks based on the training data for model training.
[0003] In the related technology, according to the sample data configuration, the data needs to be processed in sequence according to the business time corresponding to the data (such as reading, conversion, model training and other operations), that is, based on the single-threaded method, the data list of different time periods is obtained in sequence according to the sample data configuration, and the machine learning task is constructed according to the data list. In this process, the later data needs to wait until the earlier data is processed before processing, which will waste a lot of time and cannot fully utilize computing resources, which is slow and inefficient. Summary of the invention
[0004] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0005] In a first aspect, the present disclosure provides a method for constructing a machine learning task, the method comprising: Obtaining sample data configuration information corresponding to a machine learning task, wherein the sample data configuration information is used to indicate sample data generated by a target sample data source for training the machine learning task within a target time interval; Arranging the task operation flow chart according to the sample data configuration information, the task operation flow chart includes a plurality of operation sub-flows arranged horizontally in chronological order and configured with vertical associations, wherein one operation sub-flow corresponds to a sub-interval of the target time interval, and is used to obtain sample data in the corresponding sub-interval from the target sample data source, and determine the machine learning task data based on the sample data; Based on the vertical association, the multiple operation sub-processes are controlled to be executed in parallel to obtain target machine learning task data with a vertical association relationship, and the machine learning task is constructed based on the target machine learning task data.
[0006] In a second aspect, the present disclosure provides a machine learning task construction processing device, the device comprising: An acquisition module, used to acquire sample data configuration information corresponding to a machine learning task, wherein the sample data configuration information is used to indicate sample data generated by a target sample data source for training the machine learning task within a target time interval; an arrangement module, configured to arrange the task operation flow chart according to the sample data configuration information, wherein the task operation flow chart includes a plurality of operation sub-processes arranged horizontally in chronological order and configured with vertical associations, wherein one operation sub-process corresponds to a sub-interval of the target time interval, and is configured to obtain sample data in the corresponding sub-interval from the target sample data source, and determine the machine learning task data based on the sample data; An execution module is used to control the parallel execution of the multiple operation sub-processes based on the vertical association, obtain target machine learning task data with a vertical association relationship, and construct the machine learning task based on the target machine learning task data.
[0007] In a third aspect, the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of any one of the methods described in the first aspect.
[0008] In a fourth aspect, the present disclosure provides an electronic device, including: a storage device having a computer program stored thereon; A processing device is used to execute the computer program in the storage device to implement the steps of any method described in the first aspect above.
[0009] In a fifth aspect, the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of any one of the methods in the first aspect.
[0010] Through the above technical solution, the sample data configuration information corresponding to the machine learning task is first obtained, and then the task operation flow chart is obtained by arranging according to the sample data configuration information, and finally multiple operation sub-processes in the task operation flow chart are executed in parallel to obtain the target machine learning task data with a vertical correlation relationship, and the machine learning task is constructed based on the target machine learning task data, wherein one operation sub-process corresponds to a sub-interval of the target time interval. With this method, the sample data of the target sample data source in different sub-intervals can be processed in parallel, and each operation sub-process processes the sample data in the corresponding sub-interval separately, and the global output of the machine learning task is realized based on the vertical correlation between multiple operation sub-processes, so that the computing resources can be fully utilized, the idle waiting time can be reduced, and the speed and efficiency of constructing machine learning tasks can be improved.
[0011] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale. In the drawings: Figure 1 is a schematic diagram of a process of obtaining training data based on a single thread according to an exemplary embodiment of the present disclosure; Figure 2 is a flowchart of a method for constructing and processing a machine learning task according to an exemplary embodiment of the present disclosure; Figure 3 is a schematic diagram of a task operation flow chart according to an exemplary embodiment of the present disclosure; Figure 4 is a schematic diagram of a task operation flow chart of a multi-sample data source according to an exemplary embodiment of the present disclosure; Figure 5 It is a schematic diagram of a process of generating a task operation flowchart from a logic flowchart according to an exemplary embodiment of the present disclosure; Figure 6 is a schematic diagram showing a data splitting according to an exemplary embodiment of the present disclosure; Figure 7 is a schematic diagram showing an operation isolation according to an exemplary embodiment of the present disclosure; Figure 8 is a schematic diagram of a process of constructing a machine learning task according to an exemplary embodiment of the present disclosure; Fig. 9 is a structural block diagram of a machine learning task construction processing device according to an exemplary embodiment of the present disclosure; Fig.10 It is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0013] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0014] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0015] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0016] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0017] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0018] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0019] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0020] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0021] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0022] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0023] At the same time, it is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0024] The machine learning task of a machine learning model consists of two parts: the training computing plane (Cluster) and the training data plane (Data). Each training computing plane corresponds to a model training computing resource topology, which is created during the model startup phase. The different executors and the number of executors in the topology are defined by the model. In the training data plane, it generally includes a data set (DataSet) and a data set sample reading method (DataLoader), where DataSet describes the metadata of the training data, such as the file name, and DataLoader describes how to read the training data from the file.
[0025] In the related art, a single-threaded method is usually used to sequentially obtain data lists of different time periods according to sample data configuration, and a machine learning task is constructed according to the data lists. Figure 1 , combined with actual application scenarios, for example, if machine learning is required based on the data of application A and application B, it is equivalent to obtaining data from multiple data sources, then the data list A of application A and the data list B of application B are obtained respectively, and then the data lists are merged and processed based on a single thread to generate a task description list. For example, the data list A1 and the data list B1 of March 1 are merged to obtain the training data list 1, and the data list A2 and the data list B2 of March 2 are merged to obtain the training data list 2. The data list of March 2 needs to wait until the data list of March 1 is processed before it can be processed. This will waste a lot of time and cannot make full use of computing resources. The speed is slow and inefficient.
[0026] Accordingly, even if you are getting a list of data from a single data source, the single-threaded approach is still slow and inefficient when processing large amounts of data. In addition, a single thread cannot be interrupted, and the results of the run cannot be perceived before the run ends. If a blockage occurs, subsequent data cannot be processed.
[0027] In view of this, the present disclosure provides a machine learning task construction processing method, device, electronic device and program product to solve the above-mentioned technical problems.
[0028] The embodiments of the present disclosure are further explained below with reference to the accompanying drawings.
[0029] Figure 2 is a flowchart of a method for constructing a machine learning task according to an exemplary embodiment of the present disclosure, referring to Figure 2 , the method comprising: S201: Obtain sample data configuration information corresponding to the machine learning task.
[0030] The sample data configuration information is used to indicate the sample data generated by the target sample data source for training the machine learning task within the target time interval.
[0031] For example, the time interval corresponding to data source A can be configured as March 1, 2024 - May 1, 2024, the time interval corresponding to data source B can be configured as February 1, 2024 - April 1, 2024, and so on. The specific settings can be made according to needs, and the present disclosure does not impose any restrictions on this.
[0032] S202: Arrange the task operation flow chart according to the sample data configuration information, wherein the task operation flow chart includes multiple operation sub-processes that are arranged horizontally in chronological order and configured with vertical associations, wherein one operation sub-process corresponds to a sub-interval of the target time interval, and is used to obtain sample data in the corresponding sub-interval from the target sample data source, and determine the machine learning task data based on the sample data.
[0033] For example, the sub-intervals of the target time interval may be divided into intervals of hours, days, weeks, months, etc., which may be specifically set according to requirements, and the present disclosure does not impose any limitation on this.
[0034] S203: Control multiple operation sub-processes to execute in parallel based on vertical association, obtain target machine learning task data with vertical association relationship, and construct a machine learning task based on the target machine learning task data.
[0035] By adopting the above method, the sample data in different sub-intervals of the target sample data source can be processed in parallel. Each operation sub-process processes the sample data in the corresponding sub-interval separately, and the global output of the machine learning task is realized based on the vertical connection between multiple operation sub-processes, so as to make full use of computing resources, reduce idle waiting time, and improve the speed and efficiency of building machine learning tasks.
[0036] In a possible manner, the task operation flow chart is obtained by arranging according to the sample data configuration information, which may include: determining the target sample data source and the target time interval according to the sample data configuration information; constructing an operation sub-process, the operation sub-process is used to indicate the execution of data processing according to the ordered data processing operations corresponding to the target sample data source; dividing the target time interval into multiple sub-intervals that are continuous in time, and configuring a corresponding operation sub-process for each sub-interval, so that one sub-interval corresponds to one operation sub-process; vertically associating the operation sub-processes corresponding to each of the multiple sub-intervals according to time continuity to construct the task operation flow chart.
[0037] For example, the target time interval can be divided into multiple sub-intervals that are continuous in time based on the preset sample collection cycle corresponding to the target sample data source. For example, if data source A collects data by hour, the time sub-interval can be divided by hour, or by a period greater than the preset sample collection cycle, for example, the time sub-interval can be divided by day, and so on. The specific setting is based on the needs, and the present disclosure does not limit this. Then, a corresponding operation sub-process is configured for each sub-interval, so that one sub-interval corresponds to one operation sub-process, and finally all the operation sub-processes are merged in chronological order, and corresponding vertical correlation dependencies are set to obtain a task operation flow chart. In this way, the sample data can be processed in parallel, improving the speed and efficiency of constructing machine learning tasks.
[0038] In a possible manner, the sample data configuration information is used to instruct a machine learning task to train sample data generated by multiple target sample data sources within their respective corresponding target time intervals; then constructing an operation sub-process may include: when there is an intersection between the target time intervals corresponding to the multiple target sample data sources, constructing a data operation sub-process including an association operation, wherein the association operation is used to perform data association on sample data from different target sample data sources that are at the time intersection.
[0039] For example, when there are multiple target sample data sources, the time sub-intervals are divided according to the data source with a larger preset sample collection period. For example, if data source A collects data by hour and data source B collects data by day, the time sub-intervals can be divided by day, and so on. The specific setting is based on demand, and the present disclosure does not impose any restrictions on this.
[0040] For example, when the target time intervals corresponding to multiple target sample data sources overlap, the overlapped time interval can be taken as the common target time interval. For example, if the target time interval is (2024.01.10-2024.01.14), the time sub-interval 1 (2024.01.10-2024.01.11), time sub-interval 2 (2024.01.11-2024.01.12), time sub-interval 3 (2024.01.12-2024.01.13), and time sub-interval 4 (2024.01.13-2024.01.14) are obtained by day, and the following is constructed: Figure 3 The four operation sub-processes shown contain associated operations.
[0041] It should be noted that if Figure 4 As shown, when there are multiple target sample data sources, there may be data source operations (Data Source Operation, DataSource OP for short) corresponding to the multiple target sample data sources in each operation sub-process, that is, the process of requesting data from different target sample data sources may be performed by different data source operations.
[0042] In a possible manner, the sample data configuration information is used to instruct the machine learning task to train the sample data generated by multiple target sample data sources within their respective corresponding target time intervals, and the operation sub-process includes sequentially connected time operations, data source operations, association operations and aggregation operations; wherein the time operation is used to determine the sub-interval corresponding to the operation sub-process; the data source operation is used to obtain sample data within the sub-interval from multiple target sample data sources; the association operation is used to perform data association on the multiple sample data obtained by executing the data source operation to obtain target association data; the aggregation operation is used to aggregate the target association data and the machine learning task data output by the previous operation sub-process of the operation sub-process based on the vertical association of the operation sub-process, so as to obtain the machine learning task data with a vertical association relationship corresponding to the operation sub-process.
[0043] For example, continue to refer to Figure 3 , when the sample data configuration information configures multiple target sample data sources and the time intervals corresponding to the target sample data sources have an intersection, it is used to instruct the machine learning task to train the sample data generated by the multiple target sample data sources within their respective corresponding target time intervals. The operation sub-process includes sequentially connected time operations (Time Operation), data source operations (Data Source OP), association operations (Join OP) and sink operations (SinkOP).
[0044] It should be noted that the time operation corresponds to the time interval corresponding to the configured sample data source. In addition, the logical time of the graph can be adjusted by dialing back or fast-forwarding according to the configuration. For example, Onetime Clock means configuring to execute a task operation flowchart once. Multi-Time Clock is suitable for multi-round training scenarios. The clock can be configured to dial back multiple times, that is, to execute multiple task operation flowcharts. ToNow Clock means to continuously send "time control signaling" from the start time. It can be set according to needs, and the present disclosure does not limit this.
[0045] The data source operation is used to obtain sample data within the time zone corresponding to the time operation from multiple target sample data sources. The association operation can associate sample data obtained from multiple target sample data sources, for example, it can associate multiple associated BatchSources (batch data) or multiple StreamSources (stream data), or one batch data and one stream data, etc. The sample data source can be set according to the needs, and the present disclosure does not limit this. In addition, when it is necessary to associate sample data from multiple sample data sources, the association operation can merge and process the sample data corresponding to all sample data sources after receiving them, and release them to the next operation. The aggregation operation can aggregate the target association data obtained from the previous operation, or it can establish data dependencies and align the output of the target association data with the machine learning task data output by other concurrent operation sub-processes. It can be set according to the needs, and the present disclosure does not limit this.
[0046] For example, for one of the operation sub-processes, continue to refer to Figure 3 First, perform a time operation to determine the target subinterval corresponding to the operation subprocess, and then perform a data source operation to obtain sample data with a generation time within the target subinterval from multiple target sample data sources, such as data A1 corresponding to data source A, data B1 corresponding to data source B, and so on, to obtain multiple sample data. Then perform an association operation to associate multiple sample data to obtain target associated data, which can be associated by time. For example, if data A1 and data B1 are both data for one day, then they are associated by hour, i.e., A1-1 and B1-1, A1-2 and B1-2, and so on. Or if data A1 and data B1 are business data of the same user in different applications, then they can be associated according to the same user, and so on. The specific setting is based on the needs, and the present disclosure does not limit this.
[0047] Finally, the aggregation operation can be performed to directly aggregate and store the data after the association operation, or to aggregate and store the data after the association operation after secondary processing such as scattering, time sorting, sampling, etc., to obtain the machine learning task data corresponding to the operation sub-process. Figure 3The dotted process of the Sink OP shown can also aggregate and store the target association data after the association operation and the machine learning task data obtained by the previous operation sub-process of the operation sub-process, or aggregate and store the target association data after the association operation and the machine learning task data obtained by the previous operation sub-process of the operation sub-process after secondary processing such as dispersion, time sorting, sampling, etc. to obtain the machine learning task data corresponding to the operation sub-process. The specific setting is based on the needs, and the present disclosure does not impose any restrictions on this.
[0048] Based on the operation flow chart, the execution of any number of complex data sources is fine-grained, and fine-grained execution result aggregation is achieved by establishing association operations. The local output and local dispersion of the final machine learning task are achieved by establishing convergence operations. By establishing vertical association dependencies between convergence operations, the global sorting and global dispersion of the final machine learning task are achieved.
[0049] In other possible embodiments, when there is a single target sample data source or multiple target sample data sources and the corresponding time intervals do not have an intersection, an operation sub-process that does not contain associated operations can be used to perform separate data processing on the multiple target sample data sources to obtain machine learning task data. The specific process can be determined based on demand and is not limited in this regard in the present disclosure.
[0050] In a possible manner, the sample data configuration information is used to indicate the sample data generated by a single target sample data source within a target time interval for training a machine learning task, and the operation sub-process includes sequentially connected time operations, data source operations, and aggregation operations; wherein the time operation is used to determine the sub-interval corresponding to the operation sub-process; the data source operation is used to obtain the sample data within the sub-interval from the single target sample data source; and the aggregation operation is used to aggregate the sample data output by the data source operation and the machine learning task data output by the previous operation sub-process of the operation sub-process based on the vertical association of the operation sub-process, so as to obtain the machine learning task data with a vertical association relationship corresponding to the operation sub-process.
[0051] For example, when the sample data configuration information configures a single target sample data source, or multiple target sample data sources and the time intervals corresponding to each of them do not have an intersection, it is used to indicate the machine learning task to train the sample data generated by the single target sample data source within the target time interval. The operation sub-process includes sequentially connected time operations, data source operations, and aggregation operations, that is, the sample data of each sample data source is processed separately, and no associated operations are required. Among them, multiple target sample data sources that do not have a time intersection also perform separate data processing based on their respective operation sub-processes to obtain machine learning task data.
[0052] It should be understood that the specific process can refer to the execution process of the above-mentioned operation sub-process including associated operations. The difference is that each operation sub-process does not include multiple data source operations or associated operations. Other processing processes are the same and the present disclosure will not elaborate on them here.
[0053] It is worth noting that, since each operation sub-process outputs machine learning task data separately, compared with the single-threaded method, the present disclosure can perceive the operation results before the entire operation flow chart is completed. And if one of the operation sub-processes is blocked, it will not affect the operation and output of other operation sub-processes.
[0054] Among other possible implementations, see Figure 5 , you can first generate a logic flow chart based on the target sample data source and the target time interval. The logic flow chart can include a time logic node (Time node), a data source logic node (Data Source node), an association logic node (Join node) and a sink logic node (Sink node). Each node corresponds to a data operation type of the task operation flow chart, where the time logic node is used to generate the time operation of the task operation flow chart, the data source logic node is used to generate the data source operation of the task operation flow chart, the association logic node is used to generate the association operation of the task operation flow chart, and the sink logic node is used to generate the sink operation of the task operation flow chart.
[0055] Then, the logic flow chart can be optimized, for example, when multiple target sample data sources have intersections in their corresponding target time intervals, the associated logic nodes of the logic flow chart are retained. Or, when there is only one target sample data source, or when multiple target sample data sources do not have intersections in their corresponding target time intervals, the associated logic nodes of the logic flow chart are deleted.
[0056] For example, if the time interval corresponding to data source A is (2024.01.01-2024.02.01), and the time interval corresponding to data source B is (2024.01.15-2024.02.15), the data of the two data sources have overlapping time intervals, and data association can be performed, then the associated logical nodes of the logic flow chart are retained, that is, the corresponding task operation flow chart includes the operation of data association. On the contrary, if there is only one data source, or the data between multiple data sources do not have overlapping time intervals, data association cannot be performed, so the associated logical nodes of the logic flow chart are deleted, that is, the corresponding task operation flow chart does not include the operation of data association.
[0057] It is worth noting that a logic flow chart including or excluding associated logic nodes can also be directly generated according to the above conditions, and the present disclosure does not limit this. By generating a logic flow chart, the operation logic flow obtained based on the sample data configuration information can be intuitively displayed, which is easy to understand or modify, and then generate a subsequent task operation flow chart for actual data processing. By optimizing the logic flow chart, unnecessary operations can be avoided, thereby improving the speed and efficiency of building machine learning tasks.
[0058] In a possible manner, controlling multiple operation sub-processes to be executed in parallel based on vertical association may include: executing the first operation sub-process among the multiple operation sub-processes to obtain all sample data within a target time interval from a target sample data source, and reading respective corresponding sample data from all sample data according to respective sub-intervals corresponding to the multiple operation sub-processes; controlling multiple operation sub-processes to execute data processing in parallel based on respective corresponding sample data according to vertical association.
[0059] For example, for small files, we should try to reduce repeated acquisition of hourly directories. For example, we can acquire data by day, and then process hourly data in each operation sub-process. Some data sources need to load metadata when acquiring data. In order to reduce the number of times metadata is loaded, we can also acquire data by day, and then process hourly data in each operation sub-process.
[0060] Continue to refer to Figure 3 , each operation sub-process is executed concurrently, and the operation sub-process 1 can obtain all sample data of the target sample data source within the target time interval, and then divide all sample data into multiple sample data according to the sub-intervals, and then one operation sub-process performs data processing on the sample data of one sub-interval, that is, Figure 3 The dotted process of the Data SourceOP shown is set according to specific requirements, and the present disclosure does not limit this.
[0061] It should be understood that it is also possible to first obtain sample data for part of the target time interval. For example, if the target time interval corresponding to the target sample data source is one month, then the data for one month can be obtained at one time, and then divided into multiple sub-data by day or hour. Alternatively, the data can be obtained in batches by day, and then the data for one day can be divided into multiple sub-data by hour. Then, one operation sub-process performs data processing on the sample data of one sub-interval. The specific setting is based on the needs, and the present disclosure does not impose any restrictions on this.
[0062] In addition, refer to Figure 6, one of the operation sub-processes can perform data acquisition and data splitting, or one of the operation sub-processes can perform data acquisition, and then other operation sub-processes obtain all sample data from the operation sub-process and split it by themselves. The specific setting is based on the needs, and the present disclosure does not limit this, so that OP calculation fusion, calculation reuse and data splitting can be achieved, avoiding repeated calculations and causing waste of resources.
[0063] The above process is equivalent to optimizing the task operation flowchart, providing a method for constructing OP-fused machine learning tasks, which can convert discrete small data acquisition methods into fused data batch methods to improve data processing efficiency. Based on the task operation flowchart, the horizontal dependency relationship of machine learning tasks can be established, that is, the dependency relationship of each operation sub-process in sequence, and the vertical dependency relationship of training tasks can also be established, such as Figure 3 The dotted parts of the Data Source OP and Sink OP shown in the figure further implement concurrency control by managing the operation execution queue.
[0064] Furthermore, the execution process of the task operation flow chart can be further optimized based on the complexity of the data operation. In a possible manner, the method also includes: classifying the operations in each operation sub-process in the task operation flow chart to obtain a first type of operation and a second type of operation, the complexity of the first type of operation is greater than the complexity threshold, and the complexity of the second type of operation is not greater than the complexity threshold; then controlling multiple operation sub-processes to execute in parallel based on vertical association, including: executing the first type of operation in a first-in-first-out manner in the first thread pool, and executing the second type of operation in a first-in-first-out manner in the second thread pool, wherein the upper limit of the concurrency of data operations supported by the first thread pool is less than the upper limit of the concurrency of data operations supported by the second thread pool.
[0065] For example, refer to Figure 7 Different OPs can be isolated by setting different WorkerPools (worker pools or thread pools). Complex calculation OPs such as Data Source OP can be processed by the first thread pool WorkerPool 1, and simple OPs such as Time OP can be processed by the second thread pool WorkerPool 2. The operation complexity can be determined based on the calculation time and the calculation resources consumed. Generally, the more time and resources are consumed, the higher the operation complexity. The complexity threshold can be set according to the needs, and the present disclosure does not limit this.
[0066] Among them, WorkerPool 1 and WorkerPool 2 can support different upper limits of concurrent data operations. For example, WorkerPool 1 can perform 4 data operations at the same time, WorkerPool 2 can perform 64 data operations at the same time, and so on. The number of the first thread pool and the second thread pool can be one or more, and the present disclosure does not limit this. Data operations in the same WorkerPool can be executed in a first-in-first-out order. Through the priority mechanism and isolation mechanism of data operations, a balance between computing resources and computing efficiency can be achieved, thereby avoiding incompressible resources such as memory in the calculation causing training OOM (out of memory) to stop.
[0067] In a possible manner, the method also includes: for each operation sub-process, before the target data operation in the operation sub-process is executed, determining that the data operation before the target data operation is completed, and after the target data operation is executed and the data operation result of the target data operation is acquired by the next data operation, releasing the system resources occupied by the target data operation.
[0068] For example, continue with Figure 3 For each operation sub-process, before each OP is executed, it can be checked whether the input of the OP has been completed. If not, it will be suspended to wait for the operation result of the upstream OP, and the data operation result obtained after each OP is executed is cached, and the OP is marked as completed. For the completed OP and all downstream OPs that have obtained the data operation results of the OP, regular cleaning is performed to release the occupied system resources, where the system resources can include at least one of memory resources, temporary file resources, CPU time, network bandwidth and other resources.
[0069] It is worth noting that, referring to Figure 8 , build a logical flowchart based on the target sample data source and the target time interval corresponding to the target sample data source, and then optimize the logical flowchart, and then build a task operation flowchart including multiple operation sub-processes based on the logical flowchart, and then optimize the task operation flowchart, including the execution priority of OP and isolated execution by thread pool, as well as unified data acquisition and then split processing, etc., execute the task operation flowchart, obtain machine learning task data, and finally build a machine learning task based on the machine learning task data to obtain a machine learning task queue.
[0070] The above method is used to organize and arrange sample data for machine learning model training, build machine learning tasks based on large-scale OP graph traversal, and realize the construction from sample metadata to machine learning tasks. It can also realize the arrangement of sample data from different sample data sources in the same time interval, and the data association of sample data from multiple target data sources, that is, through the input and output of an operation sub-process, a set of local machine learning task data based on a certain association relationship is generated, and then the corresponding machine learning task list can be obtained.
[0071] In addition, it is also necessary to implement the arrangement of sample data between different time intervals to obtain multiple groups of machine learning task data, and then obtain multiple groups of machine learning task lists. Different machine learning task data can also be scattered, time-sorted, sampled, and other secondary processing. And for complex data operations, such as Data Source OP that requires a large amount of computing resources or storage resources to implement metadata scanning, they are isolated and executed through different WorkerPools to avoid excessive use of resources and improve the stability of the task operation flowchart during the execution process. And based on WorkerPool, a concurrent execution mechanism for data operations is implemented to accelerate the execution speed of operation sub-processes and improve the construction speed and efficiency of machine learning tasks.
[0072] Based on the same concept, the embodiment of the present disclosure also provides a machine learning task construction processing device, such as Fig. 9 As shown, the machine learning task construction processing device 900 includes: An acquisition module 901 is used to acquire sample data configuration information corresponding to a machine learning task, where the sample data configuration information is used to indicate sample data generated by a target sample data source for training the machine learning task within a target time interval; An arrangement module 902 is used to arrange the task operation flow chart according to the sample data configuration information, wherein the task operation flow chart includes a plurality of operation sub-processes arranged horizontally in chronological order and configured with vertical associations, wherein one operation sub-process corresponds to a sub-interval of the target time interval, and is used to obtain sample data in the corresponding sub-interval from the target sample data source, and determine the machine learning task data based on the sample data; The execution module 903 is used to control the parallel execution of the multiple operation sub-processes based on the vertical association, obtain the target machine learning task data with a vertical association relationship, and construct the machine learning task based on the target machine learning task data.
[0073] Optionally, the arrangement module 902 includes: A determination module, configured to determine the target sample data source and the target time interval according to the sample data configuration information; A first construction module is used to construct an operation sub-flow, wherein the operation sub-flow is used to instruct to perform data processing according to the ordered data processing operations corresponding to the target sample data source; A division module, used to divide the target time interval into a plurality of sub-intervals that are continuous in time, and configure a corresponding operation sub-process for each sub-interval, so that one sub-interval corresponds to one operation sub-process; The second construction module is used to vertically associate the operation sub-processes corresponding to the multiple sub-intervals in a time-series manner to construct the task operation flow chart.
[0074] Optionally, the sample data configuration information is used to instruct the machine learning task to train sample data generated by multiple target sample data sources within their respective corresponding target time intervals; The first building block is used to: When target time intervals corresponding to multiple target sample data sources overlap, a data operation sub-process including an association operation is constructed, wherein the association operation is used to perform data association on sample data from different target sample data sources at the time intersection.
[0075] Optionally, the sample data configuration information is used to instruct the machine learning task to train sample data generated by multiple target sample data sources within their respective corresponding target time intervals, and the operation sub-process includes sequentially connected time operations, data source operations, association operations, and aggregation operations; Among them, the time operation is used to determine the sub-interval corresponding to the operation sub-process; the data source operation is used to obtain sample data within the sub-interval from the multiple target sample data sources; the association operation is used to perform data association on the multiple sample data obtained by executing the data source operation to obtain target associated data; the aggregation operation is used to aggregate the target associated data and the machine learning task data output by the previous operation sub-process of the operation sub-process based on the vertical association of the operation sub-process, so as to obtain the machine learning task data corresponding to the operation sub-process with the vertical association relationship.
[0076] Optionally, the sample data configuration information is used to indicate the sample data generated by a single target sample data source in a target time interval for training the machine learning task, and the operation sub-process includes sequentially connected time operations, data source operations, and aggregation operations; Among them, the time operation is used to determine the sub-interval corresponding to the operation sub-process; the data source operation is used to obtain sample data within the sub-interval from the single target sample data source; the aggregation operation is used to aggregate the sample data output by the data source operation and the machine learning task data output by the previous operation sub-process of the operation sub-process based on the vertical association of the operation sub-process, so as to obtain the machine learning task data corresponding to the operation sub-process with the vertical association relationship.
[0077] Optionally, the execution module 903 is used to: Executing a first operation sub-flow among the multiple operation sub-flows to obtain all sample data within a target time interval from the target sample data source, and reading the respective corresponding sample data from the all sample data according to the respective corresponding sub-intervals of the multiple operation sub-flows; The plurality of operation sub-processes are controlled according to the vertical association to perform data processing in parallel based on the respective corresponding sample data.
[0078] Optionally, the machine learning task construction processing device 900 further includes: A classification module, used for classifying the operations in each operation sub-process of the task operation flow chart into a first type of operation and a second type of operation, wherein the complexity of the first type of operation is greater than a complexity threshold, and the complexity of the second type of operation is not greater than the complexity threshold; Then the execution module 903 is used to: The first type of operation is executed in a first-in-first-out manner in a first thread pool, and the second type of operation is executed in a first-in-first-out manner in a second thread pool, wherein an upper limit of concurrent data operations supported by the first thread pool is less than an upper limit of concurrent data operations supported by the second thread pool.
[0079] Optionally, the machine learning task construction processing device 900 further includes: A release module is used to determine, for each operation sub-process, before the target data operation in the operation sub-process is executed, that the data operation before the target data operation is completed, and to release the system resources occupied by the target data operation after the target data operation is executed and the operation result of the target data operation is obtained by the next data operation.
[0080] Based on the same concept, an embodiment of the present disclosure also provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processing device, the steps of the above-mentioned machine learning task construction processing method are implemented.
[0081] Based on the same concept, the present disclosure also provides an electronic device, which may include: a storage device having a computer program stored thereon; A processing device is used to execute the computer program in the storage device to implement the steps of the above-mentioned machine learning task construction processing method.
[0082] Based on the same concept, an embodiment of the present disclosure also provides a computer program product, including a computer program, which implements the steps of the above-mentioned machine learning task construction processing method when executed by a processor.
[0083] Reference below Fig.10 , which shows a schematic diagram of the structure of an electronic device 1000 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.10 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0084] like Fig.10 As shown, the electronic device 1000 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1008 to a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the electronic device 1000 are also stored. The processing device 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0085] Typically, the following devices may be connected to the I / O interface 1005: an input device 1006 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1007 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1008 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 may allow the electronic device 1000 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.10 The electronic device 1000 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0086] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 1009, or installed from a storage device 1008, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0087] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0088] In some embodiments, any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol) can be used for communication, and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0089] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0090] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: obtains sample data configuration information corresponding to the machine learning task, and the sample data configuration information is used to indicate the sample data generated by the target sample data source of the machine learning task training within the target time interval; arranges the task operation flow chart according to the sample data configuration information, and the task operation flow chart includes multiple operation sub-processes that are horizontally arranged in chronological order and configured with vertical associations, wherein an operation sub-process corresponds to a sub-interval of the target time interval, and is used to obtain sample data within the corresponding sub-interval from the target sample data source, and determine the machine learning task data based on the sample data; controls the parallel execution of the multiple operation sub-processes based on the vertical association, obtains the target machine learning task data with a vertical association relationship, and constructs the machine learning task based on the target machine learning task data.
[0091] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0092] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0093] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a module does not, in some cases, limit the module itself.
[0094] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that may be used include, without limitation, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0095] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0096] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0097] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0098] Although the subject matter has been described in language specific to structural features and / or method logic actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims. Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Claims
1. A method for constructing and processing a machine learning task, characterized in that: The method comprises: Obtaining sample data configuration information corresponding to a machine learning task, wherein the sample data configuration information is used to indicate sample data generated by a target sample data source for training the machine learning task within a target time interval; Arranging the task operation flow chart according to the sample data configuration information, the task operation flow chart includes a plurality of operation sub-flows arranged horizontally in chronological order and configured with vertical associations, wherein one operation sub-flow corresponds to a sub-interval of the target time interval, and is used to obtain sample data in the corresponding sub-interval from the target sample data source, and determine the machine learning task data based on the sample data; Based on the vertical association, the multiple operation sub-processes are controlled to be executed in parallel to obtain target machine learning task data with a vertical association relationship, and the machine learning task is constructed based on the target machine learning task data.
2. The method for constructing a machine learning task according to claim 1, wherein: The task operation flow chart is obtained by arranging according to the sample data configuration information, including: Determine the target sample data source and the target time interval according to the sample data configuration information; Constructing an operation sub-flow, wherein the operation sub-flow is used to instruct to perform data processing according to the ordered data processing operations corresponding to the target sample data source; Divide the target time interval into a plurality of sub-intervals that are continuous in time, and configure a corresponding operation sub-process for each sub-interval, so that one sub-interval corresponds to one operation sub-process; The operation sub-processes corresponding to the plurality of sub-intervals are vertically associated in a time-series manner to construct the task operation flow chart.
3. The method for constructing a machine learning task according to claim 2, wherein: The sample data configuration information is used to instruct the machine learning task to train the sample data generated by multiple target sample data sources within their respective corresponding target time intervals; The construction operation sub-process includes: When target time intervals corresponding to multiple target sample data sources overlap, a data operation sub-process including an association operation is constructed, wherein the association operation is used to perform data association on sample data from different target sample data sources at the time intersection.
4. The method for constructing a machine learning task according to any one of claims 1 to 3, characterized in that: The sample data configuration information is used to instruct the machine learning task to train the sample data generated by multiple target sample data sources within their respective corresponding target time intervals, and the operation sub-process includes sequentially connected time operations, data source operations, association operations, and aggregation operations; Among them, the time operation is used to determine the sub-interval corresponding to the operation sub-process; the data source operation is used to obtain sample data within the sub-interval from the multiple target sample data sources; the association operation is used to perform data association on the multiple sample data obtained by executing the data source operation to obtain target associated data; the aggregation operation is used to aggregate the target associated data and the machine learning task data output by the previous operation sub-process of the operation sub-process based on the vertical association of the operation sub-process, so as to obtain the machine learning task data corresponding to the operation sub-process with the vertical association relationship.
5. The method for constructing a machine learning task according to any one of claims 1 to 3, characterized in that: The sample data configuration information is used to indicate the sample data generated by a single target sample data source in a target time interval for training the machine learning task, and the operation sub-process includes sequentially connected time operations, data source operations, and aggregation operations; Among them, the time operation is used to determine the sub-interval corresponding to the operation sub-process; the data source operation is used to obtain sample data within the sub-interval from the single target sample data source; the aggregation operation is used to aggregate the sample data output by the data source operation and the machine learning task data output by the previous operation sub-process of the operation sub-process based on the vertical association of the operation sub-process, so as to obtain the machine learning task data corresponding to the operation sub-process with the vertical association relationship.
6. The method for constructing a machine learning task according to any one of claims 1 to 3, characterized in that: The controlling the parallel execution of the plurality of operation sub-processes based on the vertical association comprises: Executing a first operation sub-flow among the multiple operation sub-flows to obtain all sample data within a target time interval from the target sample data source, and reading the respective corresponding sample data from the all sample data according to the respective corresponding sub-intervals of the multiple operation sub-flows; The plurality of operation sub-processes are controlled according to the vertical association to perform data processing in parallel based on the respective corresponding sample data.
7. The method for constructing a machine learning task according to any one of claims 1 to 3, characterized in that: The method further comprises: Classifying the operations in each operation sub-process of the task operation flow chart into a first category of operations and a second category of operations, wherein the complexity of the first category of operations is greater than a complexity threshold, and the complexity of the second category of operations is not greater than the complexity threshold; Then the controlling the parallel execution of the multiple operation sub-processes based on the vertical association includes: The first type of operation is executed in a first-in-first-out manner in a first thread pool, and the second type of operation is executed in a first-in-first-out manner in a second thread pool, wherein an upper limit of concurrent data operations supported by the first thread pool is less than an upper limit of concurrent data operations supported by the second thread pool.
8. The method for constructing a machine learning task according to any one of claims 1 to 3, characterized in that: The method further comprises: For each operation sub-process, before the target data operation in the operation sub-process is executed, it is determined that the data operation before the target data operation is completed, and after the target data operation is executed and the operation result of the target data operation is obtained by the next data operation, the system resources occupied by the target data operation are released.
9. A machine learning task construction processing device, characterized in that: The device comprises: An acquisition module is used to acquire sample data configuration information corresponding to a machine learning task, wherein the sample data configuration information is used to indicate sample data generated by a target sample data source for training the machine learning task within a target time interval; an arrangement module, configured to arrange the task operation flow chart according to the sample data configuration information, wherein the task operation flow chart includes a plurality of operation sub-processes arranged horizontally in chronological order and configured with vertical associations, wherein one operation sub-process corresponds to a sub-interval of the target time interval, and is configured to obtain sample data in the corresponding sub-interval from the target sample data source, and determine the machine learning task data based on the sample data; An execution module is used to control the parallel execution of the multiple operation sub-processes based on the vertical association, obtain target machine learning task data with a vertical association relationship, and construct the machine learning task based on the target machine learning task data.
10. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processing device, the steps of the method according to any one of claims 1 to 8 are implemented.
11. An electronic device, characterized in that: include: a storage device having a computer program stored thereon; A processing device, configured to execute the computer program in the storage device to implement the steps of the method according to any one of claims 1 to 8.
12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
