Missing value filling device, missing value filling method and computer readable medium
By simulating and measuring the completion processing time and the corresponding reuse number, the calculation method of the multiple substitution method is adjusted, which solves the problem of large calculation amount of the multiple substitution method in real-time data completion, and realizes the efficient completion of missing values within the specified time. Improved accuracy and efficiency.
Patent Information
- Application Number
- CN202010311421.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-04-22
- Filing Date
- 2020-04-20
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2040-04-20
AI Technical Summary
The multiple substitution method cannot effectively complete missing values within a few seconds during real-time data collection, resulting in a large amount of calculation and difficulty in completing missing value completion within a determined time.
Measure the time required for completion processing through simulation, correspond it to the reuse number of the multiple substitution method, and obtain the reuse number within the specified allowed time to determine the calculation method, and adjust the reuse number to reduce deviation and calculation amount .
Suppressing deviations and effectively completing missing values within a specified time improves data estimation accuracy and calculation efficiency, and reduces processing load and calculation time.
Smart Images

Figure CN111831631B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an apparatus, method and program for completing missing values of collected data. Background Art
[0002] Currently, systems are used that sequentially acquire data such as torque, vibration, and current resistance from industrial machines such as machine tools and robots and calculate the degree of abnormality. However, data loss occurs depending on the source of such data, so input to the system may not be obtained.
[0003] In response to this, various methods for filling missing values in data have been proposed. In particular, the multiple substitution method is widely used as a method with less deviation (for example, refer to non-patent document 1). For example, in patent documents 1 and 2, a system for filling missing value technology using the multiple substitution method is proposed.
[0004] Patent Literature
[0005] Patent Document 1: International Publication No. 2014 / 199920
[0006] Patent Document 2: Japanese Patent Application Publication No. 2012-251777
[0007] Non-patent literature
[0008] Non-patent document 1: Takahashi Masayoshi, Ito Takayuki, "Comparison of various multiple substitution algorithms", Statistical Research Report No. 71, March 2014
[0009] Problems to be solved by the invention
[0010] However, the multiple substitution method requires a large amount of calculation and takes a long time depending on the conditions. Therefore, when the collected data is to be used in real time, it is difficult to fill in the missing values within a predetermined time (for example, within a few seconds). Summary of the invention
[0011] Solution
[0012] As one embodiment of the present invention, a missing value completion device completes the missing values of collected data and comprises: a measuring unit, which measures the time required for completion processing through simulation and corresponds the required time to the multiplexing number of each data multiplexed by the multiple substitution method; an acquiring unit, when the allowed time for the above-mentioned completion processing is specified, the acquiring unit acquires the above-mentioned multiplexing number for terminating the above-mentioned completion processing within the above-mentioned allowed time based on the corresponding above-mentioned required time; and a determining unit, which determines the calculation method of the above-mentioned completion processing based on the acquired above-mentioned multiplexing number.
[0013] A missing value filling method as one embodiment of the present invention is a method for filling missing values of collected data, and a computer executes the following steps: a measuring step, measuring the time required for the filling process through simulation, and matching the required time with the multiplexing number of each data multiplexed by the multiple substitution method; an acquiring step, when the allowed time for the filling process is specified, acquiring the multiplexing number for terminating the filling process within the allowed time according to the corresponding required time; and a determining step, determining the calculation method of the filling process according to the acquired multiplexing number.
[0014] A missing value completion program as one embodiment of the present disclosure causes a computer to function as the missing value completion device.
[0015] According to one embodiment, it is possible to suppress deviations and fill in missing values within a specified time. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 An overview of a multiple substitution method according to one embodiment will be described.
[0017] Figure 2 The functional structure of a missing value completion device according to one embodiment is shown.
[0018] Figure 3 The estimation result of the missing value when the multiplexing number is changed according to one embodiment is illustrated.
[0019] Figure 4 This is a flowchart showing a method for determining a calculation method used in a missing value completion process of a missing value completion device according to one embodiment.
[0020] Description of Reference Numerals
[0021] 1: missing value completion device, 10: control unit, 11: data collection unit, 12: completion processing unit (measurement unit), 13: time designation unit (designation unit), 14: multiplexing number acquisition unit (acquisition unit), 15: calculation method determination unit (determination unit), 20: storage unit. DETAILED DESCRIPTION
[0022] Hereinafter, an example of an embodiment of the present invention will be described.
[0023] The missing value completion device 1 of the present embodiment completes and outputs missing values of acquired data in operation management software of industrial machinery or the like.
[0024] The missing value completion device 1 mainly uses the multiple substitution method as a method of completing missing values, and adjusts the multiplexing number described later as a parameter according to the usage status of the acquired data.
[0025] Figure 1The outline of the multiple substitution method of this embodiment will be described.
[0026] In the multiple substitution method, M (eg, 5) simulated values are extracted from the posterior distribution of missing values conditioned on the data observed in the incomplete data, and a completed data set is generated.
[0027] These M data sets are statistically analyzed separately, and the results are combined to calculate the estimated value as the final result.
[0028] At this time, the larger the reuse number M is, the smaller the deviation is, and a more accurate estimated value is obtained, but the amount of calculation increases, and the completion process will not be completed before the data starts to be used for drawing a graph, etc.
[0029] Therefore, the missing value completion device 1 completes the calculation within the specified time and determines the multiplexing number M that minimizes the deviation as much as possible.
[0030] Figure 2 The functional structure of the missing value completion device 1 according to the present embodiment is shown.
[0031] The missing value completion device 1 is an information processing device (computer) such as a server device or a personal computer, and includes a control unit 10 , a storage unit 20 , and various input / output and communication devices.
[0032] The control unit 10 is a part that controls the entire missing value completion device 1, and implements various functions of the present embodiment by reading and executing software (missing value completion program) stored in the storage unit 20. The control unit 10 may be a CPU.
[0033] The control unit 10 also includes a data collection unit 11 , a complement processing unit 12 (measurement unit), a time specification unit 13 (specification unit), a multiplexing number acquisition unit 14 (acquisition unit), and a calculation method determination unit 15 (determination unit).
[0034] The storage unit 20 is a storage area for various programs and various data for causing the hardware group to function as the missing value completing device 1 , and may be a ROM, a RAM, a flash memory, a hard disk drive (HDD), or the like.
[0035] The data collection unit 11 receives data generated by the missing value supplementation device 1 itself or time series data from an external machine, such as torque, vibration, and resistance value of current.
[0036] The complement processing unit 12 measures the time required for the complement processing by simulation in an actual situation of performing the complement processing in data collection, etc. Specifically, the complement processing unit 12 simulates each multiplexing number M of the data set multiplexed by the multiple substitution method, and stores the required time and the multiplexing number M in the storage unit 20 in correspondence.
[0037] Furthermore, when a missing value actually occurs in the data collected by the data collection unit 11 , the completion processing unit 12 performs a missing value completion process using the calculation method determined by the calculation method determination unit 15 .
[0038] The time designation unit 13 acquires the time from the data collection time to the data use start time, and designates the acquired time as the allowable time for the completion process. The use start time is, for example, the time when the graph of the collected data is started to be drawn, but the end time of the drawing or the start time estimated from the end time may also be used.
[0039] When the allowed time for the complementary process is designated, the multiplex number acquisition unit 14 acquires the multiplex number M for completing the complementary process within the allowed time based on the correspondence between the multiplex number M and the required time stored in the storage unit 20 .
[0040] Specifically, the multiplexing number acquisition unit 14 determines the maximum value of the multiplexing number M for completing the complementation process within the allowed time period.
[0041] The calculation method determination unit 15 determines a calculation method for the complementation process based on the multiplexing number M acquired by the multiplexing number acquisition unit 14. Specifically, the calculation method determination unit 15 determines, for example, a multiple substitution method using the acquired multiplexing number M as a parameter as the calculation method.
[0042] At this time, the calculation method determination unit 15 can determine the calculation method using the multiple substitution method with the smaller of the minimum value of the multiplexing number M for which the index based on the efficiency of the loss rate and the multiplexing number M exceeds the predetermined value or the maximum value obtained by the multiplexing number acquisition unit 14 as a parameter.
[0043] For example, in the above-mentioned Non-Patent Document 1, the asymptotic relative efficiency ARE (Asymptotic Relative Efficiency) of the multiple substitution method is defined as follows.
[0044] ARE=(1+δ / M) -1 / 2 ×100
[0045] The calculation method determination unit 15 calculates the data missing rate δ (%) based on the used data set, and obtains the relationship between M and ARE. Furthermore, the calculation method determination unit 15 compares the minimum value of M for which the ARE exceeds a predetermined value (e.g., 95%) with the maximum value obtained by the multiplexing number acquisition unit 14, and can use the smaller one as a parameter of the multiple substitution method.
[0046] In addition, in the simulation of the complement processing, as the multiplexing number M increases, when the estimated value of the complement processing matches the predetermined number of times continuously within the specified range of valid bits, the calculation method determination unit 15 compares the continuously starting multiplexing number M with the maximum value obtained by the multiplexing number acquisition unit 14, and can determine the smaller one as the parameter of the multiple substitution method.
[0047] Figure 3 The estimation results of missing values when the multiplexing number M is changed according to the present embodiment are exemplified.
[0048] When the estimated value for filling the missing value is calculated while increasing the reuse number M, the estimated value converges to a predetermined value. Therefore, when determining the number of significant digits of the target data, when the reuse number M is greater than a certain number, the estimated value is consistent within the range of the significant digits.
[0049] For example, when two decimal places are valid, when the estimated value falls within a predetermined range such as 12.750 to 12.759 continuously (for example, 4 times), the multiple substitution method can be performed by setting M1 in the figure as the upper limit of the multiplexing number M. Alternatively, M2 or M3 can be selected as the upper limit more safely.
[0050] When the multiplexing number acquisition unit 14 cannot acquire the maximum value of the multiplexing number M, such as the multiplexing number M that can complete the complementation process within the allowed time, the calculation method determination unit 15 determines a predetermined complementation method as the calculation method instead of the multiple substitution method.
[0051] In addition, the method of completion is not limited to a predetermined method, and for example, constant completion, integrated value (average value, median value, etc.) completion, predicted value completion based on data without missing data, time series relationship completion, maximum likelihood method, etc. can be used.
[0052] Figure 4 This is a flowchart showing a method of determining a calculation method used in a completion process of the missing value completion device 1 according to the present embodiment.
[0053] In step S1 , the time designation unit 13 automatically designates the allowed time T from the time data is collected until missing value complementation is completed, based on an input from the user or based on the data usage status.
[0054] In step S2, the completion processing unit 12 performs the completion processing of the multiplexing method for the multiplexing number M=1, 2, 3, ... under the same conditions as when the missing value actually occurs, and measures the time T until the completion of the completion processing by simulation. M .
[0055] In step S3, the multiplexing number acquisition unit 14 acquires the number of M <T<TM+1 The multiplexing number M.
[0056] In step S4 , the calculation method determination unit 15 determines whether the multiplexing number M is acquired in step S3 . If the determination is yes, the process proceeds to step S5 , and if the determination is no, the process proceeds to step S6 .
[0057] In step S5 , the calculation method determination unit 15 determines the multiple substitution method using the multiplexing number M as a parameter as the calculation method for the complementation process.
[0058] In step S6 , the calculation method determination unit 15 determines another completion method as a calculation method for the completion process instead of the multiple substitution method.
[0059] Through this series of processes, the missing value completion device 1 appropriately determines the multiple substitution method or other completion methods using the multiplexing number M as a parameter as the calculation method for the completion process.
[0060] Thereafter, when missing values occur in the actually collected data, the completion processing unit 12 of the missing value completion device 1 executes the missing value completion processing by the determined calculation method.
[0061] In addition, the execution order of the processing steps is not limited to this. For example, steps S1 and S2 are exchanged, and the completion processing unit 12 pre-stores the multiplexing number M and the processing time T M By matching the obtained data, it is possible to select an appropriate multiplexing number M when specifying the allowed time T. In this way, even when the allowed time T is changed during data collection, the multiplexing number acquisition unit 14 can immediately acquire the multiplexing number M.
[0062] In addition, the calculation methods determined in steps S5 and S6 may be registered in advance in a database or the like, respectively, for the multiplexing number M.
[0063] According to this embodiment, for example, the following effects are obtained.
[0064] (1) A missing value completion device 1 for completing missing values of collected data comprises: a measuring unit (completion processing unit 12), which measures the time required for the completion processing by simulation, and corresponds the required time to the multiplexing number of each data multiplexed by the multiple substitution method; an acquiring unit (multiplexing number acquiring unit 14), which, when specifying the allowed time for the above-mentioned completion processing, acquires the above-mentioned multiplexing number for completing the above-mentioned completion processing during the above-mentioned allowed time according to the corresponding above-mentioned required time; and a determining unit (calculation method determining unit 15), which determines the calculation method of the above-mentioned completion processing according to the acquired above-mentioned multiplexing number.
[0065] In this way, the missing value completion device 1 obtains the multiplexed number for completing the completion process within the allowed time, and can therefore complete the missing values by suppressing variations using the multiple substitution method within the specified allowed time.
[0066] (2) The missing value complementation device 1 described in (1) includes: a designation unit (time designation unit 13) that acquires the time from the collection time of the above-mentioned data to the use start time of the data, and designates the acquired time as the above-mentioned allowed time.
[0067] In this way, the missing value completion device 1 can automatically acquire the allowed time, and thus can efficiently determine an appropriate calculation method for completion.
[0068] (3) In the missing value complementing device 1 described in (1) or (2), the acquisition unit (multiple-use number acquisition unit 14) may acquire a maximum value of the multiplexed numbers for completing the complementing process within the allowed time period.
[0069] In this way, the missing value completion device 1 maximizes the number of multiplexing under the condition that the completion process is completed within the allowed time period, so that the deviation can be minimized and the estimation accuracy of the missing value can be improved.
[0070] (4) In the missing value completion device 1 recorded in (3), the above-mentioned determination unit (calculation method determination unit 15) determines the above-mentioned calculation method as the above-mentioned calculation method by a multiple substitution method using the smaller of the above-mentioned maximum value obtained by the above-mentioned acquisition unit (multiplexing number acquisition unit 14) as a parameter, based on the missing rate and the efficiency index of the above-mentioned multiplexing number exceeding a predetermined value.
[0071] In this way, the missing value completion device 1 sets the upper limit of the multiplexing number that can obtain sufficient estimation accuracy based on the efficiency index (ARE), so that the processing load and calculation time can be reduced.
[0072] (5) In the missing value completion device 1 described in (3), when the estimated value of the completion processing matches a predetermined number of times continuously within the range of a specified number of valid bits as the multiplexing number increases in the simulation, the determination unit (calculation method determination unit 15) determines the calculation method as the multiple substitution method using the smaller of the multiplexing number starting from the continuous start or the maximum value obtained by the acquisition unit (multiplexing number acquisition unit 14) as a parameter.
[0073] In this way, the missing value completion device 1 sets the upper limit of the multiplexing number that can obtain sufficient estimation accuracy according to the number of significant digits of necessary data, so that the processing load and calculation time can be reduced.
[0074] (6) In the missing value completion device 1 recorded in any one of (1) to (5), the above-mentioned determination unit (calculation method determination unit 15) determines a predetermined completion method to replace the above-mentioned multiple substitution method as the above-mentioned calculation method when the above-mentioned acquisition unit (multiple-use number acquisition unit 14) is unable to acquire the above-mentioned multiplexed number.
[0075] As described above, the missing value completion device 1 uses another calculation method when the completion process is not completed within the allowed time in the multiple substitution method, so it is possible to prevent the missing value from not being completed.
[0076] The embodiments of the present invention have been described above, but the present invention is not limited to the above embodiments. In addition, the effects described in the embodiments are merely the best effects produced by the present invention, and the effects of the present invention are not limited to the contents described in the embodiments.
[0077] The method is not limited to a specific algorithm of the multiple substitution method. For example, predictive mean matching can be used as a prediction method, and linear regression can be used as an analysis method. In addition, different prediction methods and analysis methods can be used depending on the number of multiplexing.
[0078] The missing value filling method of the missing value filling device 1 is implemented by software. When implemented by software, the program constituting the software is installed in a computer. In addition, these programs can be recorded in a removable medium and released to the user, or downloaded to the user's computer via a network for distribution.
Claims
1. A missing value filling device, which fills in the missing values of collected data, It is characterized in that The missing value completion device has: a measuring unit that measures a time required for the complement process by simulation and associates the required time with the multiplexing number of each data multiplexed by the multiple substitution method; an acquisition unit, which, when the allowed time for the supplementary process is specified, acquires the multiplexing number for completing the supplementary process within the allowed time based on the corresponding required time; and A determination unit determines a calculation method for the complement processing according to the acquired multiplexing number.
2. The missing value completion device according to claim 1, characterized in that: The missing value complementing device includes a designating unit that acquires a time from a time when the data is collected to a time when the data starts to be used, and designates the acquired time as the allowed time.
3. The missing value completion device according to claim 1 or 2, characterized in that: The acquisition unit acquires a maximum value of the multiplex numbers for which the complementation process is completed within the allowed time.
4. The missing value completion device according to claim 3, characterized in that: The determination unit determines as the calculation method a multiple substitution method using as parameters the smaller of the minimum value of the multiplexing number for which the index based on the loss rate and the efficiency of the multiplexing number exceeds a predetermined value and the maximum value acquired by the acquisition unit.
5. The missing value completion device according to claim 3, characterized in that: In the above simulation, as the above-mentioned multiplexing number increases, when the estimated value of the above-mentioned completion processing matches the predetermined number of times continuously within the range of the specified effective number of bits, the above-mentioned determination unit will determine the above-mentioned calculation method as the multiple substitution method using the smaller of the above-mentioned multiplexing number starting from the continuous start or the above-mentioned maximum value obtained by the acquisition unit as a parameter.
6. The missing value completion device according to any one of claims 1 to 5, characterized in that: When the acquisition unit cannot acquire the multiplexing number, the determination unit determines a predetermined complementation method as the calculation method instead of the multiple substitution method.
7. A missing value filling method, the missing value filling method fills the missing values of the collected data, It is characterized in that The missing value filling method is performed by a computer in the following steps: a measuring step of measuring a time required for the complement process by simulation and associating the required time with the multiplexing number of each data multiplexed by the multiple substitution method; an acquisition step, in which, when the allowed time for the supplementary process is specified, the multiplexing number for completing the supplementary process within the allowed time is acquired based on the corresponding required time; and A determination step, in which a calculation method of the complement processing is determined based on the acquired multiplexing number.
8. A computer-readable medium, characterized in that The computer-readable medium records a missing value completion program for causing a computer to function as the missing value completion device according to any one of claims 1 to 6.
