Sea condition clustering division method and system based on unsupervised machine learning analysis

Through unsupervised machine learning analysis and wavelet function extraction features, combined with time domain coding and spectral clustering algorithms, the problem of difficulty in estimating the duration of stable sea conditions is solved, and accurate identification of sea conditions and improvement in ship structure fatigue calculation are achieved.

CN118690212APending Publication Date: 2024-09-24SHANGHAI SHIP & SHIPPING RES INST CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410890379.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

There is a lack of deterministic methods in the existing technology to estimate the duration of stable sea conditions, which affects the assessment of the ship's response to sea conditions.

Method used

A sea state clustering method based on unsupervised machine learning analysis is used to extract the characteristics of ocean wave height data through wavelet functions and low-pass filters, and combined with temporal neighborhood coding and spectral clustering algorithms to identify stable sea states.

Benefits of technology

It achieves accurate clustering of sea conditions, provides a more discernible method to identify the stationary sea conditions encountered by ships, and improves the accuracy of fatigue calculation of ship structures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690212A
    Figure CN118690212A
Patent Text Reader

Abstract

The invention provides a sea condition clustering division method and system based on unsupervised machine learning analysis, and the method comprises the steps: automatically obtaining sea wave height data according to a time sequence, carrying out the convolution of the sea wave height data at each time point with wavelet functions at different scales, and obtaining a plurality of wavelet coefficients at different scales at each time point; performing modulo operation on each wavelet coefficient to obtain a plurality of wavelet modulus coefficients, averaging all the wavelet modulus coefficients at each time point through a low-pass filter to obtain scattering coefficients of different scales, and obtaining feature sets of the sea wave height data at each time point in different dimensions according to the scattering coefficients of different scales; and then coding each feature in the feature set by using a time neighborhood coding method of unsupervised machine learning to obtain a coded new feature set, and finally clustering each feature in the new feature set by using a spectral clustering algorithm to obtain a plurality of clusters representing different stable sea conditions so as to realize division of sea condition clustering.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of water transport safety and risk assessment, and in particular to a sea condition clustering division method and system based on unsupervised machine learning analysis. Background Art

[0002] The navigation performance of a ship at sea is largely affected by the marine environment it encounters, such as wind, waves and currents, collectively referred to as the sea state. The marine community generally assumes that a stable sea state lasts from 30 minutes to several hours, which is a random process. This assumption plays a vital role in the characterization of stable sea conditions, which is a key input for ship navigation risk assessment. With the advent of digitalization in shipping, more and more navigation and performance-related data are being collected, which provides an opportunity to test the validity of this assumption.

[0003] The idea of ​​using ship motion to estimate the ocean spectrum dates back to the 1970s. This groundbreaking idea was further developed by analogy with wave buoys, which was an innovative extension to incorporate the complex dynamics of the ship into the estimation process. This conceptual breakthrough provided a springboard for a large number of in-depth academic studies. In these pioneering studies, scholars continued to explore and improve this method, enhancing our understanding of sea state estimation from a wave-induced perspective.

[0004] Recent advances in machine learning and deep learning algorithms have positioned data-driven approaches as promising alternatives for developing sea state estimates. Nonetheless, these approaches have their limitations. For example, they typically assume that sea conditions are stable over a defined period of time, but do not provide a way to determine how long the sea conditions are stable, a key factor in assessing a vessel’s response to sea conditions. The estimated duration of these stable sea conditions, which is typically assumed to be between 30 minutes and 6 hours in studies, remains a topic of debate, and this knowledge gap highlights the need for more advanced models. Summary of the invention

[0005] In order to solve the problem that there is currently a lack of deterministic methods for the duration of stable sea conditions, the present invention provides a sea condition clustering method based on unsupervised machine learning analysis. Based on wave height data, the scattering coefficient is calculated by using a wavelet function and a low-pass filter to extract the characteristics of the wave height data in different dimensions, and the time neighborhood coding method of unsupervised machine learning is combined for encoding to reduce the feature dimension and enhance the time domain stability weight. In addition, a spectral clustering algorithm is used for clustering to achieve clustering of stable sea conditions according to the unsupervised machine learning method, so that the stress signal or other wave-induced response can be used to identify the stationary sea conditions encountered by the ship. The present invention also relates to a sea condition clustering system based on unsupervised machine learning analysis.

[0006] The technical solution of the present invention is as follows:

[0007] A sea condition clustering method based on unsupervised machine learning analysis, characterized in that it comprises the following steps:

[0008] Data acquisition steps: automatically acquire wave height data in chronological order;

[0009] Feature extraction steps: Based on the wavelet scattering network, the wave height data at each time point is convolved with wavelet functions at different scales to obtain wavelet coefficients of multiple scales at each time point, and each wavelet coefficient is modulo-operated to obtain multiple wavelet modulus coefficients. Then, all wavelet modulus coefficients at each time point are averaged through a low-pass filter to obtain scattering coefficients of multiple different levels. The characteristics of the wave height data at each time point in different dimensions are obtained according to the scattering coefficient of the highest level among all levels, thereby forming a feature set.

[0010] Temporal neighborhood coding step: Use the temporal neighborhood coding method of unsupervised machine learning to encode each feature in the feature set respectively, reduce the dimension of the feature set generated by the high-order scattering transformation, and obtain a new feature set after encoding;

[0011] Sea state clustering step: The spectral clustering algorithm is used to cluster the features in the new feature set to obtain multiple clusters representing different stable sea conditions to achieve the division of sea state clustering.

[0012] Preferably, in the feature extraction step, based on a wavelet scattering network, the wave height data of the one-dimensional time series is first convolved with a wavelet function at a specific scale to obtain the wavelet coefficient of each time point at the scale, and each wavelet coefficient is modulo-operated to obtain multiple wavelet modulus coefficients as the first layer of the wavelet scattering transform, and then all the wavelet modulus coefficients at each time point are averaged through a low-pass filter to obtain the scattering coefficient of the first level, which represents the first-order characteristics of the wave height data at the first level; for high-order scattering transforms, the above process is repeated to obtain the scattering coefficients of each level, which represent the high-order characteristics of the wave height data at different levels; finally, the characteristics of the wave height data at each time point in different dimensions are obtained according to the scattering coefficient of the highest level among all levels, thereby forming a feature set.

[0013] Preferably, in the time neighborhood coding step, the time neighborhood coding method of unsupervised machine learning is used to encode each feature in the feature set respectively, including: using a contrast learning method to learn the optimal window width of the stationary time series at the moment corresponding to each feature in the feature set, determining the time neighborhood around the moment corresponding to each feature according to the optimal window width, and then constructing multiple time windows, and performing feature fusion on all features in the feature set in each time window to obtain the encoding of each feature, and then obtaining the encoded new feature set.

[0014] Preferably, in the sea condition clustering step, the K-means clustering algorithm, the Bayesian-Gaussian mixture clustering algorithm and the hierarchical clustering algorithm are respectively used to cluster each feature in the new feature set to obtain multiple clustering results, and the multiple clustering results are respectively compared with the clusters clustered by the spectral clustering algorithm to determine that the spectral clustering algorithm is the optimal algorithm.

[0015] Preferably, in the feature extraction step, the wavelet function is generated by translating and scaling the mother wavelet function.

[0016] A sea condition clustering system based on unsupervised machine learning analysis, characterized in that it comprises a data acquisition module, a feature extraction module, a time neighborhood encoding module and a sea condition clustering module connected in sequence,

[0017] The data acquisition module automatically acquires the wave height data in chronological order;

[0018] The feature extraction module, based on the wavelet scattering network, convolves the wave height data of each time point with wavelet functions at different scales to obtain wavelet coefficients of multiple scales at each time point, performs modulus operations on each wavelet coefficient to obtain multiple wavelet modulus coefficients, and then averages all the wavelet modulus coefficients at each time point through a low-pass filter to obtain scattering coefficients of multiple different levels, and obtains the features of the wave height data of each time point in different dimensions according to the scattering coefficient of the highest level among all levels, thereby forming a feature set;

[0019] The temporal neighborhood coding module uses a temporal neighborhood coding method of unsupervised machine learning to encode each feature in the feature set, thereby reducing the dimension of the feature set generated by the high-order scattering transformation and obtaining a new feature set after encoding;

[0020] The sea condition clustering module uses a spectral clustering algorithm to cluster each feature in the new feature set to obtain multiple clusters representing different stable sea conditions to achieve sea condition clustering division.

[0021] Preferably, in the feature extraction module, based on the wavelet scattering network, the wave height data of the one-dimensional time series is first convolved with the wavelet function at a specific scale to obtain the wavelet coefficient of each time point at the scale, and each wavelet coefficient is modulo-operated to obtain multiple wavelet modulus coefficients as the first layer of the wavelet scattering transform, and then all the wavelet modulus coefficients at each time point are averaged through a low-pass filter to obtain the scattering coefficient of the first level, which represents the first-order characteristics of the wave height data at the first level; for the high-order scattering transform, the above process is repeated to obtain the scattering coefficients of each level, which represents the high-order characteristics of the wave height data at different levels; finally, the characteristics of the wave height data at each time point in different dimensions are obtained according to the scattering coefficient of the highest level among all levels, thereby forming a feature set.

[0022] Preferably, in the time neighborhood coding module, the time neighborhood coding method of unsupervised machine learning is used to encode each feature in the feature set respectively, including: using a contrast learning method to learn the optimal window width of the stationary time series at the moment corresponding to each feature in the feature set, determining the time neighborhood around the moment corresponding to each feature according to the optimal window width, and then constructing multiple time windows, and performing feature fusion on all features in the feature set in each time window to obtain the encoding of each feature, and then obtaining a new feature set after encoding.

[0023] Preferably, in the sea condition clustering module, the K-means clustering algorithm, the Bayesian-Gaussian mixture clustering algorithm and the hierarchical clustering algorithm are respectively used to cluster each feature in the new feature set to obtain multiple clustering results, and the multiple clustering results are respectively compared with the clusters clustered by the spectral clustering algorithm to determine that the spectral clustering algorithm is the optimal algorithm.

[0024] Preferably, the wavelet function is generated by translating and scaling a mother wavelet function.

[0025] The beneficial effects of the present invention are:

[0026] The present invention provides a sea condition clustering method based on unsupervised machine learning analysis, which first automatically obtains wave height data in chronological order, and then convolves the wave height data at each time point with wavelet functions at different scales based on a wavelet scattering network to obtain wavelet coefficients of multiple different scales at each time point, so as to describe frequency information at different scales and times, capture detailed information such as changes in wave height data within different frequency ranges, and help extract important features of wave height data and reduce redundant information; and perform modulo operation on each wavelet coefficient to obtain multiple wavelet modulo coefficients, and the modulo operation eliminates the wavelet coefficients. The positive and negative signs retain the amplitude information, effectively reduce the influence of noise and make the subsequent processing more stable; then, all the wavelet mode coefficients at each time point are averaged through a low-pass filter to obtain scattering coefficients of multiple different levels, reducing the number of wavelet coefficients at each scale, thereby reducing the dimension of the feature, which helps to reduce the computational complexity and storage requirements; according to the scattering coefficient of the highest level in all levels, the feature set of the wave height data at each time point in different dimensions is obtained, which can effectively reflect the energy distribution of the wave height data at different scales, better capture the overall energy characteristics of the signal and ignore high-frequency details. Then, the time neighborhood coding method of unsupervised machine learning is used to encode each feature in the feature set respectively, and the encoded new feature set is obtained, which can effectively extract the important time information in the feature set and retain the time structure of the original feature at a lower dimension, thereby reducing the feature dimension and improving the effect of feature expression. In addition, the time neighborhood coding process adopts a contrastive learning method, which does not require pre-labeling of the data set, reduces the training cost and improves the generalization ability; finally, the spectral clustering algorithm is used to cluster the features in the new feature set, and multiple clusters representing different stable sea conditions are obtained to achieve unsupervised sea state clustering division. The present invention solves the problem in the prior art that data measurements of ships are performed based only on the assumption that the sea conditions are stable within a certain period of time, but a method for determining the duration of stable sea conditions is not provided. The wavelet scattering transform analysis is used to capture the translation-invariant characteristics of wave height data signals at different scales, thereby providing a more recognizable method for clustering non-stationary time series. In conjunction with feature dimensionality reduction based on time neighborhood coding (TNC coding) and the synergistic effect of various clustering algorithms, it is possible to cluster stable sea conditions according to unsupervised machine learning methods, thereby being able to use stress signals or other wave-induced responses to identify the stationary sea conditions encountered by the ship, thereby achieving the purpose of significantly improving the accuracy of calculations such as ship structure fatigue.

[0027] The present invention also relates to a sea condition clustering division system based on unsupervised machine learning analysis, which corresponds to the above-mentioned sea condition clustering division method based on unsupervised machine learning analysis, and can be understood as a system for implementing the above-mentioned sea condition clustering division method based on unsupervised machine learning analysis, including a data acquisition module, a feature extraction module, a time neighborhood coding module and a sea condition clustering module connected in sequence, and each module works together to calculate the scattering coefficient based on the wave height data of the sea wave, by using a wavelet function and a low-pass filter to extract the characteristics of the wave height data at different scales, and encode it in combination with the time neighborhood coding method to reduce the dimension of the feature set generated by the high-order scattering transform, and clustering using a spectral clustering algorithm to achieve clustering of steady sea conditions according to the unsupervised machine learning method, so that the quasi-steady sea conditions encountered by the ship can be identified by using stress signals or other wave-induced responses. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a flow chart of the sea condition clustering method based on unsupervised machine learning analysis of the present invention.

[0029] Figure 2 It is a schematic diagram of the wave height and the corresponding stationary sea waves of the present invention.

[0030] Figure 3 It is a comparative schematic diagram of the first and last groups of features obtained by wavelet scattering transform in the present invention.

[0031] Figure 4 It is a schematic diagram of different sea conditions clustered by the present invention using the K-means clustering algorithm.

[0032] Figure 5 It is a schematic diagram of different sea conditions clustered by the Bayesian-Gaussian mixture clustering algorithm of the present invention.

[0033] Figure 6 It is a schematic diagram of different sea conditions clustered by the hierarchical clustering algorithm of the present invention.

[0034] Figure 7 It is a schematic diagram of different sea conditions clustered by the spectral clustering algorithm of the present invention. DETAILED DESCRIPTION

[0035] The present invention will be described below in conjunction with the accompanying drawings.

[0036] The present invention relates to a sea condition clustering method based on unsupervised machine learning analysis. The flow chart of the method is as follows: Figure 1 As shown, the following steps are included in sequence:

[0037] Data acquisition steps: Automatically acquire wave height data in chronological order.

[0038] The feature extraction step, also known as the wavelet scattering transform analysis step, is achieved by associating the wave height data signal with a set of wavelet functions, and these wavelet functions are derived from a single mother wavelet function by scaling and shifting: based on the wavelet scattering network (i.e., wavelet scattering transform), the wave height data at each time point is convolved with wavelet functions at different scales to obtain wavelet coefficients of multiple different scales at each time point, and each wavelet coefficient is modulo-operated to obtain multiple wavelet modulus coefficients, and then all the wavelet modulus coefficients at each time point are averaged through a low-pass filter to obtain scattering coefficients of multiple different levels, and the characteristics of the wave height data at each time point in different dimensions are obtained according to the scattering coefficient of the highest level among all levels, so as to realize time-frequency data feature extraction and form a feature set.

[0039] Specifically, the one-dimensional time series of sea wave height data signal x(t) is first convolved with the wavelet function ψλ1 at a specific scale λ1 to obtain the wavelet coefficient at the scale λ1, denoted as x★ψλ1; wherein the wavelet function is derived from a single mother wavelet function by scaling and translating. Then the wavelet coefficient at the scale λ1 is modulo-operated to obtain the wavelet modulus coefficient, that is, after modulo-operation, |x★ψλ1| is obtained to obtain the first layer of the wavelet scattering transform, and then the wavelet modulus coefficient is averaged through a low-pass filter low-passfilterφ(t) to obtain the scattering coefficient at the scale λ1 (i.e., the first layer), which is expressed as follows:

[0040]

[0041] In the above formula, S1x(t, λ1) represents the first-order scattering coefficient, which indicates the energy distribution of the signal at the scale λ1 and is the characteristic representation of the signal at the scale λ1.

[0042] For the high-order scattering transform at this time point, the above process is restated as:

[0043]

[0044] In the formula, S k x(t,λ1,λ2,…,λ k) represents the k-th scattering coefficient, and the wavelet scattering transform can generate a set of features describing the signal at different scales (such as at scales λ2, λ3), that is, the scattering coefficients of each level (such as the second level and the third level) can be obtained to represent the high-order features of the wave height data at different levels; finally, since the scattering coefficients of each level have a set of corresponding dimensions (such as 10 dimensions for the first level and 20 dimensions for the second level), and the scattering coefficients of the highest level can fully extract the characteristic information implicit in the wave height data signal of the one-dimensional time series, the highest-order scattering coefficients of all levels are selected, and the characteristics of the wave height data at each time point of the level at different dimensions can be obtained according to the scattering coefficients of the highest level, thereby forming a feature set, and the feature set F is defined as:

[0045]

[0046] Where k∈N represents the order of the scattering transformation, λ i ∈Λ represents the scale parameter of the i-th order, which is selected from the predefined scale set Λ. The feature set F constitutes a high-dimensional representation of the original time series, and its complex multi-scale structure is subsequently encoded. The encoding method is not affected by time shift and is conducive to clustering.

[0047] Temporal neighborhood coding step: The temporal neighborhood coding method of unsupervised machine learning is used to encode each feature in the feature set respectively, reduce the dimension of the feature set generated by the high-order scattering transformation, and obtain a new encoded feature set.

[0048] Specifically, in time neighborhood coding, for a feature fi in the feature set, at the time ti corresponding to the feature, a contrastive learning method is used to learn the optimal window width of the stationary time series at the time ti, and the time neighborhood N(ti) around the time ti is determined according to the optimal window width. This process is completed through the objective function, which is expressed as follows:

[0049]

[0050] According to the time ti and the time neighborhood N(ti), a specified time window [ti-Δt, ti+Δt] is constructed. For example, if the time ti is 10 minutes and the size of the time neighborhood Δt is 3 minutes, the specified time window is [10 minutes-3 minutes, 10 minutes+3 minutes], that is, the specified time window is 7 minutes-13 minutes; by accumulating all features in the feature set within the time window (that is, encapsulating all features within the specified time window), the result obtained by the accumulation operation is the encoding ei of the feature fi. Therefore, the encoded feature ei is defined as:

[0051]

[0052] Each feature in the feature set is encoded by the above method to obtain a new encoded feature set E, which has a lower dimension than the original feature set F, so as to potentially reduce the dimension of the feature set generated by the wavelet scattering transform while maintaining the temporal structure of the feature.

[0053] Sea state clustering step: cluster each feature in the new feature set using a spectral clustering algorithm to obtain multiple clusters representing different stable sea conditions to achieve unsupervised sea state clustering division. Preferably, the K-means clustering algorithm, the Bayesian Gaussian mixture clustering algorithm and the hierarchical clustering algorithm are also used to cluster each feature in the new feature set to obtain multiple clustering results, and the multiple clustering results are compared with the clusters clustered by the spectral clustering algorithm (which can also be understood as an index evaluation) to determine that the spectral clustering algorithm is the optimal algorithm.

[0054] Example:

[0055] First, nine different fixed sea conditions were selected for simulation experiments. The duration of each sea condition was randomly assigned to half-hour (i.e., 1800 seconds) increments, as shown in Table 1. The effective wave height Hs ranged from 2.5 meters in calm to 10 meters in severe conditions, and the wave period Tp ranged from 6s to 12s. The sampling frequency of 10 Hz was used in all nine sea condition simulations.

[0056] Table 1

[0057]

[0058] According to Table 1, we can get Figure 2 The final simulation result is shown in Figure 1. The x-axis represents the time from 4:00 to 00:00 (or 24:00) which is set manually to provide a clearer description of the simulation. The left y-axis represents the wave height in meters, and the right y-axis represents the serial number assigned to the calm sea state, ranging from 1 to 9. In addition, Figure 2 It can be seen that the wave heights during the period from 4:00 to 5:30 are relatively close, so the sea conditions during this period are regarded as a calm sea condition; 5:30-6:00 is a calm sea condition, 6:00-8:30 is a calm sea condition, and so on, representing 9 different calm sea conditions.

[0059] Before applying the wavelet scattering transform for feature extraction, the high-frequency time series data is first downsampled. The wave height data with an initial sampling frequency of 10 Hz is downsampled to a frequency of one measurement value per minute, and 54 wavelet features are obtained by the wavelet scattering transform. The comparison of the distribution of the first and 54th features over all time is shown in Figure 2. Figure 3 As shown, the y-axis represents the wavelet coefficient (ie, dimensionless feature). Figure 3 The first feature shown in the figure reflects the low-frequency feature information in the original data, encapsulating the most common patterns in the data, which provides an overview of the overall trend presented in the time series. In contrast, the 54th feature, also shown in the figure, corresponds to the high-frequency feature information and captures the subtle patterns in the data, which shows the more complex structure and subtle details in the time series.

[0060] Four clustering algorithms are selected for the clustering of steady sea conditions based on wave height simulation: K-means clustering algorithm, Bayesian-Gaussian mixture clustering algorithm, hierarchical clustering algorithm and spectral clustering algorithm. The 10 feature sets obtained after wavelet scattering and TNC encoding are clustered for steady sea conditions, such as Figure 4-Figure 7 As shown in the figure, both K-means clustering algorithm and Bayesian-Gaussian mixture clustering algorithm are based on compactness model. Their clustering results show close consistency, because they both divide the first sea state into two different sea states. In addition, they also incorrectly cluster the continuous stable states 5, 8 and the last stable state as non-continuous sea states, including the wrong stable state interval of half an hour. In contrast, the hierarchical clustering algorithm and the spectral clustering algorithm are both connectivity-based, and the clustering results based on the model are significantly superior. Hierarchical clustering only incorrectly divides the sea state 8 into 3 different states, while spectral clustering achieves perfect classification of 9 sea states without any misclassification. It can be seen that the connectivity-based method is more suitable for the clustering of stable sea states than the compactness-based model. Among the two connectivity-based clustering algorithms, the spectral clustering algorithm is more suitable for handling the classification problem of one-dimensional time series than the hierarchical clustering algorithm. This is because the spectral clustering algorithm effectively utilizes the spectral (eigenvalue) decomposition of the similarity matrix, which enables it to capture the inherent temporal continuity in time series data more effectively than hierarchical clustering. In addition, the ability of spectral clustering algorithm to identify global patterns in data by using the eigenvalues ​​of similarity matrix is ​​particularly valuable for time series data, which often shows global and local patterns. Therefore, spectral clustering algorithm is the optimal algorithm. The successful implementation of spectral clustering algorithm further verifies the effectiveness of the method. Meaningful and concise feature representation can be extracted from one-dimensional time series data through the combination of wavelet scattering and time domain coding. Therefore, the method will be applied to a set of real ship measurements to evaluate its potential in real-world wave-induced response.

[0061] The present invention also relates to a sea condition clustering division system based on unsupervised machine learning analysis, which corresponds to the above-mentioned sea condition clustering division method based on unsupervised machine learning analysis, and can be understood as a system for implementing the above-mentioned method. The system includes a data acquisition module, a feature extraction module, a time neighborhood encoding module and a sea condition clustering module connected in sequence. Specifically,

[0062] The data acquisition module automatically acquires the wave height data in chronological order;

[0063] The feature extraction module, based on the wavelet scattering network, convolves the wave height data of each time point with wavelet functions at different scales to obtain wavelet coefficients of multiple scales at each time point, performs modulus operations on each wavelet coefficient to obtain multiple wavelet modulus coefficients, and then averages all the wavelet modulus coefficients at each time point through a low-pass filter to obtain scattering coefficients of multiple different levels, and obtains the features of the wave height data of each time point in different dimensions according to the scattering coefficient of the highest level among all levels, thereby forming a feature set;

[0064] The temporal neighborhood coding module uses a temporal neighborhood coding method of unsupervised machine learning to encode each feature in the feature set, thereby reducing the dimension of the feature set generated by the high-order scattering transformation and obtaining a new feature set after encoding;

[0065] The sea condition clustering module uses a spectral clustering algorithm to cluster each feature in the new feature set to obtain multiple clusters representing different stable sea conditions to achieve sea condition clustering division.

[0066] Preferably, in the feature extraction module, based on the wavelet scattering network, the wave height data of the one-dimensional time series is first convolved with the wavelet function at a specific scale to obtain the wavelet coefficient of each time point at the scale, and each wavelet coefficient is modulo-operated to obtain multiple wavelet modulus coefficients as the first layer of the wavelet scattering transform, and then all the wavelet modulus coefficients at each time point are averaged through a low-pass filter to obtain the scattering coefficient of the first level, which represents the first-order characteristics of the wave height data at the first level; for the high-order scattering transform, the above process is repeated to obtain the scattering coefficients of each level, which represents the high-order characteristics of the wave height data at different levels; finally, the characteristics of the wave height data at each time point in different dimensions are obtained according to the scattering coefficient of the highest level among all levels, thereby forming a feature set.

[0067] Preferably, in the time neighborhood coding module, the time neighborhood coding method of unsupervised machine learning is used to encode each feature in the feature set separately, including: using a contrast learning method to learn the optimal window width of the stationary time series at the moment corresponding to each feature in the feature set, determining the time neighborhood around the moment corresponding to each feature according to the optimal window width, and then constructing multiple time windows, and performing feature fusion on all features in the feature set in each time window to obtain the encoding of each feature, and then obtaining a new feature set after encoding.

[0068] Preferably, in the sea condition clustering module, the K-means clustering algorithm, the Bayesian-Gaussian mixture clustering algorithm and the hierarchical clustering algorithm are respectively used to cluster each feature in the new feature set to obtain multiple clustering results, and the multiple clustering results are respectively compared with the clusters clustered by the spectral clustering algorithm to determine that the spectral clustering algorithm is the optimal algorithm.

[0069] Preferably, the wavelet function is generated by translating and scaling the mother wavelet function.

[0070] The present invention provides an objective and scientific sea condition clustering division method and system based on unsupervised machine learning analysis. Based on the wave height data, the scattering coefficient is calculated by using wavelet function and low-pass filter to extract the characteristics of the wave height data at different scales, and the characteristics are encoded in combination with the time neighborhood coding method. The spectral clustering algorithm is used for clustering to achieve clustering of steady sea conditions according to the unsupervised machine learning method, so that the stress signal or other wave induced response can be used to identify the stationary sea conditions encountered by the ship, so as to achieve the purpose of significantly improving the accuracy of calculations such as ship structure fatigue.

[0071] It should be noted that the above-described specific implementations can enable those skilled in the art to more fully understand the invention, but do not limit the invention in any way. Therefore, although this specification has described the invention in detail with reference to the drawings and embodiments, those skilled in the art should understand that the invention can still be modified or replaced by equivalents. In short, all technical solutions and improvements that do not deviate from the spirit and scope of the invention should be included in the protection scope of the patent for the invention.

Claims

1. A sea condition clustering method based on unsupervised machine learning analysis, characterized in that: The following steps are involved: Data acquisition steps: automatically acquire wave height data in chronological order; Feature extraction steps: Based on the wavelet scattering network, the wave height data at each time point is convolved with wavelet functions at different scales to obtain wavelet coefficients of multiple scales at each time point, and each wavelet coefficient is modulo-operated to obtain multiple wavelet modulus coefficients. Then, all wavelet modulus coefficients at each time point are averaged through a low-pass filter to obtain scattering coefficients of multiple different levels. The characteristics of the wave height data at each time point in different dimensions are obtained according to the scattering coefficient of the highest level among all levels, thereby forming a feature set. Temporal neighborhood coding step: Use the temporal neighborhood coding method of unsupervised machine learning to encode each feature in the feature set respectively, reduce the dimension of the feature set generated by the high-order scattering transformation, and obtain a new feature set after encoding; Sea state clustering step: The spectral clustering algorithm is used to cluster the features in the new feature set to obtain multiple clusters representing different stable sea conditions to achieve the division of sea state clustering.

2. The sea condition clustering method based on unsupervised machine learning analysis according to claim 1, characterized in that: In the feature extraction step, based on the wavelet scattering network, the wave height data of the one-dimensional time series is first convolved with the wavelet function at a specific scale to obtain the wavelet coefficient of each time point at the scale, and each wavelet coefficient is modulo-operated to obtain multiple wavelet modulus coefficients as the first layer of the wavelet scattering transform, and then all the wavelet modulus coefficients at each time point are averaged through a low-pass filter to obtain the scattering coefficient of the first layer, which represents the first-order characteristics of the wave height data at the first layer; for the high-order scattering transform, the above process is repeated to obtain the scattering coefficients of each layer, which represents the high-order characteristics of the wave height data at different layers; finally, the characteristics of the wave height data at each time point in different dimensions are obtained according to the scattering coefficient of the highest layer among all layers, thereby forming a feature set.

3. The sea condition clustering method based on unsupervised machine learning analysis according to claim 1, characterized in that: In the time neighborhood coding step, the time neighborhood coding method of unsupervised machine learning is used to encode each feature in the feature set respectively, including: using a contrast learning method to learn the optimal window width of the stationary time series at the moment corresponding to each feature in the feature set, determining the time neighborhood around the moment corresponding to each feature according to the optimal window width, and then constructing multiple time windows, and performing feature fusion on all features in the feature set in each time window to obtain the encoding of each feature, and then obtaining the encoded new feature set.

4. The sea condition clustering method based on unsupervised machine learning analysis according to any one of claims 1 to 3, characterized in that: In the sea condition clustering step, the K-means clustering algorithm, the Bayesian-Gaussian mixture clustering algorithm and the hierarchical clustering algorithm are respectively used to cluster each feature in the new feature set to obtain multiple clustering results, and the multiple clustering results are respectively compared with the clusters clustered by the spectral clustering algorithm to determine that the spectral clustering algorithm is the optimal algorithm.

5. The sea condition clustering method based on unsupervised machine learning analysis according to any one of claims 1 to 3, characterized in that: In the feature extraction step, the wavelet function is generated by translating and scaling the mother wavelet function.

6. A sea condition clustering system based on unsupervised machine learning analysis, characterized in that: It includes a data acquisition module, a feature extraction module, a time neighborhood coding module and a sea state clustering module connected in sequence. The data acquisition module automatically acquires the wave height data in chronological order; The feature extraction module, based on the wavelet scattering network, convolves the wave height data of each time point with wavelet functions at different scales to obtain wavelet coefficients of multiple scales at each time point, performs modulus operations on each wavelet coefficient to obtain multiple wavelet modulus coefficients, and then averages all the wavelet modulus coefficients at each time point through a low-pass filter to obtain scattering coefficients of multiple different levels, and obtains the features of the wave height data of each time point in different dimensions according to the scattering coefficient of the highest level among all levels, thereby forming a feature set; The temporal neighborhood coding module uses a temporal neighborhood coding method of unsupervised machine learning to encode each feature in the feature set, thereby reducing the dimension of the feature set generated by the high-order scattering transformation and obtaining a new feature set after encoding; The sea condition clustering module uses a spectral clustering algorithm to cluster each feature in the new feature set to obtain multiple clusters representing different stable sea conditions to achieve sea condition clustering division.

7. The sea condition clustering system based on unsupervised machine learning analysis according to claim 6, characterized in that: In the feature extraction module, based on the wavelet scattering network, the wave height data of the one-dimensional time series is first convolved with the wavelet function at a specific scale to obtain the wavelet coefficient of each time point at the scale, and each wavelet coefficient is modulo-operated to obtain multiple wavelet modulus coefficients as the first layer of the wavelet scattering transform, and then all the wavelet modulus coefficients at each time point are averaged through a low-pass filter to obtain the scattering coefficient of the first layer, which represents the first-order characteristics of the wave height data at the first layer; for the high-order scattering transform, the above process is repeated to obtain the scattering coefficients of each layer, which represents the high-order characteristics of the wave height data at different layers; finally, the characteristics of the wave height data at each time point in different dimensions are obtained according to the scattering coefficient of the highest layer among all layers, thereby forming a feature set.

8. The sea condition clustering system based on unsupervised machine learning analysis according to claim 6, characterized in that: In the time neighborhood coding module, the time neighborhood coding method of unsupervised machine learning is used to encode each feature in the feature set respectively, including: using a contrast learning method to learn the optimal window width of the stationary time series at the moment corresponding to each feature in the feature set, determining the time neighborhood around the moment corresponding to each feature according to the optimal window width, and then constructing multiple time windows, and performing feature fusion on all features in the feature set in each time window to obtain the encoding of each feature, and then obtaining a new feature set after encoding.

9. The sea condition clustering system based on unsupervised machine learning analysis according to any one of claims 6 to 8, characterized in that: In the sea condition clustering module, the K-means clustering algorithm, the Bayesian-Gaussian mixture clustering algorithm and the hierarchical clustering algorithm are respectively used to cluster the features in the new feature set to obtain multiple clustering results, and the multiple clustering results are respectively compared with the clusters clustered by the spectral clustering algorithm to determine that the spectral clustering algorithm is the optimal algorithm.

10. The sea condition clustering system based on unsupervised machine learning analysis according to any one of claims 6 to 8, characterized in that: The wavelet function is generated by translating and scaling the mother wavelet function.