Water level prediction model construction method, water level prediction model construction program, predicted water level data output method, predicted water level data output program, water level prediction accuracy rate calculation method, and water level prediction accuracy rate calculation program
By selectively using water level and rainfall data during fluctuations and steady periods, and calculating error margins, the method improves the accuracy of water level predictions near peaks and in steady states, addressing imbalances in existing models.
Patent Information
- Application Number
- JP2024045639
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2024-03-21
- Publication Date
- 2024-10-11
AI Technical Summary
Existing water level prediction models using machine learning face challenges in accurately predicting both high water levels near peaks and low, steady water levels due to imbalanced training data selection and the impact of environmental changes, leading to inaccuracies in predictions.
The method involves selectively extracting water level data during fluctuations and steady periods for training, constructing multiple models, and choosing the one with the smallest error, while using observed rainfall data for verification and calculating prediction accuracy rates to improve model reliability.
This approach enhances the accuracy of predicting high water levels near peaks and low, steady water levels by appropriately selecting and rejecting training data, and calculating error margins, thereby improving the reliability of water level predictions.
Smart Images

Figure 2024144260000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a technology for predicting water levels of rivers and the like using machine learning. [Background technology]
[0002] A technology for predicting the water level of a river or the like using machine learning is disclosed in Patent Document 1 and the like. In the training stage, a water level prediction model such as a neural network is constructed using training data for water level learning. In the verification stage, verification data for verifying the water level prediction model is input to the water level prediction model, and the generalization performance of the water level prediction model is evaluated. In the prediction stage, test data for water level prediction is input to the water level prediction model, and the water level of the river or the like is predicted. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2019-095240 A Summary of the Invention [Problem to be solved by the invention]
[0004] In Patent Document 1, as training data required for learning about high water levels at a certain time at a water level prediction point (particularly near the water level peak that is the standard for issuing evacuation advisories, etc.), water level data above a water level peak extraction threshold is extracted from water level data from the past from the water level prediction point or upstream of the water level prediction point prior to that time, and water level data below the water level peak extraction threshold is discarded.
[0005] In other words, the water level data when the water level fluctuates is extracted as training data because it is necessary for learning the water level near the water level peak, although it only accounts for a portion of the total water level data. On the other hand, the water level data when the water level does not fluctuate is discarded as training data because it accounts for the majority of the total water level data and becomes noise in learning the water level near the water level peak.
[0006] Fig. 1 shows the training data extraction process of the conventional technology. During the training data period, water level data equal to or greater than the water level peak extraction threshold is extracted, but water level data less than the water level peak extraction threshold is discarded. During the transition period from the training data period to the test data period, the height of the riverbed, etc. may change due to aging of the river, repair work, etc. During the test data period, the error of the predicted water level relative to the actual water level at high water levels (especially near the water level peak) is small, but the error of the predicted water level relative to the actual water level at low water levels (especially when the water level is steady) is large.
[0007] Therefore, in order to solve the above problems, the present disclosure aims to use machine learning to accurately predict high water levels of rivers, etc. (especially near peak water levels) and to appropriately extract training data so as to accurately predict low water levels of rivers, etc. (especially steady water levels). [Means for solving the problem]
[0008] In order to solve the above problem, water level data during water level fluctuations is extracted as training data required for learning high water levels at a certain time at a water level prediction point (particularly near the water level peak that is the standard for issuing evacuation advisories, etc.). On the other hand, water level data during times when the water level does not change immediately before and immediately after the water level fluctuations is extracted as training data required for learning low water levels at a certain time at a water level prediction point (particularly, the water level is in a steady state), and water level data during times when the water level does not change other than immediately before and immediately after the water level fluctuations is discarded.
[0009] Specifically, the present disclosure is a water level prediction model construction method characterized by comprising, in order, a training data extraction step of extracting water level data at the water level prediction point or upstream of the water level prediction point from past water level data from the relevant time, as training data required for learning the water level at the water level prediction point at a certain time, and discarding water level data at times of water level non-changing other than those immediately before and immediately after the water level fluctuation, and a model construction step of constructing a water level prediction model using the training data.
[0010] According to this configuration, machine learning can be used to accurately predict high water levels of rivers, etc. (especially near peak water levels), and training data can be appropriately extracted or rejected so as to accurately predict low water levels of rivers, etc. (especially steady water levels).
[0011] The present disclosure also relates to a water level prediction model construction method, further comprising a model selection step of inputting verification data for verifying the water level prediction model into multiple water level prediction models constructed using water level data for periods of various lengths before and after the water level peak, and selecting the water level prediction model having the smallest water level prediction error.
[0012] According to this configuration, an optimal water level prediction model can be selected from multiple water level prediction models constructed using multiple training data extracted over various lengths of time.
[0013] The present disclosure also relates to a water level prediction model construction program for causing a computer to sequentially execute each processing step of the water level prediction model construction method described above.
[0014] According to this configuration, it is possible to provide a program having the above-described effects.
[0015] The present disclosure also relates to a predicted water level data output method, characterized in that it includes a predicted water level data output step of inputting test data for water level prediction into the water level prediction model described above, and outputting predicted water level data.
[0016] According to this configuration, a water level prediction model constructed using appropriately extracted or discarded training data can predict high water levels of rivers, etc. (especially near peak water levels) with high accuracy, and can also predict low water levels of rivers, etc. (especially steady water levels) with high accuracy.
[0017] The present disclosure also relates to a predicted water level data output program for causing a computer to execute the predicted water level data output step of the predicted water level data output method described above.
[0018] According to this configuration, it is possible to provide a program having the above-described effects.
[0019] In actual operation, water level data, "past observation" rainfall data, and "forecast" rainfall data are extracted as test data. However, since the "forecast" rainfall data is less accurate than the "future observation" rainfall data, the "predicted" water level data may deviate significantly from the "observed" water level data.
[0020] In order to solve the above problem, in the verification stage, water level data, "past observation" rainfall data, and "future observation" rainfall data are extracted as verification data, the probability distribution of water level prediction errors is calculated, and the error band of predicted water level data relative to the observed water level data is set. Then, as verification data, the "future observation" rainfall data is replaced with "forecast" rainfall data, and the proportion of predicted water level data that falls within the error band around the observed water level data is calculated as the water level prediction accuracy rate.
[0021] In the prediction stage, in actual operation, water level data, "past observation" rainfall data, and "forecast" rainfall data are extracted as test data, and the prediction accuracy rate of water level is output together with the predicted water level data. Here, the prediction accuracy rate of water level is output for each issuance standard and / or for each N-hour prediction.
[0022] Specifically, the present disclosure is a water level prediction accuracy calculation method characterized by comprising, in order, a verification data extraction step of extracting the water level data and past observed rainfall data for the period from which the water level data is extracted, and forecasted rainfall data from a time to be verified, as verification data for verifying the water level prediction model constructed by the water level prediction model construction method described above; a predicted water level data output step of inputting the water level data, the past observed rainfall data, and the forecasted rainfall data for verifying the water level at multiple times at the water level prediction point as the verification data to the water level prediction model, and outputting the predicted water level data at the multiple times at the water level prediction point; and a water level prediction accuracy calculation step of calculating the proportion of the predicted water level data at the multiple times at the water level prediction point that falls within an error range around the observed water level data at the multiple times at the water level prediction point, as the prediction accuracy of the water level at the water level prediction point.
[0023] According to this configuration, when using machine learning to predict the water levels of rivers, etc., even when "forecasted" rainfall data is extracted as test data, the accuracy rate of water level predictions can be calculated in the verification stage, making it possible to visualize the reliability of the predicted water level data.
[0024] The present disclosure also provides a water level prediction accuracy calculation method, characterized in that the verification data extraction step also extracts future observed rainfall data from the time to be verified as the verification data, inputs the water level data, the past observed rainfall data, and the future observed rainfall data to the water level prediction model as the verification data, calculates a probability distribution of the prediction error of the water level at the water level prediction point, and includes a water level prediction error range setting step between the verification data extraction step and the predicted water level data output step, the water level prediction error range setting step setting an error range of the predicted water level data relative to the observed water level data in the water level prediction accuracy calculation step.
[0025] According to this configuration, when predicting the water level of a river, etc. using machine learning, in the verification stage, the probability distribution of the water level prediction error can be calculated, an error range of the predicted water level data relative to the observed water level data can be set, and the accuracy rate of the water level prediction can be calculated.
[0026] The present disclosure also relates to a water level prediction accuracy calculation method, characterized in that the water level prediction accuracy calculation step calculates the prediction accuracy of the water level at the water level prediction point for each issuance criterion for water level alert at the water level prediction point and / or for each period length from the prediction output time in the predicted water level data output step to each prediction target time.
[0027] According to this configuration, when predicting water levels of rivers, etc. using machine learning, even when "forecast" rainfall data is extracted as test data, the accuracy rate of the water level prediction can be calculated in the verification stage, thereby assisting in determining whether each issuance standard will be reached.
[0028] The present disclosure also relates to a water level prediction accuracy calculation method, characterized in that the water level prediction accuracy calculation step outputs the prediction accuracy rate of the water level at the water level prediction point together with the predicted water level data at the prediction target time at the water level prediction point based on the water level data, the past observed rainfall data, and the forecast rainfall data.
[0029] According to this configuration, when using machine learning to predict the water levels of rivers, etc., even when "forecasted" rainfall data is extracted as test data, the accuracy rate of the water level prediction can be output at the prediction stage, making it possible to visualize the reliability of the predicted water level data.
[0030] The present disclosure also provides a water level prediction accuracy calculation program for causing a computer to sequentially execute each of the processing steps included in the water level prediction accuracy calculation method described above.
[0031] According to this configuration, it is possible to provide a program having the above-described effects.
[0032] The above disclosed inventions can be combined to the greatest extent possible. Effect of the Invention
[0033] In this way, the present disclosure can use machine learning to accurately predict high water levels of rivers, etc. (especially near peak water levels), and can also appropriately extract training data to accurately predict low water levels of rivers, etc. (especially steady water levels). [Brief description of the drawings]
[0034] [Figure 1] FIG. 1 illustrates a prior art training data extraction process. [Diagram 2] FIG. 1 is a diagram illustrating a configuration of a water level prediction device according to the present disclosure. [Diagram 3] FIG. 2 is a diagram showing the procedure of the water level prediction process of the present disclosure. [Figure 4] FIG. 1 illustrates a training data extraction process according to the present disclosure. [Diagram 5] FIG. 13 is a diagram showing the selection process of a water level prediction model of the present disclosure. [Figure 6] FIG. 13 is a diagram showing the selection process of a water level prediction model of the present disclosure. [Figure 7] FIG. 13 is a diagram showing an example of the water level prediction process of the present disclosure. [Figure 8] FIG. 1 is a diagram illustrating a configuration of a water level prediction device according to the present disclosure. [Figure 9] FIG. 11 is a diagram showing the procedure of the water level prediction accuracy calculation process of the present disclosure. [Figure 10] FIG. 13 is a diagram showing a specific example of the water level prediction error range setting process of the present disclosure. [Figure 11] FIG. 13 is a diagram showing a specific example of the water level prediction accuracy rate calculation process of the present disclosure. [Figure 12] FIG. 13 is a diagram showing an example of the water level prediction accuracy rate output process of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0035] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present disclosure will be described with reference to the accompanying drawings. The embodiments described below are examples of the present disclosure, and the present disclosure is not limited to the following embodiments.
[0036] (Configuration of the water level prediction device of the present disclosure) The configuration of the water level prediction device of the present disclosure is shown in Fig. 2. The procedure of the water level prediction process of the present disclosure is shown in Fig. 3. The water level prediction device W includes water level prediction models M1, ..., Mn (selects the optimal water level prediction model), a training data extraction unit 1, a model construction unit 2, a model selection unit 3 and a predicted water level data output unit 4, and can be realized by installing the water level prediction program of Fig. 3 on a computer.
[0037] The training data extraction unit 1 extracts water level data WL during water level fluctuations from water level data WL at the water level prediction point or upstream of the water level prediction point in the past from a certain time, as training data L1, ..., Ln (selecting the most suitable training data) required for learning about the high water level at a certain time (especially near the water level peak that is the standard for issuing evacuation advisories, etc.) at the water level prediction point (step S1).
[0038] The training data extraction unit 1 extracts water level data WL when the water level does not change immediately before and immediately after a water level fluctuation from the water level data WL at the water level prediction point or upstream of the water level prediction point in the past from the relevant time as training data L1, ..., Ln (selecting the optimal training data) required for learning the low water level (particularly, the steady water level) at a certain time at the water level prediction point (step S1), and discards water level data WL when the water level does not change other than immediately before and immediately after a water level fluctuation (step S2).
[0039] In other words, the water level data WL during water level fluctuations accounts for only a portion of the total water level data WL, but is necessary for learning the water level near the water level peak, and is therefore extracted as training data L1, ..., Ln. On the other hand, the water level data WL when the water level does not change immediately before and immediately after the water level fluctuations accounts for only a portion of the total water level data WL, but is necessary for learning the water level at a steady state, and is therefore extracted as training data L1, ..., Ln. However, the water level data WL when the water level does not change other than immediately before and immediately after the water level fluctuations accounts for the majority of the total water level data WL, and although it improves the accuracy of learning the water level at a steady state, it becomes noise in learning the water level near the water level peak, and is therefore discarded as training data L1, ..., Ln.
[0040] The training data extraction unit 1 may extract rainfall data RF at the time of water level fluctuation from rainfall data RF at the water level prediction point or upstream of the water level prediction point in the past from the relevant time as the training data L1, ..., Ln required for learning the high water level at a certain time at the water level prediction point (step S1). The training data extraction unit 1 may also extract rainfall data RF at the time of water level non-fluctuation immediately before and immediately after the water level fluctuation from rainfall data RF at the water level prediction point or upstream of the water level prediction point in the past from the relevant time as the training data L1, ..., Ln required for learning the low water level at a certain time at the water level prediction point (step S1), or may discard rainfall data RF at the time of water level non-fluctuation other than immediately before and immediately after the water level fluctuation (step S2). Below, a case where the training data extraction unit 1 extracts and discards the water level data WL will be described, but the same applies to the case where the training data extraction unit 1 extracts and discards the water level data WL and the rainfall data RF.
[0041] The model construction unit 2 constructs water level prediction models M1,...,Mn using the training data L1,...,Ln (step S3). The model selection unit 3 inputs verification data V for verifying the water level prediction models M1,...,Mn to the water level prediction models M1,...,Mn constructed using the training data L1,...,Ln, and selects one water level prediction model (e.g., M1, etc.) with the smallest water level prediction error (step S4). The predicted water level data output unit 4 inputs test data T for water level prediction to one water level prediction model (e.g., M1, etc.) with the smallest water level prediction error, and outputs predicted water level data P (step S5).
[0042] (Extraction process of training data according to the present disclosure) The training data extraction process of the present disclosure is shown in Fig. 4. During the training data period, water level data WL during water level fluctuation and water level data WL during no water level fluctuation immediately before and immediately after the water level fluctuation are extracted, but water level data WL during no water level fluctuation other than immediately before and immediately after the water level fluctuation is discarded. During the transition period from the training data period to the test data period, the height of the riverbed, etc. may change due to aging of the river, repair work, etc. During the test data period, the error of the predicted water level relative to the actual water level at high water levels (especially near the water level peak) is small, and the error of the predicted water level relative to the actual water level at low water levels (especially at a steady water level) is also small.
[0043] Here, the water level data WL during water level fluctuation and the water level data WL when the water level is not fluctuating immediately before and after the water level fluctuation may be water level data WL that shows a series of changes in the water level over a period of several days, starting from a steady water level state, passing through a rising water level state and a falling water level state, and then returning to a steady water level state.
[0044] In this way, using machine learning, it is possible to accurately predict high water levels (particularly near the water level peak) of rivers, etc., and to appropriately extract or discard training data L1, ..., Ln so as to accurately predict low water levels (particularly steady water levels) of rivers, etc. Then, by using the water level prediction models M1, ..., Mn constructed using the appropriately extracted or discarded training data L1, ..., Ln, it is possible to accurately predict high water levels (particularly near the water level peak) of rivers, etc., and to accurately predict low water levels (particularly steady water levels) of rivers, etc.
[0045] (Selection process of water level prediction model of the present disclosure) The water level prediction model selection process of the present disclosure is shown in Figures 5 and 6. The model construction unit 2 constructs water level prediction models M1,...,Mn using water level data WL for various lengths of time before and after the peak water level (step S3). The model selection unit 3 inputs verification data V for verifying the water level prediction models M1,...,Mn to the water level prediction models M1,...,Mn constructed using the water level data WL for various lengths of time before and after the peak water level, and selects one water level prediction model (e.g., M1) with the smallest water level prediction error (step S4).
[0046] In the upper part of Figure 5, water level data WL for a short period before and after the peak water level is extracted, and water level data WL for when the water level does not change immediately before and after the water level fluctuates is not extracted. Therefore, the error of the predicted water level from the actual water level at high water levels (especially near the peak water level) is small, but the error of the predicted water level from the actual water level at low water levels (especially when the water level is steady) is large, and the error of the predicted water level from the actual water level is large overall, combining the high and low water levels. Thus, the water level prediction model constructed using the water level data WL for a short period before and after the peak water level is rejected.
[0047] In the middle part of Figure 5, water level data WL for a medium period before and after the peak water level is extracted, and water level data WL for when the water level does not change immediately before and after the water level fluctuates is extracted. Therefore, the error of the predicted water level from the actual water level at high water levels (especially near the peak water level) is medium, and the error of the predicted water level from the actual water level at low water levels (especially when the water level is steady) is also medium, and the error of the predicted water level from the actual water level is small overall, combining the high and low water levels. Then, a water level prediction model constructed using the water level data WL for a medium period before and after the peak water level is selected.
[0048] In the lower part of Figure 5, water level data WL for a long period before and after the water level peak is extracted, and water level data WL for times when the water level is not changing other than immediately before and after the water level fluctuation is also extracted. Therefore, the error of the predicted water level from the actual water level at low water levels (especially when the water level is steady) is small, but the error of the predicted water level from the actual water level at high water levels (especially near the water level peak) is large, and the error of the predicted water level from the actual water level is large overall, combining the high water level and low water level. The water level prediction model constructed using the water level data WL for a long period before and after the water level peak is rejected.
[0049] In the upper part of Figure 6, a series of water level changes in river R1, starting from a steady state, passing through rising and falling states, and returning to a steady state, spans a long period of time. Thus, water level data WL for a long period before and after the peak water level is extracted, but water level data WL for periods of no water level fluctuation immediately before and after the water level fluctuation is extracted, and water level data WL for periods of no water level fluctuation other than immediately before and after the water level fluctuation is not extracted. Then, for river R1, a water level prediction model constructed using water level data WL for a long period before and after the peak water level is selected.
[0050] In the middle part of Figure 6, a series of water level changes in river R2, starting from a steady state, passing through rising and falling states, and returning to a steady state, spans a medium period. Thus, water level data WL for a medium period before and after the peak water level is extracted, but water level data WL for periods without water level fluctuation immediately before and after the water level fluctuation is extracted, and water level data WL for periods without water level fluctuation other than immediately before and after the water level fluctuation is not extracted. Then, for river R2, a water level prediction model constructed using water level data WL for a medium period before and after the peak water level is selected.
[0051] In the lower part of Figure 6, a series of water level changes in river R3, starting from a steady state, passing through rising and falling states, and returning to a steady state, are completed in a short period of time. Therefore, water level data WL for a short period before and after the peak water level is extracted, but water level data WL for when the water level does not change immediately before and after the water level fluctuation is extracted, and water level data WL for when the water level does not change other than immediately before and after the water level fluctuation is not extracted. Then, for river R3, a water level prediction model constructed using water level data WL for a short period before and after the peak water level is selected.
[0052] In this way, from multiple water level prediction models M1, ..., Mn constructed using multiple training data L1, ..., Ln extracted over various periods of time, the optimal water level prediction model (e.g., M1) can be automatically selected for each river, etc.
[0053] (Example of water level prediction process of the present disclosure) An example of the water level prediction process of the present disclosure is shown in Figure 7. The series of changes in the actual water level starts with a steady state on the first day, goes through a rapid rise in the water level from the beginning of the second day, goes through a slow fall in the water level by the end of the second day, and returns to the steady state on the third day.
[0054] In the conventional technology, the error of the predicted water level from the actual water level at high water levels (especially near the water level peak) is large because a model that prioritizes upward fluctuations in water levels is selected. On the other hand, the error of the predicted water level from the actual water level at low water levels (especially at steady water levels) is large because the water level data WL when the water level is stable immediately before and after the water level fluctuation is not extracted during training.
[0055] In the present disclosure, the error of the predicted water level from the actual water level at high water levels (especially near the water level peak) is small because the effect of prioritizing upward fluctuations in the water level is diluted. On the other hand, the error of the predicted water level from the actual water level at low water levels (especially at a steady water level) is small because the water level data WL when the water level is not fluctuating immediately before and after the water level fluctuation is extracted during training.
[0056] Here, the water level data WL during water level fluctuations and the water level data WL when the water level is not fluctuating immediately before and after the water level fluctuation can be obtained by combining the water level data WL for a short period (about half a day) before the water level peak and the water level data WL for a longer period (about several days) after the water level peak.
[0057] (Configuration of the water level prediction device of the present disclosure) The configuration of the water level prediction device disclosed herein is shown in Fig. 8. The procedure of the water level prediction accuracy calculation process disclosed herein is shown in Fig. 9. In addition to the components shown in Fig. 2, the water level prediction device W includes a verification data extraction unit 5, a water level prediction error range setting unit 6, a water level prediction accuracy calculation unit 7, and a test data extraction unit 8. The verification data extraction unit 5, the water level prediction error range setting unit 6, and the water level prediction accuracy calculation unit 7 can be realized by installing the water level prediction accuracy calculation program shown in Fig. 9 in a computer.
[0058] The training data extraction unit 1 (not shown in FIG. 8) extracts water level data WL at the water level prediction point and at least one of the water level prediction point and the water level prediction point at a certain time, past observed rainfall data RO, and future observed rainfall data RO from the water level prediction point as training data required for learning the water level at a certain time. Here, the training data extraction unit 1 may extract water level data WL at the water level prediction point and at least one of the water level prediction point and the water level prediction point at a certain time and past observed rainfall data RO, and future observed rainfall data RO from the water level prediction point. Here, the training data extraction unit 1 may extract water level data WL at the time of water level fluctuation, etc., past observed rainfall data RO, and future observed rainfall data RO, or may extract water level data WL at the time of water level non-fluctuation, etc., immediately before and after the water level fluctuation, past observed rainfall data RO, and future observed rainfall data RO. The model construction unit 2 constructs a water level prediction model M using the training data.
[0059] The test data extraction unit 8 extracts water level data WL at the water level prediction point and / or at least one of the points upstream of the water level prediction point and at least one of the points upstream of the water level prediction point at that time, and past observed rainfall data RO, and forecast rainfall data RP from that time. In actual operation, the test data extraction unit 8 extracts forecast rainfall data RP without extracting future observed rainfall data RO. The forecast water level data output unit 4 outputs forecast water level data P using the water level prediction model M.
[0060] However, since the "forecast" rainfall data RP is less accurate than the "future observation" rainfall data RO, the "predicted" water level data P may deviate significantly from the "observed" water level data. Therefore, in this disclosure, the reliability of the "predicted" water level data P is visualized.
[0061] In the verification stage, the water level data WL, the "past observation" rainfall data RO, and the "future observation" rainfall data RO are extracted as the verification data V, the water level prediction error probability distribution E is calculated, and the error band of the predicted water level data P relative to the observed water level data is set. Then, as the verification data V, the "future observation" rainfall data RO is replaced with the "forecast" rainfall data RP, and the proportion of the predicted water level data P that falls within the error band around the observed water level data is calculated as the water level prediction accuracy rate H.
[0062] In the prediction stage, in actual operation, water level data WL, "past observation" rainfall data RO, and "forecast" rainfall data RP are extracted as test data T, and the water level prediction accuracy rate H is output along with the predicted water level data P. Here, the water level prediction accuracy rate H is output for each issuance standard and / or for each prediction N hours later.
[0063] Here, the training data is known data for water level learning, and the water level prediction accuracy rate H is nearly 100%, so it cannot be applied to calculate the water level prediction accuracy rate H. The test data T is unknown data for water level prediction, but is specialized for a specific rainfall condition, so it cannot be applied to calculate the water level prediction accuracy rate H. On the other hand, the verification data V is unknown data for verifying the water level prediction model M, and is not specialized for a specific rainfall condition, so it can be applied to calculate the water level prediction accuracy rate H.
[0064] (Specific example of water level prediction error range setting process of the present disclosure) A specific example of the water level prediction error range setting process of the present disclosure is shown in Fig. 10. The verification data extraction unit 5 extracts the water level data WL, the past observed rainfall data RO in the period in which the water level data WL is extracted, and the future observed rainfall data RO from the verification target time as verification data V for verifying the water level prediction model M constructed in the water level prediction model construction process of the present disclosure (step S11). Here, the verification data extraction unit 5 may extract the water level data WL at the time of water level fluctuation, the past observed rainfall data RO, and the future observed rainfall data RO, or may extract the water level data WL at the time of water level non-fluctuation, the past observed rainfall data RO, and the future observed rainfall data RO immediately before and after the time of water level fluctuation, and the forecast rainfall data RP is not extracted in the water level prediction error range setting process.
[0065] The verification data extraction unit 5 inputs the water level data WL, past observed rainfall data RO, and future observed rainfall data RO to verify the water level at multiple times at the water level prediction point as verification data V to the water level prediction model M (step S12). Then, the water level prediction error range setting unit 6 calculates the prediction error probability distribution E of the water level at the water level prediction point, and sets the error range of the predicted water level data P for the observed water level data in the water level prediction accuracy calculation step S15 (step S13). Here, the water level prediction error range setting unit 6 calculates the prediction error probability distribution E for each issuance standard for water level alert at the water level prediction point and / or for each period length from the prediction output time in the predicted water level data output step S12 to each prediction target time, and sets the error range of the predicted water level data P (step S13).
[0066] In the "Prediction error N hours later" column in Fig. 10, the prediction error probability distribution E of the water level at the water level prediction point is calculated for the observed water level of 0 m or more and less than the announcement standard water level A, the observed water level of A or more and less than the announcement standard water level B, and the observed water level of B or more. In the "Error range N hours later" column in Fig. 10, the e of the prediction error probability distribution E is calculated for the observed water level of 0 m or more and less than the announcement standard water level A, the observed water level of A or more and less than the announcement standard water level B, and the observed water level of B or more. lоw-min That's all lоw-max The following and e mid-minThat's all mid-max The following and e high-min That's all high-max The error range of the predicted water level data P relative to the observed water level data is set so that is within the error range. Here, the minimum and maximum values of the prediction error probability distribution E are set to 0% and 100%, and 0.1%≦e high-min ≦e mid-min ≦e lоw-min ≦20% and 80%≦e lоw-max ≦e mid-max ≦e high-max ≦99.9% is satisfied. In other words, the error band of the predicted water level data P is set wider for higher water levels, narrower for lower water levels, and intermediate for medium water levels. The upper and lower ranges of the error band of the predicted water level data P may be equal or different depending on the distribution shape of the prediction error probability distribution E.
[0067] In addition, e high-min , e mid-min , e lоw-min , e lоw-max , e mid-max , e high-max is tentatively set as above, but is finally set as follows. First, water level data and analyzed rainfall data (interpolated from radar with rain gauge) are input as test data to the water level prediction model M. Next, e is set so that 80% or more of the predicted water level data for each of the high water level, low water level, and medium water level falls within the error band of the predicted water level data. high-min , e mid-min , e lоw-min , e lоw-max , e mid-max , e high-max is set.
[0068] In this way, when predicting the water level of a river or the like using machine learning, in the verification stage, the water level prediction error probability distribution E can be calculated, the error range of the predicted water level data P relative to the observed water level data can be set, and preparations can be made to calculate the water level prediction accuracy rate H.
[0069] Furthermore, when using machine learning to predict water levels of rivers, etc., even when "forecast" rainfall data RP is extracted as test data T, by preparing to calculate the water level prediction accuracy rate H in the verification stage, it is possible to prepare to support the determination of whether each issuance standard will be reached.
[0070] (Specific example of water level prediction accuracy calculation process of the present disclosure) A specific example of the water level prediction accuracy rate calculation process of the present disclosure is shown in Fig. 11. The verification data extraction unit 5 extracts the water level data WL, the past observed rainfall data RO during the period in which the water level data WL is extracted, and the future forecast rainfall data RP from the verification target time as verification data V for verifying the water level prediction model M constructed in the water level prediction model construction process of the present disclosure (step S11). Here, the verification data extraction unit 5 may extract the water level data WL at the time of water level fluctuation, the past observed rainfall data RO, and the forecast rainfall data RP, or may extract the water level data WL at the time of water level non-fluctuation, the past observed rainfall data RO, and the forecast rainfall data RP immediately before and after the time of water level fluctuation, and the future observed rainfall data RO is not extracted in the water level prediction accuracy rate calculation process.
[0071] The verification data extraction unit 5 inputs the water level data WL, past observed rainfall data RO, and forecast rainfall data RP for verifying the water level at the water level prediction point as verification data V to the water level prediction model M (step S14). Then, the water level prediction model M outputs the predicted water level data P at the water level prediction point at the multiple times. Furthermore, the water level prediction accuracy calculation unit 7 calculates the proportion of the predicted water level data P at the multiple times at the water level prediction point that falls within the error band around the observed water level data at the multiple times at the water level prediction point as the water level prediction accuracy H at the water level prediction point (step S15). Here, the water level prediction accuracy calculation unit 7 calculates the water level prediction accuracy H for each issuance criterion for water level alert at the water level prediction point and / or for each period length from the prediction output time in the predicted water level data output step S14 to each prediction target time (step S15).
[0072] In the "Predicted data after each N hours" column in FIG. 11, predicted water level data P for the multiple times at the water level prediction point is output for observed water levels of 0 m or more and less than the alert standard water level A, observed water levels of 0 m or more and less than the alert standard water level A and observed water levels of 0 m or more and less than the alert standard water level B, and observed water levels of 0 m or more and less than the alert standard water level A, there are 80 pieces of data that fall within the error range, 10 pieces of data that fall below the error range, and 10 pieces of data that exceed the error range. For observed water levels of 0 m or more and less than the alert standard water level A, there are 30 pieces of data that fall within the error range, 15 pieces of data that fall below the error range, and 15 pieces of data that exceed the error range. For observed water levels of 0 m or more and less than the alert standard water level B, there are 10 pieces of data that fall within the error range, 10 pieces of data that fall below the error range, and 10 pieces of data that exceed the error range.
[0073] In the "Prediction accuracy rate after each N hours" column in Figure 11, the water level prediction accuracy rate H at the water level prediction point is calculated for observed water levels 0m or more and less than the announcement standard water level A, observed water levels A or more and less than the announcement standard water level B, and observed water levels B or more. For observed water levels 0m or more and less than the announcement standard water level A, the water level prediction accuracy rate is 80 / (80+10+10)×100=80%. For observed water levels A or more and less than the announcement standard water level B, the water level prediction accuracy rate is 30 / (30+15+15)×100=50%. For observed water levels B or more, the water level prediction accuracy rate is 10 / (10+10+10)×100=33%.
[0074] Even if test data T is accumulated, the water level prediction model M is not updated, so there is no need to update the water level prediction accuracy rate H. When training data is accumulated, the water level prediction model M may be updated, and the water level prediction accuracy rate H may also be updated.
[0075] In this way, when using machine learning to predict the water levels of rivers, etc., even when "forecast" rainfall data RP is extracted as test data T, the reliability of the predicted water level data P can be visualized by calculating the water level prediction accuracy rate H in the verification stage.
[0076] Furthermore, when using machine learning to predict water levels of rivers and other bodies of water, even when "forecast" rainfall data RP is extracted as test data T, the water level prediction accuracy rate H can be calculated in the verification stage to assist in determining whether each issuance standard will be reached.
[0077] (Example of the water level prediction accuracy output process of the present disclosure) An example of the water level prediction accuracy rate output process of the present disclosure is shown in Fig. 12. When predicting the water level at the water level prediction point at the prediction target time based on the water level data WL, the past observed rainfall data RO, and the forecast rainfall data RP, the water level prediction accuracy rate calculation unit 7 outputs the water level prediction accuracy rate H at the water level prediction point together with the predicted water level data P at the prediction target time at the water level prediction point (step S16). Here, the water level prediction accuracy rate calculation unit 7 outputs the water level prediction accuracy rate H for each issuance criterion for water level alert at the water level prediction point and / or for each period length from the prediction output time to each prediction target time (step S16).
[0078] In Fig. 12, L0, L1, L2, L3, L4, and L5 are set as the water levels for issuing warnings. In the verification stage, the accuracy rate of water level prediction for the observation water levels of the water levels for issuing warnings, L0-L1, L1-L2, L2-L3, L3-L4, and L4-L5, is H 01 %, H 12 %, H 23 %, H 34 %, H 45 In the prediction stage, the accuracy rate of the water level prediction for around 12:00 on the first day, around 14:00 on the second day, around 8:00 on the third day, and around 12:00 on the fourth day (prediction six hours later) is calculated as H 01 %(hit), H 23 % (miss), H 45 %(hit), H 01 The output will be % (hit).
[0079] In this way, when using machine learning to predict the water levels of rivers, etc., even when "forecast" rainfall data RP is extracted as test data T, the reliability of the predicted water level data P can be visualized by outputting the water level prediction accuracy rate H at the prediction stage.
[0080] Furthermore, when using machine learning to predict water levels of rivers, etc., even when "forecast" rainfall data RP is extracted as test data T, the water level prediction accuracy rate H can be output at the prediction stage to assist in determining whether each issuance standard will be reached. [Industrial Applicability]
[0081] The water level prediction model construction method, water level prediction model construction program, predicted water level data output method, and predicted water level data output program disclosed herein use machine learning to predict high water levels of rivers, etc. (especially near peak water levels) with high accuracy, and can appropriately extract training data so as to predict low water levels of rivers, etc. (especially steady water levels) with high accuracy. [Explanation of symbols]
[0082] W: Water level prediction device M1, Mn, M: Water level prediction models 1: Training data extraction part 2: Model construction section 3: Model selection section 4: Predicted water level data output section 5: Verification data extraction section 6: Water level prediction error range setting section 7: Water level prediction accuracy calculation section 8: Test data extraction part WL: Water level data RF: Rainfall data RO: Observed rainfall data RP: Predicted rainfall data L1, Ln: training data V: Verification data T: Test data E: Forecast error probability distribution P: Predicted water level data H: Probability of accurate water level prediction
Claims
1. a training data extraction step of extracting water level data at the water level prediction point or upstream of the water level prediction point from past water level data from the water level prediction point prior to the time of the water level prediction point, as training data required for learning the water level at a certain time, and discarding water level data at times of no water level change other than those immediately before and after the water level change; A model construction step of constructing a water level prediction model using the training data; A method for constructing a water level prediction model, comprising the steps of:
2. a model selection step of inputting verification data for verifying the water level prediction model into a plurality of water level prediction models constructed using water level data for periods of various lengths before and after the water level peak, and selecting one of the water level prediction models with the smallest water level prediction error; The water level prediction model construction method according to claim 1 , further comprising:
3. A water level prediction model construction program for causing a computer to sequentially execute each processing step of the water level prediction model construction method according to claim 1 or 2.
4. A predicted water level data output step of inputting test data for water level prediction into the water level prediction model according to claim 1 or 2 and outputting predicted water level data; A method for outputting predicted water level data, comprising:
5. A predicted water level data output program for causing a computer to execute the predicted water level data output step of the predicted water level data output method according to claim 4.
6. A verification data extraction step of extracting, as verification data for verifying the water level prediction model constructed by the water level prediction model construction method according to claim 1, the water level data, past observed rainfall data during the period from which the water level data is extracted, and forecast rainfall data for the future from the verification target time; a predicted water level data output step of inputting the water level data, the past observed rainfall data, and the forecast rainfall data as the verification data to the water level prediction model to verify the water levels at the water level prediction point at multiple times, and outputting the predicted water level data at the water level prediction point at the multiple times; a water level prediction accuracy calculation step of calculating a ratio of predicted water level data at the water level prediction point at the multiple times that falls within an error band around observed water level data at the water level prediction point at the multiple times as a prediction accuracy rate of the water level at the water level prediction point; A water level prediction accuracy calculation method comprising the steps of:
7. The verification data extraction step also extracts future observed rainfall data from the verification target time as the verification data, a water level prediction error range setting step of inputting the water level data, the past observed rainfall data, and the future observed rainfall data for verifying the water levels at the water level prediction point at the multiple times as the verification data into the water level prediction model, calculating a probability distribution of the prediction error of the water level at the water level prediction point, and setting an error range of the predicted water level data relative to the observed water level data in the water level prediction hit rate calculation step; between the verification data extraction step and the predicted water level data output step. The water level prediction accuracy rate calculation method according to claim 6 .
8. The water level prediction accuracy calculation step calculates a prediction accuracy rate of the water level at the water level prediction point for each issuance criterion for water level alert at the water level prediction point and / or for each period length from the prediction output time in the predicted water level data output step to each prediction target time. The water level prediction accuracy rate calculation method according to claim 6 or 7,
9. The water level prediction accuracy calculation step outputs a prediction accuracy rate of the water level at the water level prediction point together with predicted water level data at the water level prediction point at the prediction target time when predicting the water level at the water level prediction point at the prediction target time based on the water level data, the past observed rainfall data, and the forecast rainfall data. The water level prediction accuracy rate calculation method according to claim 6 or 7,
10. A water level prediction accuracy rate calculation program for causing a computer to execute each of the processing steps of the water level prediction accuracy rate calculation method according to claim 6 or 7 in sequence.
Citation Information
Patent Citations
Water level prediction method, water level prediction program, and water level prediction device
JP2019095240A
