CN114647985A - Training Method of Frontal Transit Prediction Model and Prediction Method of Frontal Transit - Google Patents
Training Method of Frontal Transit Prediction Model and Prediction Method of Frontal Transit Download PDFInfo
- Publication number
- CN114647985A CN114647985A CN202210359713.1A CN202210359713A CN114647985A CN 114647985 A CN114647985 A CN 114647985A CN 202210359713 A CN202210359713 A CN 202210359713A CN 114647985 A CN114647985 A CN 114647985A
- Authority
- CN
- China
- Prior art keywords
- frontal
- transit
- training
- neural network
- prediction model
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012549 training Methods 0.000 title claims abstract description 126
- 238000000034 method Methods 0.000 title claims abstract description 74
- 238000003062 neural network model Methods 0.000 claims abstract description 75
- 238000001514 detection method Methods 0.000 claims abstract description 49
- 230000008859 change Effects 0.000 claims description 13
- 238000005070 sampling Methods 0.000 claims description 3
- 230000015654 memory Effects 0.000 description 18
- 210000002569 neuron Anatomy 0.000 description 14
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 239000013598 vector Substances 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 4
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000004907 flux Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011897 real-time detection Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/27—Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/02—Reliability analysis or reliability optimisation; Failure analysis, e.g. worst case scenario performance, failure mode and effects analysis [FMEA]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Artificial Intelligence (AREA)
- Computer Hardware Design (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明提供锋面过境预测模型的训练方法、装置及存储介质,锋面过境的预测方法、装置及存储介质。锋面过境预测模型的训练方法包括:建立神经网络模型;从气象检测历史数据库中选取训练样本集,其中,所述训练样本集包括发生锋面过境之前预设时间段的气象数据和未发生锋面过境的气象数据;利用所述训练样本集对所述神经网络模型进行训练,得到锋面过境预测模型,所述锋面过境预测模型用于对锋面过境进行预测。以解决现有技术中无法预测锋面过境的技术问题,防止锋面过境引起的风切变所产生的损失和风险。
The present invention provides a training method, a device and a storage medium for a forecasting model of frontal transit, and a method, a device and a storage medium for predicting the frontal transit. The training method of the frontal transit prediction model includes: establishing a neural network model; selecting a training sample set from the meteorological detection historical database, wherein the training sample set includes the meteorological data of a preset time period before the frontal transit occurs and the weather data without the frontal transit. Meteorological data; using the training sample set to train the neural network model to obtain a frontal transit prediction model, and the frontal transit prediction model is used to predict the frontal transit. In order to solve the technical problem that the frontal transit cannot be predicted in the prior art, the losses and risks caused by the wind shear caused by the frontal transit are prevented.
Description
技术领域technical field
本发明涉及气象识别技术领域,具体涉及一种锋面过境预测模型的训练方法及锋面过境的预测方法。The invention relates to the technical field of meteorological identification, in particular to a training method of a frontal transit prediction model and a frontal transit prediction method.
背景技术Background technique
风切变是指风速矢量或其分量沿垂直方向或某一水平方向的变化。风切变是向量值,它反映了所研究的两点之间风速和风向的变化。在气象学中,低空风切变通常是指近地面600米高度以下的风切变。低空风切变的形成需要一定的天气背景和环境条件。雷暴、积雨云、龙卷等天气有较强的对流,能形成强烈的垂直风切变;强下击暴流到达地面后向四周扩散的阵风,能形成强烈的水平风切变;锋面两侧气象要素差异大,容易产生较强的风切变。Wind shear refers to the change of the wind speed vector or its components in the vertical direction or a certain horizontal direction. Wind shear is a vector value that reflects the change in wind speed and direction between the two points under study. In meteorology, low-level wind shear usually refers to wind shear below 600 meters above the ground. The formation of low-level wind shear requires certain weather background and environmental conditions. Thunderstorms, cumulonimbus clouds, tornadoes and other weather have strong convection, which can form strong vertical wind shear; strong downbursts reach the ground and spread to the surrounding gusts, which can form strong horizontal wind shear; The side meteorological elements are very different, and it is easy to produce strong wind shear.
低空风切变所具有的生命周期短、尺度小、破坏性强等特点,使其难以被探测和预警、预报,被各国气象部门公认为“无形杀手”。引起风切变的六大类天气过程主要包括:锋面过境、海陆风、山地风、低空急流、下击暴流、湍流。如何准确地检测出以上天气过程,是提高风切变预警准确性的关键。Low-altitude wind shear has the characteristics of short life cycle, small scale and strong destructiveness, making it difficult to detect, warn and forecast, and is recognized as an "invisible killer" by meteorological departments of various countries. The six major types of weather processes that cause wind shear mainly include: frontal transit, land and sea wind, mountain wind, low-level jet, downburst, and turbulence. How to accurately detect the above weather processes is the key to improving the accuracy of wind shear early warning.
锋面过境是指锋面经过某地(例如机场等),此时地面气象要素发生急剧变化的现象。对于锋面过境的气象变化,现有技术中往往是通过目标区域的气象数据来判断该区域是否发生过锋面过境的天气。这种方式属于事后分析,对于某些(如机场等)区域而言,滞后的分析无法满足实际的预测需求,因此,亟需一种能够提前预测锋面过境天气变化现象的方案,以防止锋面过境引起的风切变所产生的损失和风险。Front crossing refers to the phenomenon that a front passes through a certain place (such as an airport, etc.), and the meteorological elements on the ground change sharply at this time. For the meteorological change of the frontal transit, in the prior art, it is often judged by the meteorological data of the target area whether the weather of the frontal transit has occurred in the area. This method belongs to the post-event analysis. For some areas (such as airports), the delayed analysis cannot meet the actual forecasting needs. Therefore, a scheme that can predict the weather changes of the frontal transit in advance is urgently needed to prevent the frontal transit. Losses and risks from wind shear caused.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明提供了锋面过境预测模型的训练方法、装置及存储介质,锋面过境的预测方法、装置及存储介质,以解决现有技术中无法预测锋面过境的技术问题。In view of this, the present invention provides a training method, device and storage medium for a frontal transit prediction model, and a frontal transit prediction method, device and storage medium, so as to solve the technical problem that the frontal transit cannot be predicted in the prior art.
第一方面,本发明实施例提供一种锋面过境预测模型的训练方法,包括:In a first aspect, an embodiment of the present invention provides a training method for a frontal transit prediction model, including:
建立神经网络模型;Build a neural network model;
从气象检测历史数据库中选取训练样本集,其中,所述训练样本集包括发生锋面过境之前预设时间段的气象数据和未发生锋面过境的气象数据;A training sample set is selected from the meteorological detection historical database, wherein the training sample set includes the meteorological data of the preset time period before the frontal transit occurs and the meteorological data without the frontal transit;
利用所述训练样本集对所述神经网络模型进行训练,得到锋面过境预测模型,所述锋面过境预测模型用于对锋面过境进行预测。The neural network model is trained by using the training sample set to obtain a front crossing prediction model, and the front crossing prediction model is used to predict front crossing.
在一个可选的实施方式中,所述建立神经网络模型,包括:In an optional embodiment, the building a neural network model includes:
根据锋面的目标类别数确定神经网络模型的输出层节点;Determine the output layer node of the neural network model according to the number of target categories of the front;
利用选取的气象检测历史数据库中的预报因子类别,确定神经网络模型的输入层节点,其中,所述预报因子为气象变化指标数据;Determine the input layer node of the neural network model by using the forecast factor category in the selected meteorological detection historical database, wherein the forecast factor is meteorological change index data;
确定神经网络模型的中间层级节点,并确定上下层级节点间的初始权重集合。Determine the intermediate level nodes of the neural network model, and determine the initial weight set between the upper and lower level nodes.
在一个可选的实施方式中,若所述中间层节点为一层隐含层节点,则所述初始权重集合包括:所述输入层到所述隐含层的初始权重值、隐含层到输出层的初始权重值。In an optional implementation manner, if the intermediate layer node is a layer of hidden layer nodes, the initial weight set includes: the initial weight value from the input layer to the hidden layer, the initial weight value from the hidden layer to the hidden layer The initial weight value of the output layer.
在一个可选的实施方式中,所述从气象检测历史数据库中选取训练样本集,包括:In an optional embodiment, the selection of the training sample set from the meteorological detection historical database includes:
获取气象检测历史数据库中目标区域的地表观测数据;Obtain the surface observation data of the target area in the meteorological detection historical database;
将所述目标区域的地表观测数据作为训练样本集。The surface observation data of the target area is used as a training sample set.
在一个可选的实施方式中,所述利用所述训练样本集对所述神经网络模型进行训练,得到锋面过境预测模型,包括:In an optional embodiment, the neural network model is trained by using the training sample set to obtain a frontal transit prediction model, including:
将所述训练样本集输入到所述神经网络模型,得到对应的当前输出集;Inputting the training sample set into the neural network model to obtain the corresponding current output set;
计算所述当前输出集与目标期望输出集中每个输出层节点的误差值;Calculate the error value of each output layer node between the current output set and the target expected output set;
计算所述当前输出集与目标期望输出集的均方误差;Calculate the mean square error between the current output set and the target expected output set;
判断所述均方误差是否小于预设阈值;judging whether the mean square error is less than a preset threshold;
若所述均方误差不小于所述预设阈值,则确定所述当前输出集无效,则利用所述误差值对权重集合进行修正,得到修正后的权重集合,并返回执行将所述训练样本集输入到所述神经网络模型,得到对应的当前输出集的步骤;If the mean square error is not less than the preset threshold, it is determined that the current output set is invalid, and the weight set is modified by using the error value to obtain a modified weight set, and the training sample is returned to be executed. set input to the neural network model to obtain the corresponding current output set;
若所述均方误差小于所述预设阈值,则确定所述当前输出集有效,并确定当前锋面过境预测模型的对应的权重集合为目标权重集合,得到所述锋面过境预测模型。If the mean square error is less than the preset threshold, it is determined that the current output set is valid, and the corresponding weight set of the current frontal transit prediction model is determined as the target weight set to obtain the frontal transit prediction model.
在一个可选的实施方式中,所述利用所述误差值对权重集合进行修正,得到修正后的权重集合,包括:In an optional implementation manner, the weight set is modified by using the error value to obtain a modified weight set, including:
利用输出层的误差值计算得到隐含层的误差值;Using the error value of the output layer to calculate the error value of the hidden layer;
根据所述隐含层的误差值对权重进行修正,得到修正后的权重值。The weight is modified according to the error value of the hidden layer to obtain the modified weight value.
第二方面,本发明实施例提供一种锋面过境的预测方法,包括:In a second aspect, an embodiment of the present invention provides a method for predicting frontal transit, including:
获取目标区域的气象检测数据;Obtain the meteorological detection data of the target area;
将所述气象检测数据输入到第一方面任一实施方式所述的锋面过境预测模型的训练方法训练得到的锋面过境预测模型中,以得到锋面过境的预测结果。The meteorological detection data is input into the front transit prediction model trained by the training method for the front transit prediction model described in any embodiment of the first aspect, so as to obtain the prediction result of the front transit.
第三方面,本发明实施例提供一种锋面过境预测模型的训练装置,包括:In a third aspect, an embodiment of the present invention provides a training device for a frontal transit prediction model, including:
创建模块,用于建立神经网络模型;Create modules for building neural network models;
取样模块,用于从气象检测历史数据库中选取训练样本集,其中,所述训练样本集包括发生锋面过境之前预设时间段的气象数据和未发生锋面过境的气象数据;The sampling module is used to select a training sample set from the meteorological detection historical database, wherein the training sample set includes the meteorological data of the preset time period before the frontal transit occurs and the meteorological data without the frontal transit;
训练模块,用于利用所述训练样本集对所述神经网络模型进行训练,得到锋面过境预测模型,所述锋面过境预测模型用于对锋面过境进行预测。The training module is used to train the neural network model by using the training sample set to obtain a frontal transit prediction model, and the frontal transit prediction model is used to predict the frontal transit.
第四方面,本发明实施例提供一种锋面过境的预测装置,包括:In a fourth aspect, an embodiment of the present invention provides a forecasting device for frontal transit, including:
获取模块,用于获取目标区域的气象检测数据;The acquisition module is used to acquire the meteorological detection data of the target area;
预测模块,用于将所述气象检测数据输入到第一方面任一实施方式所述的锋面过境预测模型的训练方法训练得到的锋面过境预测模型中,以得到锋面过境的预测结果。The prediction module is used for inputting the meteorological detection data into the front transit prediction model trained by the training method of the front transit prediction model according to any embodiment of the first aspect, so as to obtain the prediction result of the front transit.
第五方面,本发明实施例提供一种计算机设备,包括:存储器和处理器,所述存储器和所述处理器之间互相通信连接,所述存储器中存储有计算机指令,所述处理器通过执行所述计算机指令,从而实现第一方面任一项所述的锋面过境预测模型的训练方法,或实现第二方面所述的锋面过境的预测方法。In a fifth aspect, an embodiment of the present invention provides a computer device, including: a memory and a processor, the memory and the processor are connected in communication with each other, the memory stores computer instructions, and the processor executes The computer instructions are used to implement the training method of the frontal transit prediction model described in any one of the first aspect, or realize the frontal transit prediction method described in the second aspect.
第六方面,根据本发明实施例提供的一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储有计算机指令,所述计算机指令被处理器执行时实现第一方面任一项所述的锋面过境预测模型的训练方法,或实现第二方面所述的锋面过境的预测方法。A sixth aspect is a non-transitory computer-readable storage medium provided according to an embodiment of the present invention, where the non-transitory computer-readable storage medium stores computer instructions, and the first aspect is implemented when the computer instructions are executed by a processor Any one of the methods for training a frontal transit prediction model, or implementing the method for predicting frontal transits described in the second aspect.
本发明实施例提供的锋面过境预测模型的训练方法、装置及存储介质,至少具有如下有益效果:The training method, device, and storage medium for a frontal transit prediction model provided by the embodiments of the present invention have at least the following beneficial effects:
本发明实施例提供的锋面过境预测模型的训练方法、装置及存储介质及本发明实施例提供的锋面过境的预测方法、装置及存储介质,可以通过创建神经网络模型,并从气象检测历史数据库中选取训练样本集,训练样本集包括发生锋面过境之前预设时间段的气象数据和未发生锋面过境的气象数据;利用选取的训练样本集对创建的神经网络模型进行训练,得到锋面过境预测模型,以利用锋面过境预测模型对锋面过境进行预测。在对锋面过境进行预测的问题中,对应的气象数据存在着大量的非线性关系,通过创建并训练神经网络模型得到锋面过境预测模型,以对锋面过境进行预测,进而提高了对锋面过境预测的准确性,增强了对锋面过境的预测能力。通过对锋面过境进行准确预测,进而防止锋面过境引起的风切变所产生的损失和风险。The training method, device, and storage medium for a frontal transit prediction model provided by the embodiment of the present invention, and the frontal transit prediction method, device, and storage medium provided by the embodiment of the present invention can create a neural network model and obtain the data from the meteorological detection historical database by creating a neural network model. A training sample set is selected, and the training sample set includes the meteorological data of the preset time period before the frontal transit occurs and the meteorological data without the frontal transit; using the selected training sample set to train the created neural network model, the frontal transit prediction model is obtained, The frontal transit is predicted by using the frontal transit prediction model. In the problem of forecasting front crossing, the corresponding meteorological data has a large number of nonlinear relationships. By creating and training a neural network model, a front crossing forecasting model is obtained to predict front crossing, thereby improving the prediction of front crossing. Accuracy and enhanced forecasting ability for frontal transit. By accurately predicting the front crossing, the losses and risks caused by wind shear caused by front crossing can be prevented.
附图说明Description of drawings
为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the specific embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the specific embodiments or the prior art. Obviously, the accompanying drawings in the following description The drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.
图1为本发明实施例1中锋面过境预测模型的训练方法的一个具体示例的流程图;1 is a flowchart of a specific example of a training method for a front transit prediction model in
图2为本发明实施例1中锋面过境预测模型的训练方法的另一个具体示例的流程图;2 is a flowchart of another specific example of the training method of the front transit prediction model in
图3为本发明实施例1中一个具体示例的BP神经元网络模型的结构示意图;3 is a schematic structural diagram of a specific example of a BP neural network model in
图4为本发明实施例1中锋面过境预测模型的训练方法的再一个具体示例的流程图;4 is a flowchart of another specific example of a training method for a frontal transit prediction model in
图5为本发明实施例1中一个具体示例的均方误差随训练轮次收敛情况示意图;5 is a schematic diagram of the convergence of the mean square error with the training rounds of a specific example in
图6为本发明实施例2中锋面过境的预测方法的一个具体示例的流程图;FIG. 6 is a flowchart of a specific example of a method for predicting frontal transit in
图7为本发明实施例2中一个具体示例的锋面过境预测模型识别结果样例图;FIG. 7 is a sample diagram of a recognition result of a frontal transit prediction model of a specific example in
图8为本发明实施例3中锋面过境预测模型的训练装置的一个具体示例的框图;8 is a block diagram of a specific example of a training device for a front transit prediction model in Embodiment 3 of the present invention;
图9为本发明实施例4中锋面过境的预测装置的一个具体示例的框图;FIG. 9 is a block diagram of a specific example of a device for predicting front crossing in
图10为本发明实施例5中一个具体示例的计算机设备的结构示意图。FIG. 10 is a schematic structural diagram of a computer device according to a specific example in Embodiment 5 of the present invention.
具体实施方式Detailed ways
下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
在本发明的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the indicated device or element must have a specific orientation or a specific orientation. construction and operation, and therefore should not be construed as limiting the invention. Furthermore, the terms "first", "second", and "third" are used for descriptive purposes only and should not be construed to indicate or imply relative importance.
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that the terms "installed", "connected" and "connected" should be understood in a broad sense, unless otherwise expressly specified and limited, for example, it may be a fixed connection or a detachable connection connection, or integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal connection of two components, which can be a wireless connection or a wired connection connect. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood in specific situations.
此外,下面所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
虽然下文描述的过程包括以特定的顺序出现的多个操作,但是应该清楚地了解到,这些过程也可以包括更多或者更少的操作,这些操作可以顺序执行或者并行执行。Although the processes described below include a number of operations in a particular order, it should be expressly understood that the processes may include more or fewer operations, which may be performed sequentially or in parallel.
锋面过境是指锋面经过某地(例如机场、高铁站等),此时地面气象要素发生急剧变化的现象。对于锋面过境的气象变化,现有技术中往往是通过目标区域的气象数据来判断该区域是否发生过锋面过境的天气。这种方式属于事后分析,对于某些区域(包括但不限定义机场)而言,以机场为例,滞后的分析无法满足实际的预测需求。换句话说,锋面过境对应的气象要素额急剧变化,对于处于起飞或降落阶段的飞机有着严重的威胁。若仅是事后分析机场区域内是否发生锋面过境,而不是提前对锋面过境进行预测,那么就无法针对锋面过境进行有效预防,将会造成巨大的损失,飞机着陆、起飞也存在较高的风险。Front crossing refers to the phenomenon that a front passes through a certain place (such as an airport, a high-speed railway station, etc.), and the ground meteorological elements change rapidly at this time. For the meteorological change of the frontal transit, in the prior art, it is often judged by the meteorological data of the target area whether the weather of the frontal transit has occurred in the area. This method belongs to post-event analysis. For some areas (including but not limited to defining airports), taking airports as an example, the delayed analysis cannot meet the actual forecasting needs. In other words, the amount of meteorological elements corresponding to the frontal transit changes sharply, which poses a serious threat to the aircraft in the take-off or landing phase. If we only analyze whether frontal transit occurs in the airport area after the event, instead of predicting frontal transit in advance, we cannot effectively prevent frontal transit, which will cause huge losses, and there is also a high risk of aircraft landing and take-off.
因此,亟需一种能够提前预测锋面过境天气变化现象的方案,以防止锋面过境引起的风切变所产生的损失和风险。Therefore, there is an urgent need for a scheme that can predict the weather changes of the frontal transit in advance, so as to prevent the losses and risks caused by the wind shear caused by the frontal transit.
实施例1Example 1
本实施例提供一种锋面过境预测模型的训练方法,参见图1所示,包括如下步骤:This embodiment provides a training method for a frontal transit prediction model, as shown in FIG. 1 , including the following steps:
步骤S101、建立神经网络模型;Step S101, establishing a neural network model;
步骤S102、从气象检测历史数据库中选取训练样本集,其中,所述训练样本集包括发生锋面过境之前预设时间段的气象数据和未发生锋面过境的气象数据;Step S102, selecting a training sample set from the meteorological detection historical database, wherein the training sample set includes meteorological data of a preset time period before frontal transit occurs and meteorological data without frontal transit;
步骤S103、利用所述训练样本集对所述神经网络模型进行训练,得到锋面过境预测模型,所述锋面过境预测模型用于对锋面过境进行预测。Step S103 , using the training sample set to train the neural network model to obtain a frontal transit prediction model, and the frontal transit prediction model is used to predict the frontal transit.
在本实施方式中,建立的神经网络模型可以是BP神经元网络模型,BP神经元网络模型基于误差逆向传播算法训练的多层前馈原理,目前应用较为广泛。当然,建立的神经网络模型还可以是其他的神经网络模型,例如RBF神经元网络模型。气象检测历史数据库可以包括各个区域对应的气象检测历史数据。在对训练样本集进行选取时,需要从气象检测历史数据库中选取锋面过境之前预设时间段的气象数据和未发生锋面过境的气象数据。利用选择的训练样本集对神经网络模型进行训练,得到锋面过境预测模型。在实际应用中,可以将目标区域的气象检测数据输入训练完成的锋面过境预测模型中,以得到锋面过境的预测结果,进而对锋面过境进行预测。In this embodiment, the established neural network model may be a BP neuron network model. The BP neuron network model is based on a multi-layer feedforward principle trained by an error back-propagation algorithm, and is currently widely used. Of course, the established neural network model may also be other neural network models, such as an RBF neuron network model. The meteorological detection history database may include meteorological detection history data corresponding to each region. When selecting the training sample set, it is necessary to select the meteorological data of the preset time period before the frontal transit and the meteorological data of no frontal transit from the meteorological detection historical database. The neural network model is trained using the selected training sample set, and the frontal transit prediction model is obtained. In practical applications, the meteorological detection data of the target area can be input into the trained frontal transit prediction model, so as to obtain the prediction result of frontal transit, and then predict the frontal transit.
在本实施方式中,以应用于机场为例,在建立BP神经元网络模型后,从气象检测历史数据库中选取对应该机场区域的气象检测历史数据作为训练样本集。如选择该机场区域内两年内的所有气象数据,包括发生锋面过境之前预设时间段的气象数据和未发生锋面过境的气象数据,其中预设时间段可以为0.5小时。对该BP神经元网络模型进行训练,并得到锋面过境预测模型。将该机场区域的气象检测数据输入到锋面过境预测模型中,以得到锋面过境的预测结果,进而对锋面过境进行预测。在实际应用中,应当根据实际应用场景的需求,灵活地选择创建神经网络模型,并选择对应训练样本集进行训练,得到锋面过境预测模型以对锋面过境进行预测,本申请对此并不做限定。In this embodiment, taking the application to an airport as an example, after establishing a BP neural network model, the historical meteorological detection data corresponding to the airport area is selected from the meteorological detection historical database as a training sample set. For example, if you select all the meteorological data within two years in the airport area, including the meteorological data of the preset time period before the frontal transit occurs and the meteorological data of the no frontal transit, the preset time period can be 0.5 hours. The BP neuron network model is trained, and the frontal transit prediction model is obtained. The meteorological detection data of the airport area is input into the frontal transit prediction model to obtain the prediction result of frontal transit, and then the frontal transit is predicted. In practical applications, it is necessary to flexibly choose to create a neural network model according to the needs of the actual application scenario, and select the corresponding training sample set for training to obtain a frontal transit prediction model to predict frontal transit, which is not limited in this application. .
在本实施方式中,通过创建神经网络模型,并从气象检测历史数据库中选取训练样本集,训练样本集包括发生锋面过境之前预设时间段的气象数据和未发生锋面过境的气象数据;利用选取的训练样本集对创建的神经网络模型进行训练,得到锋面过境预测模型,以利用锋面过境预测模型对锋面过境进行预测。在对锋面过境进行预测的问题中,对应的气象数据存在着大量的非线性关系,通过创建并训练神经网络模型得到锋面过境预测模型,以对锋面过境进行预测,进而提高了对锋面过境预测的准确性,增强了对锋面过境的预测能力。通过对锋面过境进行准确预测,进而防止锋面过境引起的风切变所产生的损失和风险。In this embodiment, a neural network model is created, and a training sample set is selected from the meteorological detection historical database, and the training sample set includes the meteorological data of the preset time period before the frontal transit occurs and the meteorological data without the frontal transit; The created neural network model is trained with the training sample set of , and the frontal transit prediction model is obtained, so as to use the frontal transit prediction model to predict the frontal transit. In the problem of forecasting front crossing, the corresponding meteorological data has a large number of nonlinear relationships. By creating and training a neural network model, a front crossing forecasting model is obtained to predict front crossing, thereby improving the prediction of front crossing. Accuracy and enhanced forecasting ability for frontal transit. By accurately predicting the front crossing, the losses and risks caused by wind shear caused by front crossing can be prevented.
在一个可选的实施方式中,参见图2所示,建立神经网络模型,包括:In an optional embodiment, referring to Fig. 2, a neural network model is established, including:
步骤S1011、根据锋面的目标类别数确定神经网络模型的输出层节点;Step S1011, determining the output layer node of the neural network model according to the number of target categories of the front;
步骤S1012、利用选取的气象检测历史数据库中的预报因子类别,确定神经网络模型的输入层节点,其中,所述预报因子为气象变化指标数据;Step S1012, determining the input layer node of the neural network model by using the forecast factor category in the selected meteorological detection historical database, wherein the forecast factor is meteorological change index data;
步骤S1013、确定神经网络模型的中间层级节点,并确定上下层级节点间的初始权重集合。Step S1013: Determine the intermediate level nodes of the neural network model, and determine the initial weight set between the upper and lower level nodes.
在本实施方式中,建立的神经网络模型为BP神经元网络模型。参见图3所示,BP神经元网络模型是在输入层(Input Layer)与输出层(Output Layer)之间增加若干层(一层或多层)神经元,这些神经元称为隐单元,它们与外界没有直接的联系,但其状态的改变,则能影响输入与输出之间的关系,每一层可以有若干个节点,图3示意了一层隐单元层。In this embodiment, the established neural network model is a BP neuron network model. Referring to Figure 3, the BP neural network model is to add several layers (one or more layers) of neurons between the input layer and the output layer. These neurons are called hidden units. There is no direct connection with the outside world, but the change of its state can affect the relationship between input and output. Each layer can have several nodes. Figure 3 shows a hidden unit layer.
在本实施方式中,根据锋面的目标类别数确定神经网络模型的输出层节点。根据锋面的目标类别数确定输出层节点数,示例性地,确定锋面的目标类别数为两个,其中一个用以代指锋面,即对应的锋面指数为1,另一个代表非锋面指数。在后续预测估计阶段,锋面指数越接近1,则认为该时刻是锋面过境的可能性越高。利用选取的所述气象检测历史数据库中的预报因子类别,确定所述神经网络模型的输入层节点,其中,预报因子为气象变化指标数据。进一步地,预报因子类别的选择可以综合考虑气象检测的布局以及锋面过境时的气象要素变化规律。可选地,具体选取的预报因子类别及其说明如下表1-1所示。在确定神经网络模型的输入层节点及神经网络模型的输出层节点后,则进一步地确定神经网络模型的中间层级节点,其中,中间层级节点的确定包括对中间层级数量的确定以及每个中间层级对应的节点数量的确定,随后并确定上下层级节点间的初始权重集合。In this embodiment, the output layer node of the neural network model is determined according to the number of target categories of the front. The number of nodes in the output layer is determined according to the number of target categories of the front. Exemplarily, the number of target categories of the front is determined to be two, one of which is used to represent the front, that is, the corresponding front index is 1, and the other is a non-front index. In the subsequent prediction and estimation stage, the closer the frontal index is to 1, the higher the possibility that the moment is considered to be a frontal transit. The input layer node of the neural network model is determined by using the selected forecast factor category in the meteorological detection historical database, wherein the forecast factor is meteorological change index data. Further, the selection of the forecast factor category can comprehensively consider the layout of meteorological detection and the change law of meteorological factors when the front passes. Optionally, the specifically selected predictor categories and their descriptions are shown in Table 1-1 below. After the input layer nodes of the neural network model and the output layer nodes of the neural network model are determined, the intermediate level nodes of the neural network model are further determined, wherein the determination of the intermediate level nodes includes the determination of the number of intermediate levels and each intermediate level. The corresponding number of nodes is determined, and then the initial weight set between the upper and lower level nodes is determined.
表1-1:预报因子类别及其说明表Table 1-1: Predictor categories and their descriptions
在本实施方式中,通过以封面指数作为神经网络模型的输出层节点,以保证神经网络模型的输出层节点的数据可靠性,进而保证创建的神经网络模型的可靠性。通过根据预报因子类别确定神经网络模型的输入层节点,In this embodiment, the cover index is used as the output layer node of the neural network model to ensure the data reliability of the output layer node of the neural network model, thereby ensuring the reliability of the created neural network model. By determining the input layer nodes of the neural network model according to the predictor categories,
选择与神经网络模型的输出层节点输出期望相关性的预报因子类别,减少神经网络模型的输出层节点的输入量,可以降低神经元网络模型的训练难度,提高神经元网络模型的训练效率。进而进一步地提高了对锋面过境预测的准确性,增强了对锋面过境的预测能力。通过对锋面过境进行准确预测,进而防止锋面过境引起的风切变所产生的损失和风险。Selecting the predictor category that has the expected correlation with the output layer node of the neural network model and reducing the input amount of the output layer node of the neural network model can reduce the training difficulty of the neural network model and improve the training efficiency of the neural network model. This further improves the accuracy of frontal transit prediction and enhances the ability to predict frontal transit. By accurately predicting the front crossing, the losses and risks caused by wind shear caused by front crossing can be prevented.
在一个可选的实施方式中,参见图3所示,若所述中间层节点为一层隐含层节点,则所述初始权重集合包括:所述输入层到所述隐含层的初始权重值、隐含层到输出层的初始权重值。In an optional implementation manner, as shown in FIG. 3 , if the intermediate layer node is a layer of hidden layer nodes, the initial weight set includes: the initial weight from the input layer to the hidden layer value, the initial weight value from the hidden layer to the output layer.
在本实施方式中,采用三层结构的BP神经元网络模型,输入层x(Input Layer)节点数为N、隐含层h(Hidden Layer)节点数为H、输出层y(Output Layer)节点数为M。In this embodiment, a BP neural network model with a three-layer structure is adopted, the number of nodes in the input layer x (Input Layer) is N, the number of nodes in the hidden layer h (Hidden Layer) is H, and the number of nodes in the output layer y (Output Layer) The number is M.
设置BP神经元网络模型的初始权重值为随机小量。Set the initial weight value of the BP neuron network model to a random small value.
其中,输入层到隐含层的初始权重值为:Among them, the initial weight value from the input layer to the hidden layer is:
Wij(0)(i=1,2,3,...,N;j=1,2,3,...,H);W ij (0)(i=1,2,3,...,N; j=1,2,3,...,H);
隐含层到输出层的初始权重值为:The initial weights from the hidden layer to the output layer are:
Wjk(0)(j=1,2,3,...,H;k=1,2,3,...,M)。W jk (0) (j=1, 2, 3, ..., H; k=1, 2, 3, ..., M).
其中,Wij表示输入层i节点到隐含层j节点的权重值,Wjk表示隐含层j节点到输出层k节点的权重值。Among them, W ij represents the weight value from the input layer i node to the hidden layer j node, and W jk represents the weight value from the hidden layer j node to the output layer k node.
进一步地,在确定初始权重集合后,确定该BP神经元网络模型的信号向前传输处理原理。举例来说,输入一个样本X1(x1,x2,x3,x4,…xN),并指明它的期望输出D1(d1,d2,d3,d4,…dM),其中0≤dk≤1,(k=1,2,3,…M),dk表示输出层k节点的期望输出值。Further, after the initial weight set is determined, the signal forward transmission processing principle of the BP neuron network model is determined. For example, take a sample X 1 (x 1 ,x 2 ,x 3 ,x 4 ,…x N ) and specify its expected output D 1 (d 1 ,d 2 ,d 3 ,d 4 ,…d M ), where 0≤d k ≤1, (k=1, 2, 3,...M), where d k represents the expected output value of the k node in the output layer.
计算BP神经元网络模型的实际输出:Calculate the actual output of the BP neuron network model:
其中,yk为输出层的k节点的实际输出值,hj为隐含层的j节点的实际输出值,xi为输入层的i节点的实际输入值,Wij表示输入层i节点到隐含层j节点的权重值,Wjk表示隐含层j节点到输出层k节点的权重值;θi表示输入层i节点对应的权重偏移系数,θj表示隐含层j节点对应的权重偏移系数。Among them, y k is the actual output value of the k node in the output layer, h j is the actual output value of the j node in the hidden layer, x i is the actual input value of the i node in the input layer, and W ij represents the input layer from the i node to the The weight value of the hidden layer j node, W jk represents the weight value of the hidden layer j node to the output layer k node; θ i represents the weight offset coefficient corresponding to the input layer i node, θ j represents the hidden layer j node corresponding Weight offset factor.
在本实施方式中,通过设置中间层节点为一层隐含层节点,仅一层的中间层节点为一层隐含层节点可以降低神经元网络模型的训练难度,提高神经元网络模型的训练效率。进而进一步地提高了对锋面过境预测的准确性,增强了对锋面过境的预测能力。通过对锋面过境进行准确预测,进而防止锋面过境引起的风切变所产生的损失和风险。In this embodiment, by setting the middle layer node as a layer of hidden layer nodes, and only the middle layer node of one layer is a layer of hidden layer nodes, the training difficulty of the neuron network model can be reduced, and the training of the neuron network model can be improved. efficiency. This further improves the accuracy of frontal transit prediction and enhances the ability to predict frontal transit. By accurately predicting the front crossing, the losses and risks caused by wind shear caused by front crossing can be prevented.
在一个可选的实施方式中,所述从气象检测历史数据库中选取训练样本集,包括:In an optional embodiment, the selection of the training sample set from the meteorological detection historical database includes:
获取气象检测历史数据库中目标区域的地表观测数据;Obtain the surface observation data of the target area in the meteorological detection historical database;
将所述目标区域的地表观测数据作为训练样本集。The surface observation data of the target area is used as a training sample set.
在本实施方式中,获取气象检测历史数据库中目标区域的地表观测数据,目标区域的地表观测数据可以包括气象自动观测系统的监测到的地表气象数据,例如AWOS机场气象自动观测系统的监测到的地表气象数据。将目标区域的地表观测数据作为训练样本集。In this embodiment, the surface observation data of the target area in the meteorological detection historical database is obtained, and the surface observation data of the target area may include the surface meteorological data monitored by the automatic meteorological observation system, such as the monitored surface meteorological data of the AWOS airport meteorological automatic observation system. Surface meteorological data. The surface observation data of the target area is used as the training sample set.
举例来说,从气象检测历史数据库中选取对应机场区域的气象检测历史数据作为训练样本集,则获取气象检测历史数据库中对应该机场AWOS气象自动观测系统的监测到的地表气象数据,确定训练样本集。For example, select the meteorological detection historical data corresponding to the airport area from the meteorological detection historical database as the training sample set, then obtain the monitored surface meteorological data corresponding to the airport's AWOS meteorological automatic observation system in the meteorological detection historical database, and determine the training sample. set.
通过将目标区域的地表观测数据作为训练样本集,以确保训练样本集中对应的训练案例的丰富性及合理性。进而进一步地降低神经元网络模型的训练难度,提高神经元网络模型的训练效率,提高了对锋面过境预测的准确性,增强了对锋面过境的预测能力。有利于通过对锋面过境进行准确预测,进而防止锋面过境引起的风切变所产生的损失和风险。The surface observation data of the target area is used as the training sample set to ensure the richness and rationality of the corresponding training cases in the training sample set. Furthermore, the training difficulty of the neuron network model is further reduced, the training efficiency of the neuron network model is improved, the accuracy of the forecasting of the frontal transit is improved, and the forecasting ability of the frontal transit is enhanced. It is beneficial to accurately predict the front crossing, and then prevent the losses and risks caused by the wind shear caused by the front crossing.
在一个可选的实施方式中,参见图4所示,所述利用所述训练样本集对所述神经网络模型进行训练,得到锋面过境预测模型,包括:In an optional embodiment, as shown in FIG. 4 , the neural network model is trained by using the training sample set to obtain a frontal transit prediction model, including:
步骤S1031、将所述训练样本集输入到所述神经网络模型,得到对应的当前输出集;Step S1031, inputting the training sample set into the neural network model to obtain a corresponding current output set;
步骤S1032、计算所述当前输出集与目标期望输出集中每个输出层节点的误差值;Step S1032, calculating the error value of each output layer node in the current output set and the target expected output set;
步骤S1033、计算所述当前输出集与目标期望输出集的均方误差;Step S1033, calculating the mean square error between the current output set and the target expected output set;
步骤S1034、判断所述均方误差是否小于预设阈值;Step S1034, judging whether the mean square error is less than a preset threshold;
步骤S1035、若所述均方误差不小于所述预设阈值,则确定所述当前输出集无效,则利用所述误差值对权重集合进行修正,得到修正后的权重集合,并返回执行将所述训练样本集输入到所述神经网络模型,得到对应的当前输出集的步骤;Step S1035: If the mean square error is not less than the preset threshold, it is determined that the current output set is invalid, and the weight set is modified by using the error value to obtain a modified weight set, and the execution is returned to execute the set of weights. The training sample set is input into the neural network model, and the step of obtaining the corresponding current output set;
步骤S1036、若所述均方误差小于所述预设阈值,则确定所述当前输出集有效,并确定当前锋面过境预测模型的对应的权重集合为目标权重集合,得到所述锋面过境预测模型。Step S1036: If the mean square error is less than the preset threshold, determine that the current output set is valid, and determine the corresponding weight set of the current frontal transit prediction model as the target weight set, and obtain the frontal transit prediction model.
在本实施方式中,将训练样本集输入到神经网络模型,得到对应的当前输出集,进而根据当前输出集与目标期望输出集中每个输出层节点的误差值,计算得到对应的均方误差,若是均方误差未达到收敛需求,则利用当前输出集与目标期望输出集中每个输出层节点的误差值对权重集合进行反复修正,直至均方误差未达到收敛需求,即在均方误差收敛到对应的阈值内之后,则完成对神经网络模型的训练,得到锋面过境预测模型。示例性地,参见图5所示,均方误差在开始会出现快速降低,随后误差降低速率减缓并逐渐趋于稳定。根据均方误差的变化情况也间接反映了选取的神经网络模型的输入层节点与输出层期望之间存在较高的相关性,并未对神经网络模型的训练造成困扰,神经网络模型的训练效率相对较高,均方误差最终收敛结果也具有较为理想的精度。In this embodiment, the training sample set is input into the neural network model to obtain the corresponding current output set, and then the corresponding mean square error is calculated according to the error value of each output layer node between the current output set and the target expected output set, If the mean square error does not meet the convergence requirement, then use the error value of each output layer node between the current output set and the target expected output set to modify the weight set repeatedly until the mean square error does not meet the convergence requirement, that is, when the mean square error converges to After the corresponding threshold, the training of the neural network model is completed, and the frontal transit prediction model is obtained. Illustratively, as shown in FIG. 5 , the mean square error decreases rapidly at the beginning, and then the rate of error decrease slows down and gradually stabilizes. According to the change of the mean square error, it also indirectly reflects that there is a high correlation between the input layer nodes of the selected neural network model and the output layer expectations, which does not cause trouble to the training of the neural network model, and the training efficiency of the neural network model. It is relatively high, and the final convergence result of the mean square error also has a relatively ideal accuracy.
在本实施方式中,通过将训练样本集输入到神经网络模型,得到对应的当前输出集,以根据得到的当前输出集与目标期望输出集中每个输出层节点的误差值,得到对应的均方误差,以均方误差与预设阈值的比较结果,作为是否进行反复训练的条件,利用当前输出集与目标期望输出集中每个输出层节点的误差值对权重集合进行修正,直到均方误差小于预设阈值。提高神经元网络模型的训练效率,提高了对锋面过境预测的准确性,增强了对锋面过境的预测能力。有利于通过对锋面过境进行准确预测,进而防止锋面过境引起的风切变所产生的损失和风险。In this embodiment, the corresponding current output set is obtained by inputting the training sample set into the neural network model, and the corresponding mean square is obtained according to the error value of each output layer node in the obtained current output set and the target expected output set. Error, take the comparison result of the mean square error and the preset threshold as the condition of whether to perform repeated training, and use the error value of each output layer node between the current output set and the target expected output set to correct the weight set until the mean square error is less than Preset threshold. The training efficiency of the neural network model is improved, the accuracy of the forecasting of the frontal transit is improved, and the forecasting ability of the frontal transit is enhanced. It is beneficial to accurately predict the front crossing, and then prevent the losses and risks caused by the wind shear caused by the front crossing.
在一个可选的实施方式中,所述利用所述误差值对权重集合进行修正,得到修正后的权重集合,包括:In an optional implementation manner, the weight set is modified by using the error value to obtain a modified weight set, including:
利用输出层的误差值计算得到隐含层的误差值;Using the error value of the output layer to calculate the error value of the hidden layer;
根据所述隐含层的误差值对权重进行修正,得到修正后的权重值。The weight is modified according to the error value of the hidden layer to obtain the modified weight value.
在本实施方式中,将训练样本集中对应的训练样本的输入值载入到神经网络模型,得到相应的输出值,将输出值与样本相应的期望输出值作比较,当输出值与期望值不一致时,则需要对权重集合进行修正。In this embodiment, the input values of the corresponding training samples in the training sample set are loaded into the neural network model, the corresponding output values are obtained, and the output values are compared with the expected output values corresponding to the samples. When the output values are inconsistent with the expected values , the weight set needs to be modified.
对于输出层,输出层的误差值为:For the output layer, the error value of the output layer is:
δOk=yk(1-yk)(dk-yk)δ Ok =y k (1-y k )(d k -y k )
利用输出层的误差值计算得到隐含层的误差值,隐含层的误差值为:Using the error value of the output layer to calculate the error value of the hidden layer, the error value of the hidden layer is:
其中,δOk表示输出层k节点的误差值,dk表示输出层k节点的期望输出值;yk为输出层k节点的实际输出值;δHj表示隐含层j节点的误差值,hj表示隐含层的j节点的实际输出值;wjk表示隐含层j节点到输出层k节点的权重值;Among them, δ Ok represents the error value of node k in the output layer, d k represents the expected output value of node k in the output layer; y k represents the actual output value of node k in the output layer; δ Hj represents the error value of node j in the hidden layer, h j represents the actual output value of the j node in the hidden layer; w jk represents the weight value from the hidden layer j node to the output layer k node;
根据隐含层的误差值对权重进行修正,得到修正后的权重值。通过从输出层到输入层依次反向修正权值时,对于从输入层到隐含层的权值改变公式为:The weight is corrected according to the error value of the hidden layer, and the corrected weight value is obtained. When correcting the weights in turn from the output layer to the input layer, the formula for changing the weights from the input layer to the hidden layer is:
wij(t+1)=wij(t)+αδHjxi+β[wij(t)-wij(t-1)]w ij (t+1)=w ij (t)+αδ Hj x i +β[w ij (t)-w ij (t-1)]
其中,α称为学习参数,控制搜索步长,一般取0.2≤α≤0.5;β称为动量参数,控制平滑程度,一般取0≤β≤1;t为当前迭代次数。Among them, α is called the learning parameter, which controls the search step size, and generally takes 0.2≤α≤0.5; β is called the momentum parameter, which controls the smoothness, and generally takes 0≤β≤1; t is the current number of iterations.
这便完成了样本X1与期望输出D1对联接权重的一轮训练,重复第二步和第三步,完成样本X2,X3,...,XN对应的期望输出D2,D3,...,DN对联接权重的一轮训练。This completes a round of training of the connection weights between the sample X 1 and the expected output D 1 , repeating the second and third steps to complete the expected output D 2 corresponding to the samples X 2 , X 3 ,...,X N , One round of training of D 3 ,...,D N pairs of connection weights.
重复上述步骤,利用选定样本数据的输入值与期望输出对权重数据进行反复训练,直到均方误差小于一个阈值S。Repeat the above steps, using the input value of the selected sample data and the expected output to repeatedly train the weight data until the mean square error less than a threshold S.
通过从输出层到输入层依次反向修正权值时训练样本集输入到神经网络模型,提高神经元网络模型的训练效率,提高了对锋面过境预测的准确性,增强了对锋面过境的预测能力。有利于通过对锋面过境进行准确预测,进而防止锋面过境引起的风切变所产生的损失和风险。The training sample set is input to the neural network model by correcting the weights in turn from the output layer to the input layer, which improves the training efficiency of the neural network model, improves the accuracy of frontal transit prediction, and enhances the frontal transit prediction ability. . It is beneficial to accurately predict the front crossing, and then prevent the losses and risks caused by the wind shear caused by the front crossing.
实施例2Example 2
本实施例提供一种锋面过境的预测方法,参见图6所示,包括如下步骤:This embodiment provides a method for predicting frontal transit, as shown in FIG. 6 , including the following steps:
步骤S601、获取目标区域的气象检测数据;Step S601, obtaining meteorological detection data of the target area;
步骤S602、将所述气象检测数据输入锋面过境预测模型的训练方法训练得到的锋面过境预测模型中,以得到锋面过境的预测结果,其中,所述锋面过境预测模型的训练方法为实施例1中任一实施方式所述的锋面过境预测模型的训练方法。Step S602, inputting the meteorological detection data into the frontal transit prediction model trained by the training method of the frontal transit prediction model, so as to obtain the prediction result of the frontal transit, wherein the training method of the frontal transit prediction model is the one in
在本实施方式中,获取目标区域的气象检测数据,目标检测区域的气象检测数据可以是实时的检测数据,例如AOWS机场气象自动观测系统的监测到的气象数据,将所述气象检测数据输入锋面过境预测模型的训练方法训练得到的锋面过境预测模型中,以得到锋面过境的预测结果。基于锋面过境预测模型的识别结果样例如图7所示。示例性地,利用某机场一年的AWOS机场气象自动观测系统的监测到的气象数据对训练得到的锋面过境预测模型进行仿真测试,并以飞行器空中报告记录结合人工识别得到的结果作为标准对比(由于空中报告仅在有飞机起落时发布,缺少无飞机起落期间发生的锋面过境记录,故采用人工识别的方法进行补充),结果如表1-2所示。In this embodiment, the meteorological detection data of the target area is obtained, and the meteorological detection data of the target detection area can be real-time detection data, such as the meteorological data monitored by the AOWS airport meteorological automatic observation system, and the meteorological detection data is input into the front. The training method of the transit prediction model is trained in the front transit prediction model obtained by training, so as to obtain the prediction result of the front transit. Figure 7 shows a sample of the recognition results based on the frontal transit prediction model. Exemplarily, use the meteorological data monitored by the AWOS Airport Meteorological Automatic Observation System of an airport for one year to simulate and test the front transit prediction model obtained by training, and use the results obtained from the aerial report records of the aircraft combined with the manual identification as the standard comparison ( Since the air report is only issued when there are aircraft taking off and landing, and there is a lack of frontal transit records that occurred during the absence of aircraft taking off and landing, the manual identification method is used to supplement it. The results are shown in Table 1-2.
表1-1:锋面过境预测模型识别结果与空中报告结合人工识别结果对比Table 1-1: Comparison of the recognition results of the frontal transit prediction model and the aerial report combined with the manual recognition results
对空中报告结合人工识别认定的51次锋面过境天气过程,锋面过境预测模型识别到36次,检测率(Probability of Detection,POD)达70.6%;在锋面过境预测模型识别的61次锋面过境中,有26次识别有误,虚警率(False Alarm Rate,FAR)达42.6%。根据仿真测试结果可见,利用锋面过境预测模型预测锋面过境的准确率较高。For the 51 frontal transit weather processes identified by aerial reports combined with manual identification, the frontal transit prediction model identified 36 times, and the detection rate (Probability of Detection, POD) reached 70.6%; among the 61 frontal transits identified by the frontal transit prediction model, There were 26 errors in identification, and the false alarm rate (FAR) was 42.6%. According to the simulation test results, it can be seen that the prediction model of frontal transit has a higher accuracy in predicting frontal transit.
本实施方式,通过利用训练完成的锋面过境预测模型进行锋面过境预测,以实现对锋面过境的预测能力。有利于通过对锋面过境进行准确预测,进而防止锋面过境引起的风切变所产生的损失和风险。In this implementation manner, the frontal transit prediction is performed by using the trained frontal transit prediction model, so as to realize the ability to predict the frontal transit. It is beneficial to accurately predict the front crossing, and then prevent the losses and risks caused by the wind shear caused by the front crossing.
实施例3Example 3
本实施例提供一种锋面过境预测模型的训练装置,本实施例以该锋面过境预测模型的训练装置应用于上述实施例1所述的锋面过境预测模型的训练方法进行说明。如图8所示,该锋面过境预测模型的训练装置至少包括以下几个模块:This embodiment provides a training device for a frontal transit prediction model. This embodiment is described by applying the training device for the frontal transit prediction model to the training method for the frontal transit prediction model described in the above-mentioned
创建模块81,用于建立神经网络模型;A
取样模块82,用于从气象检测历史数据库中选取训练样本集,其中,所述训练样本集包括发生锋面过境之前预设时间段的气象数据和未发生锋面过境的气象数据;The
训练模块83,用于利用所述训练样本集对所述神经网络模型进行训练,得到锋面过境预测模型,所述锋面过境预测模型用于对锋面过境进行预测。The
本申请实施例提供的锋面过境预测模型的训练装置,可用于如上实施例1中执行的锋面过境预测模型的训练方法,相关细节参考上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The training device for the frontal transit prediction model provided by the embodiment of the present application can be used for the training method of the frontal transit prediction model as performed in the
需要说明的是:上述实施例中提供的锋面过境预测模型的训练装置在进行锋面过境预测模型的训练时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将锋面过境预测模型的训练装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的锋面过境预测模型的训练装置与锋面过境预测模型的训练方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the training device for the frontal transit prediction model provided in the above-mentioned embodiment is to perform the training of the frontal transit prediction model, only the division of the above-mentioned functional modules is used as an example for illustration. The function allocation is completed by different function modules, that is, the internal structure of the training device of the frontal transit prediction model is divided into different function modules, so as to complete all or part of the functions described above. In addition, the training device of the frontal transit prediction model provided in the above embodiment and the embodiment of the training method of the frontal transit prediction model belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
实施例4Example 4
本实施例提供一种锋面过境的预测装置,本实施例以该锋面过境的预测装置应用于上述实施例2所述的锋面过境的预测方法进行说明。如图9所示,该锋面过境的预测装置至少包括以下几个模块:This embodiment provides an apparatus for predicting frontal transit, and this embodiment is described by applying the frontal transit prediction apparatus to the method for predicting frontal transit described in
获取模块91,用于获取目标区域的气象检测数据;an
预测模块92,用于将所述气象检测数据输入锋面过境预测模型的训练方法训练得到的锋面过境预测模型中,以得到锋面过境的预测结果,其中,所述锋面过境预测模型的训练方法为实施例1中任一实施方式所述的锋面过境预测模型的训练方法。The
本申请实施例提供的锋面过境的预测装置,可用于如上实施例2中执行的锋面过境的预测方法,相关细节参考上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device for predicting front crossing provided by this embodiment of the present application can be used in the method for predicting front crossing performed in the
需要说明的是:上述实施例中提供的锋面过境的预测装置在进行锋面过境的预测时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将锋面过境的预测装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的锋面过境的预测装置与锋面过境的预测方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the forecasting device for frontal transit provided in the above-mentioned embodiment performs the forecasting of frontal crossing, only the division of the above-mentioned functional modules is used as an example for illustration. The functional modules of the frontal transit are completed, that is, the internal structure of the forecasting device for frontal transit is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the device for predicting front crossing provided by the above embodiments and the method for predicting front crossing belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
实施例5Example 5
请参阅图10所示,本发明实施方式还提供了一种计算机设备,该计算机设备可以是桌上型计算机、笔记本电脑、掌上电脑以及云端服务器等计算机设备。该计算机设备可以包括,但不限于,处理器和存储器,其中处理器和存储器可以通过总线或者其他方式连接。Referring to FIG. 10 , an embodiment of the present invention further provides a computer device, which may be a desktop computer, a notebook computer, a palmtop computer, a cloud server, and other computer devices. The computer device may include, but is not limited to, a processor and a memory, where the processor and memory may be connected by a bus or otherwise.
处理器可以为中央处理器(Central Processing Unit,CPU)也可以为其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、图形处理器(GraphicsProcessing Unit,GPU)、嵌入式神经网络处理器(Neural-network Processing Unit,NPU)或者其他专用的深度学习协处理器、专用集成电路(Application Specific IntegratedCircuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等芯片,或者上述各类芯片的组合。The processor may be a central processing unit (Central Processing Unit, CPU) or other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), a graphics processor (GraphicsProcessing Unit, GPU), an embedded neural network processor (Neural-network Processing Unit, NPU) or other dedicated deep learning co-processors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices , discrete gate or transistor logic devices, discrete hardware components and other chips, or a combination of the above types of chips.
存储器作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机可执行程序以及模块,如上述方法实施方式中的方法对应的程序指令/模块。处理器通过运行存储在存储器中的非暂态软件程序、指令以及模块,从而执行处理器的各种功能应用以及数据处理,即实现上述方法实施方式中的方法。As a non-transitory computer-readable storage medium, the memory can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as program instructions/modules corresponding to the methods in the foregoing method embodiments. The processor executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions, and modules stored in the memory, ie, implements the methods in the above method embodiments.
存储器可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储处理器所创建的数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施方式中,存储器可选包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至处理器。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。所述一个或者多个模块存储在所述存储器中,当被所述处理器执行时,执行上述方法实施方式中的方法。The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system and an application program required by at least one function; the storage data area may store data created by the processor, and the like. Additionally, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory may optionally include memory located remotely from the processor, such remote memory being connectable to the processor via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. The one or more modules are stored in the memory, and when executed by the processor, perform the methods in the above method embodiments.
本发明实施方式还提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述方法实施方式中的方法。其中,所述非暂态计算机可读存储介质可为磁碟、光盘、只读存储记忆体(Read-OnlyMemory,ROM)、随机存储记忆体(Random Access Memory,RAM)、快闪存储器(FlashMemory)、硬盘(Hard Disk Drive,缩写:HDD)或固态硬盘(Solid-State Drive,SSD)等;所述非暂态计算机可读存储介质还可以包括上述种类的存储器的组合。Embodiments of the present invention further provide a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions can execute the methods in the foregoing method embodiments. Wherein, the non-transitory computer-readable storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a flash memory (FlashMemory) , Hard Disk Drive (Hard Disk Drive, abbreviation: HDD) or Solid-State Drive (Solid-State Drive, SSD), etc.; the non-transitory computer-readable storage medium may also include a combination of the above-mentioned types of memories.
本领域内的技术人员应明白,本发明的实施方式可提供为方法、装置、计算机设备或非暂态计算机可读存储介质均可涉及或包含计算机程序产品。As will be appreciated by those skilled in the art, embodiments of the present invention may be provided as methods, apparatuses, computer devices, or non-transitory computer-readable storage media, all of which may involve or include a computer program product.
因此,本发明可采用完全硬件实施方式、完全软件实施方式、或结合软件和硬件方面的实施方式的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
以上所述实施方式的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施方式中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments can be combined arbitrarily. In order to simplify the description, all possible combinations of the technical features in the above-described embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be regarded as the scope described in this specification.
显然,以上所述实施方式仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之中。因此,本申请专利的保护范围应以所附权利要求为准。Obviously, the above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be noted that, for those skilled in the art, changes or modifications in other different forms can also be made on the basis of the above description without departing from the concept of the present application. There is no need and cannot be exhaustive of all implementations here. And the obvious changes or changes derived from this are still within the protection scope of the present invention. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210359713.1A CN114647985A (en) | 2022-04-06 | 2022-04-06 | Training Method of Frontal Transit Prediction Model and Prediction Method of Frontal Transit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210359713.1A CN114647985A (en) | 2022-04-06 | 2022-04-06 | Training Method of Frontal Transit Prediction Model and Prediction Method of Frontal Transit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114647985A true CN114647985A (en) | 2022-06-21 |
Family
ID=81996808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210359713.1A Pending CN114647985A (en) | 2022-04-06 | 2022-04-06 | Training Method of Frontal Transit Prediction Model and Prediction Method of Frontal Transit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114647985A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115082791A (en) * | 2022-06-22 | 2022-09-20 | 中国人民解放军国防科技大学 | A method for automatic identification of meteorological fronts based on deep separable convolutional networks |
CN115861811A (en) * | 2022-12-06 | 2023-03-28 | 中科三清科技有限公司 | Wind shear region identification method and device, storage medium and terminal |
CN116306381A (en) * | 2023-05-17 | 2023-06-23 | 中国海洋大学 | Estuary plastic pollution cleaning method based on frontal surface prediction |
CN116681959A (en) * | 2023-06-09 | 2023-09-01 | 中科三清科技有限公司 | Machine learning-based frontal line identification method and device, storage medium and terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106327020A (en) * | 2016-08-30 | 2017-01-11 | 天津大学 | Data analysis management system based on storm surge prediction model |
CN111414991A (en) * | 2020-02-21 | 2020-07-14 | 中国人民解放军国防科技大学 | Meteorological frontal surface automatic identification method based on multivariate regression |
US20200372349A1 (en) * | 2019-05-20 | 2020-11-26 | ClimateAI, Inc. | Systems and methods of data preprocessing and augmentation for neural network climate forecasting models |
CN113850420A (en) * | 2021-09-13 | 2021-12-28 | 江苏海洋大学 | A Meteorological Data Prediction Method Based on Improved Genetic Algorithm Optimizing BP Neural Network |
-
2022
- 2022-04-06 CN CN202210359713.1A patent/CN114647985A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106327020A (en) * | 2016-08-30 | 2017-01-11 | 天津大学 | Data analysis management system based on storm surge prediction model |
US20200372349A1 (en) * | 2019-05-20 | 2020-11-26 | ClimateAI, Inc. | Systems and methods of data preprocessing and augmentation for neural network climate forecasting models |
CN111414991A (en) * | 2020-02-21 | 2020-07-14 | 中国人民解放军国防科技大学 | Meteorological frontal surface automatic identification method based on multivariate regression |
CN113850420A (en) * | 2021-09-13 | 2021-12-28 | 江苏海洋大学 | A Meteorological Data Prediction Method Based on Improved Genetic Algorithm Optimizing BP Neural Network |
Non-Patent Citations (1)
Title |
---|
陈勇伟;郑涛;王汉堃;王琦;梁耀丹;: "基于BP神经网络模型的雷电潜势预报", 干旱气象, no. 03, 15 September 2013 (2013-09-15), pages 595 - 601 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115082791A (en) * | 2022-06-22 | 2022-09-20 | 中国人民解放军国防科技大学 | A method for automatic identification of meteorological fronts based on deep separable convolutional networks |
CN115082791B (en) * | 2022-06-22 | 2024-11-01 | 中国人民解放军国防科技大学 | Meteorological frontal surface automatic identification method based on depth separable convolution network |
CN115861811A (en) * | 2022-12-06 | 2023-03-28 | 中科三清科技有限公司 | Wind shear region identification method and device, storage medium and terminal |
CN116306381A (en) * | 2023-05-17 | 2023-06-23 | 中国海洋大学 | Estuary plastic pollution cleaning method based on frontal surface prediction |
CN116306381B (en) * | 2023-05-17 | 2023-08-18 | 中国海洋大学 | A method for cleaning up plastic pollution in estuaries based on frontal prediction |
CN116681959A (en) * | 2023-06-09 | 2023-09-01 | 中科三清科技有限公司 | Machine learning-based frontal line identification method and device, storage medium and terminal |
CN116681959B (en) * | 2023-06-09 | 2024-03-19 | 中科三清科技有限公司 | Machine learning-based frontal line identification method and device, storage medium and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114647985A (en) | Training Method of Frontal Transit Prediction Model and Prediction Method of Frontal Transit | |
CN110533631B (en) | SAR Image Change Detection Method Based on Pyramid Pooling Siamese Network | |
CN107703564B (en) | A rainfall prediction method, system and electronic device | |
CN111784041B (en) | A wind power power prediction method and system based on graph convolutional neural network | |
US20210341646A1 (en) | Weather parameter prediction model training method, weather parameter prediction method, electronic device and storage medium | |
CN109948839B (en) | Method and system for prediction and early warning of galloping risk in overhead transmission lines | |
CN114004152B (en) | Multi-wind-field wind speed space-time prediction method based on graph convolution and recurrent neural network | |
CN106710316B (en) | A kind of airspace capacity based on bad weather condition determines method and device | |
CN114648170A (en) | Reservoir water level prediction and early warning method and system based on hybrid deep learning model | |
CN106779148A (en) | A kind of method for forecasting wind speed of high speed railway line of multi-model multiple features fusion | |
CN117526274A (en) | New energy power prediction method, electronic equipment and storage medium in extreme climate | |
CN116739172B (en) | A method and device for ultra-short-term offshore wind power power prediction based on slope recognition | |
CN116468186A (en) | Flight delay time prediction method, electronic equipment and storage medium | |
CN112380944A (en) | Method and system for evaluating structural state of transmission tower | |
CN118627914B (en) | Iron tower installation risk assessment method and system based on communication network | |
CN113962465A (en) | Precipitation forecasting method, equipment, device and storage medium | |
CN119398225A (en) | A knowledge graph-based natural disaster early warning method for power grids and computer equipment | |
CN114330641A (en) | A method for establishing a short-term wind speed correction model based on deep learning of complex terrain | |
CN114386654A (en) | Multi-scale numerical weather forecasting mode fusion weather forecasting method and device | |
CN116021981A (en) | Method, device, equipment and storage medium for predicting ice coating faults of power distribution network line | |
CN118094487A (en) | Method and system for predicting precipitation by multi-source meteorological elements based on space-time perception mechanism | |
Hou et al. | Data‐driven prediction for the number of distribution network users experiencing typhoon power outages | |
Li et al. | Tropical cyclone trajectory based on satellite remote sensing prediction and time attention mechanism ConvLSTM model | |
CN119761849A (en) | Method for identifying and forecasting strong convection based on deep learning | |
CN116976227B (en) | A storm water increase forecasting method and system based on LSTM machine learning |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |