Open Access
This article is

- freely available
- re-usable

*Entropy*
**2018**,
*20*(1),
55;
https://doi.org/10.3390/e20010055

Article

A Sequential Algorithm for Signal Segmentation

^{1}

Instituto de Matemática e Estatística, University of São Paulo (IME-USP), São Paulo 05508-090, Brazil

^{2}

Mechanical Engineering Department, Escola Politécnica—University of São Paulo (EP-USP), São Paulo 05508-010, Brazil

^{*}

Author to whom correspondence should be addressed.

Received: 29 November 2017 / Accepted: 9 January 2018 / Published: 12 January 2018

## Abstract

**:**

The problem of event detection in general noisy signals arises in many applications; usually, either a functional form of the event is available, or a previous annotated sample with instances of the event that can be used to train a classification algorithm. There are situations, however, where neither functional forms nor annotated samples are available; then, it is necessary to apply other strategies to separate and characterize events. In this work, we analyze 15-min samples of an acoustic signal, and are interested in separating sections, or segments, of the signal which are likely to contain significant events. For that, we apply a sequential algorithm with the only assumption that an event alters the energy of the signal. The algorithm is entirely based on Bayesian methods.

Keywords:

signal detection; bayesian methods; hypothesis testing; audio segmentation## 1. Introduction

Signal processing is a field of intense research, both in engineering, physics and medicine (for a quick and interesting exposition on the applications of signal processing, see https://signalprocessingsociety.org/our-story/signal-processing-101. For subacquatic signal processing, see [1]), and in the statistical (particularly Bayesian) literature [2,3,4]. The most recurrent problems in the field are signal estimation, model comparison, and signal detection [5,6,7]: in signal estimation, given a functional form for the signal (for instance, an exponentially decaying tonal model) and a sample, the researcher wants to estimate the functional form’s parameters (the rate of decay, the fundamental frequency). In model comparison, there are different possible functional forms for the signal, and given one or more samples, one is interested in selecting the most adequate model for them. In signal detection, the researcher is given a sample of the signal, and must decide if a given functional form (which we might call an event) is or is not present.

These situations arise typically when the researcher has some control over the process of data acquisition. Namely, she is usually well aware of the presence of the event of interest in the sample, or knows precisely the kind of event she is looking for (and/or its duration). In these situations, previous works from the 1980s and 1990s [3,5,6,7] have successfully applied maximum entropy and Bayesian methods to solve the basic problems of signal estimation, model comparison and signal detection.

On the other hand, there are situations in which the researcher has very little information about the occurrence times or precise functional form of events. This is the case in this work.

We analyze samples of a subaquatic audio recording obtained by the OceanPod, a hydrophone developed by the Laboratory of Acoustics and Environment (LACMAM) at EP-USP. The OceanPod is capable of storing 5 months of a digital signal sampled with a frequency of $11.025$ Hz. More information about the OceanPod can be found at http://lacmam.poli.usp.br/Submarina.html.

In January 2015, one OceanPod was first installed in the region of Parque da Laje, a marine conservation park on the Brazilian coast, in the region of Santos, SP. It is kept at a depth of 20 m, and after a period ranging from 30 to 90 days it is retrieved for data extraction. After the data is extracted, the hydrophone is reinserted at the same spot. Several of these data acquisition operations have been carried out from 2015 to the present time, and are still occurring.

When analyzing such data, one has very little information to work with. There is no exhaustive list of possible events that might be taking place, and there is not any information about starting times or duration of their occurrences. If the analyst is looking for a very specific event (in terms of functional form either in time or frequency domain), it might be possible to design a (unsupervised) detection algorithm tailored to this functional form; however, the lack of information about the starting times of the events makes the detection task very computationally intensive, given the sparsity of subaquatic acoustic events [8].

A natural approach is then to, first and foremost, separate sections from the signal that are likely to contain some event (as opposed to sections containing noise only). The underwater oceanic environment is very economic in this sense: there can be periods of many minutes (even hours) where nothing but the waves (and the omnipresent sound of shrimps and barnacles clapping and clicking) can be heard. This indicates that, rather than processing the entire signal in search of an event, it would be much better to first obtain sections where we believe something is happening, and then try to figure out exactly what it is.

This problem is known in the literature as signal segmentation, and shows up in different contexts [9,10,11,12]. In the specific context of audio segmentation, [13] presents a review of the algorithms often applied to solve this problem. These are divided in three categories: the distance-based segmentation; the model-based segmentation; and hybrid techniques. The distance-based approach works directly with the audio waveform (amplitudes in time domain), and assumes nothing about the form of the segments; the model-based segmentation, on the other hand, starts with a collection of models, and works by training a classification algorithm on previously annotated data. The hybrid approach applies both distance-based and model-based approaches in a single framework.

In this paper, we propose an algorithm that can be classified as distance-based, in the sense that it does not assume a collection of models, nor does it use any pre-annotated samples. We formulate the problem in a very general form, and adopt a maximum entropy Bayesian approach to propose a solution. We argue that this theoretical framework is specially adequate for the situation of scarce information, since from maximum entropy we learn how to avoid insidious and implicit assumptions to sneak into the model, and from Bayesian inference we learn how to make the best use of whatever prior information is available.

Also, the maximum entropy Bayesian approach allows us to work from first principles, avoiding the introduction of ad hoc procedures. We work our way from the assumptions to the final method of solution, using little more than the basic theorems of probability theory, and making explicit each and every assumption we make about the signal we are analyzing.

The rest of the paper is organized as follows: in the next section, we introduce our main assumption and build the first part of the segmentation procedure. Section 3 completely defines our segmentation algorithm. Section 4 compares our algorithm with an alternative method found in the literature, using simulated data, and Section 5 makes the same comparison in a few samples from the actual signal obtained from the OceanPod. Section 6 concludes the paper.

## 2. Bayesian Model for Power Switch

Suppose we are given a discretely sampled signal $y\in {\Re}^{N}$ corrupted with noise. Given a sampling frequency rate ${f}_{s}$, this signal corresponds to a total duration of $T=N\xb7{f}_{s}$ seconds. We assume that the signal is stationary with 0 mean amplitude, $E({y}_{t})=0$, and finite power $Var({y}_{t})={\sigma}_{0}^{2}<\infty $. We adopt the notation ${y}_{t}$ to indicate the t component of the discrete-time signal.

Now let us imagine that, at sample time $\overline{t}\in \{0,\dots ,T\}$, some event has started. Our only assumption is that, whatever the particular nature of this event, it causes a change in the total signal power; this is a rather reasonable assumption, since for the combination of two random variables to have the same variance as one of its components, it is necessary that the variables have an exact covariance of ${\sigma}_{1}^{2}/2$, where ${\sigma}_{1}^{2}$ is the variance of either one of the variables.

If we assume only that the signal has 0 mean amplitude and finite power, the maximum entropy principle leads us to choose a Gaussian probabilistic model for y [3]. The maximum entropy principle indicates that, given what is known about a random variable, one must choose the probabilistic model p that maximizes the entropy $H(p)=-\int p(x)log(p(x))dx$, subject to the constraints that reflect our prior knowledge about the variable; adoption of this principle avoids the insidous inclusion of unwanted and/or unwarranted assumptions about the data in the model’s form [14].

In our case, assuming the change of variance at $t=\overline{t}$, we write the model

$${y}_{t}\sim \left\{\begin{array}{cc}\mathcal{N}(0,{\sigma}_{0}^{2})\hfill & \phantom{\rule{1.em}{0ex}}\mathrm{if}\phantom{\rule{4.pt}{0ex}}t\le \overline{t}\hfill \\ \mathcal{N}(0,\delta {\sigma}_{0}^{2})\hfill & \phantom{\rule{1.em}{0ex}}\mathrm{if}\phantom{\rule{4.pt}{0ex}}t>\overline{t}\hfill \end{array}\right.$$

The parameter $\delta $ represents the ratio between the variances of the two signal sections or segments.

Our goal is to estimate the value of $\overline{t}$, the starting time of the event. To accomplish that, we start by writing the likelihood

$$\mathcal{L}(\overline{t},{\sigma}_{0}^{2},\delta |y)={(2\pi {\sigma}_{0}^{2})}^{-\frac{N}{2}}{\delta}^{-\frac{N-\overline{t}}{2}}exp\left[-\frac{{\sum}_{t=1}^{\overline{t}}{y}_{t}^{2}}{2{\sigma}_{0}^{2}}-\frac{{\sum}_{t=\overline{t}+1}^{N}{y}_{t}^{2}}{2\delta {\sigma}_{0}^{2}}\right]$$

To keep our model as general as possible, we do not assume any prior information about $\delta $ (i.e., we do not know anything about the signal to noise ratio (SNR) of the possible events). In Bayesian terms, this ammounts to adopting a non-informative (improper) uniform prior for $\delta $. Using this prior, we are able to analytically integrate Equation (2) and obtain

$$\begin{array}{cc}\hfill \mathcal{L}(\overline{t},{\sigma}_{0}^{2}|y)=& {\int}_{0}^{\infty}\mathcal{L}(\overline{t},{\sigma}_{0}^{2},\delta |y)d\delta \hfill \end{array}$$

$$\begin{array}{cc}\hfill \propto & {\left[\frac{{\sum}_{t=\overline{t}+1}^{N}{y}_{t}^{2}}{2{\sigma}_{0}^{2}}\right]}^{-\frac{(N-\overline{t}-6)}{2}}\Gamma \left(\frac{N-\overline{t}-2}{2}\right)exp\left[-\frac{{\sum}_{t=1}^{\overline{t}}{y}_{t}^{2}}{2{\sigma}_{0}^{2}}\right]\hfill \end{array}$$

If the variance of either segment is known, the above equation can be used directly to obtain the posterior distribution for $\overline{t}$. If ${\sigma}_{0}^{2}$ is unknown, we must choose a prior distribution for it. We will not assume any particular knowledge about the variance; to keep the model invariant with relation to reparametrizations of this parameter, we adopt the Jeffreys’ prior [15,16] $\pi ({\sigma}_{0})=1/{\sigma}_{0}$, and again integrate the above equation analytically to arrive at

$$\begin{array}{cc}\hfill \mathcal{L}(\overline{t}|y)=& {\int}_{0}^{\infty}\mathcal{L}(\overline{t},{\sigma}_{0}^{2}|y)\pi ({\sigma}_{0})d{\sigma}_{0}\propto {\left({\displaystyle \sum _{t=\overline{t}+1}^{N}}{y}_{t}^{2}\right)}^{-\frac{(N-\overline{t}-6)}{2}}\Gamma \left(\frac{N-\overline{t}-2}{2}\right){\left({\displaystyle \sum _{t=1}^{\overline{t}}}{y}_{t}^{2}\right)}^{-\frac{(\overline{t}+6)}{2}}\Gamma \left(\frac{\overline{t}+6}{2}\right)\hfill \end{array}$$

From this point, it is only necessary to pick a prior ${\pi}_{t}(t)$ for $\overline{t}$, multiply it by the above equation, and obtain (the kernel of) the posterior distribution for $\overline{t}$:

$$\begin{array}{cc}\hfill P(\overline{t}|y)\propto \pi (\overline{t})\xb7{\left({\displaystyle \sum _{t=1}^{\overline{t}}}{y}_{t}^{2}\right)}^{-\frac{(\overline{t}+6)}{2}}& {\left({\displaystyle \sum _{t=\overline{t}+1}^{N}}{y}_{t}^{2}\right)}^{-\frac{(N-\overline{t}-6)}{2}}\times \Gamma \left(\frac{\overline{t}+6}{2}\right)\Gamma \left(\frac{N-\overline{t}-2}{2}\right)\hfill \end{array}$$

This gives us a discrete distribution with support over $1<\overline{t}<N-1$; this means that it is possible to calculate exactly the normalization constant that would make (6) a proper probability distribution. If we need to estimate $\overline{t}$, on the other hand, we can optimize Equation (6) by inspection to find the MAP (Maximum a Posteriori) estimate.

In Figure 1, Figure 2 and Figure 3, we present the distribution in (6) calculated over a simulated (Gaussian) signal of size $N=9000$, with $\delta \in \{1.1,1.5,2\}$, $\overline{t}\in \{N/3,N/2,2N/3\}$ and ${\sigma}_{0}=1$, and assuming a uniform prior over $\{2,N-2\}$ for $\overline{t}$.

We notice in these figures a few important features of the above distribution; first, it peaks precisely around $\overline{t}$ for higher values of $\delta $, as would be expected. Second, when it shows higher peaks far from the true value of $\overline{t}$, they are usually located near the extremes of the interval. This can be attributed to high standard error of variance estimations in small samples, and could be easily eliminated by the use of an informative prior on $\overline{t}$ (for instance, by assigning zero probability to values of t close to 0 or N).

The model for the segmentation, as defined above, works well when the signal has one cut point. In most signals, however, and certainly on the samples from the OceanPod, there will be more than one segmentation point (i.e., more than one change of signal total power).

It would be possible in theory to generalize the above model to these situations, obtaining a posterior distribution for $({\overline{t}}_{1},{\overline{t}}_{2},\dots ,{\overline{t}}_{k})$. However, the complexity of the discrete optimization problem involved in the MAP estimation of the cut points would grow exponentially. Also, it would be necessary to treat the new parameter k, the number of cutting points (or, equivalently, the number of segments in the signal), which we would like to avoid since we do not know this number in advance, and estimating it would be demanding. This new parameter is directly related to the dimensionality of the parametric space. Estimating this kind of parameter is a problem of model order selection, which, although interesting in its own right, would complicate matters excessively in the analysis of this specific problem.

Instead, we observe that the MAP estimate calculated from the above posterior will tend to divide the signal in regions with maximally different powers. So, whenever there is more than one change of power along the signal sample, it would still tend to estimate the cutting point at the beginning or end of one segment. To illustrate our point, we simulate a signal $y\in {\Re}^{\mathrm{10,000}}$ with two cutting points, in two different situations: first, we change the signal power from ${\sigma}_{0}=1$ to ${\sigma}_{1}=2$ at $t=2000$, and then back to ${\sigma}_{0}$ at $t=5000$; in the second figure, we change the power at $t=6000$ and then back to the original power at $t=8000$. The simulated signal, along with the cutting points estimated by maximizing the posterior distribution, are shown in Figure 4 below.

This observation suggests a recursive approach for automatic signal segmentation: we first estimate one cutting point, and divide the original signal y in two segments, ${y}_{1}$ and ${y}_{2}$. We then apply again the same estimation to the new signals ${y}_{1}$ and ${y}_{2}$, and so on. We repeat this procedure until some stopping criterion is met. This strategy gives rise to the sequential segmentation algorithm, which we define next.

## 3. The Sequential Segmentation Algorithm

We define the sequential segmentation algorithm as follows:

(Sequential segmentation algorithm) Define the function

**seg**($y\in {\Re}^{N}$,${n}_{min}$) as:- 1
**If**$N<{n}_{min}$, stop, returning the empty vector $t=\left[\right]$;- 2
**Else**- (a)
- Obtain the MAP estimate $\overline{t}$;
- (b)
- Define ${y}^{1}={y}_{1,\dots ,\overline{t}}$ and ${y}^{2}={y}_{\overline{t}+1,\dots ,N}$;
- (c)
- (Stopping criterion)
**If**$var({y}^{1})=var({y}^{2})$, stop, returning the empty vector $t=\left[\right]$; - (d)
**Else**return the concatenated vector $[seg({y}^{1},{n}_{min})\phantom{\rule{1.em}{0ex}}\overline{t}\phantom{\rule{1.em}{0ex}}\overline{t}+seg({y}^{2},{n}_{min})]$.

Please note that the

**seg**appearing in the last line refers to the function itself; our algorithm, then, is of a recursive nature.This recursive algorithm will output an ordered vector $\tau \in {[1,\dots ,N-1]}^{k}$ with the starting points of k signal segments, where the segments have been found to exhibit different powers. The condition $N\ge {n}_{min}$ guarantees that the algorithm stops and is well defined; the main question is how to decide if $var({y}^{1})=var({y}^{2})$, i.e., to define the stopping criterion.

As it is clear from the definition, the matter is one of testing the hypothesis of equality of variances, given two samples with mean 0. Or, using our parametrization, to test the hypothesis ${H}_{0}$:$\delta =1$.

Our model is defined in the parametric space $\Theta ={\Re}_{+}\times \Re $, where $\theta =({\sigma}_{0}^{2},\delta )$; under ${H}_{0}$, we have ${\Theta}_{0}={\Re}_{+}$. Our hypothesis thus lies in a subspace of $\Theta $, i.e., it is a sharp hypothesis.

The traditional statistical literature proposes a few different ways to test equality of variances, the most known being possibly the F test, and the likelihood ratio test. However, it is well reported that the traditional, most frequently used tests, have a few drawbacks, related in particular to the definition of the alternative hypothesis [17], or with the choice of an appropriate significance level for the decision function [18,19]. The classical Bayesian alternative would then be a Bayes factor test, which in turn would meet some difficulties with the fact that our null hypothesis defines a lower dimensional parametric space [20].

A full Bayesian procedure is available, however, that is well suited to the test of sharp hypothesis such as ${H}_{0}$:$\delta =1$; this is the now well-known full Bayesian significance test (FBST) of Pereira and Stern [20]. This procedure works in the full parametric space, defining an evidence measure based on the surprise set of points having higher posterior density than the supremum posterior under ${H}_{0}$. The test avoids altogether the imposition of positive probabilities over null measure sets such as ${\Theta}_{0}:\{(\delta ,{\sigma}_{0})\in {\Re}^{2}:\delta =1\}$, and has been tested many times with good results (for a few examples, see [21,22,23,24]).

Of course, even with the application of the FBST, there remains the problem of defining a decision function over the evidence value for ${H}_{0}$, $ev({H}_{0},y)$; as we will see, however, this decision function will become trivial when we calibrate our testing procedure with the use of appropriate priors.

Recalling the probabilistic model of our signal, given y and $\overline{t}$, and defining ${y}^{1}$ and ${y}^{2}$ as in the above algorithm, we write the full posterior
where ${n}_{1}$ and ${n}_{2}$ are the corresponding dimensions of ${y}^{1}$ and ${y}^{2}$, ${\pi}_{\delta}$ is the prior for $\delta $ and ${\pi}_{\sigma}$ the prior for ${\sigma}_{0}$.

$$P(d,s|{y}^{1},{y}^{2})\propto {\pi}_{\delta}(d){\pi}_{\sigma}(s){(2\pi {s}^{2})}^{-\frac{{n}_{1}+{n}_{2}}{2}}{d}^{-\frac{{n}_{2}}{2}}exp\left[-\frac{{\sum}_{t=1}^{{n}_{1}}{y}_{1,t}^{2}}{2{s}^{2}}-\frac{{\sum}_{t=1}^{{n}_{2}}{y}_{2,t}^{2}}{2d{s}^{2}}\right]$$

To incorporate the lack of knowledge about the base signal variance ${\sigma}_{0}$, and at the same time to guarantee invariance, we adopt again a Jeffreys’ prior ${\pi}_{\sigma}(s)=1/s$.

For $\delta $, however, we would like to choose this time an informative prior to model our knowledge about the signal characteristics. Including an informative prior for $\delta $ will also provide the algorithm with a calibration parameter, that will allow the method to be adapted to different circumstances (different lengths for the signal sample, different SNR characteristics, etc.).

To define this prior, we consider what we do know about $\delta $. We reason in the following terms: suppose we are to pick at random two contiguous sections of our signal, with sizes ${n}_{1}$ and ${n}_{2}$; suppose that these sections have ${s}_{1}$ and ${s}_{2}$ as their respective powers, as estimated from the data. We then define $\delta =\frac{{s}_{2}}{{s}_{1}}$.

Now, unless we happen to pick by chance two segments that include a true change of power (in our terms, the beginning or end of an event), we expect $\delta $ to be very close to 1. This belief would be as strong as our perceived probability of finding an event at random in our signal. As we have mentioned before, the ocean’s subacquatic soundscape is a rather minimalist environment, with long periods of very low or no activity. So we believe that, in our thought experiment above, we are very likely to pick sections with $\delta $ very close to 1.

However, if we happen to pick a segment with an event, then we can expect to find $\delta >>1$, since most events in our signal have large SNR values (for instance, the already mentioned boat engines, running at a small distance from the hydrophone). It is then reasonable to believe that, even though $\delta $ is likely close to 1, it can sometimes differ significantly and assume high values, close to $\delta =2$ or even higher.

All of these considerations lead us to pick a prior distribution on $\delta $ that is (a) centered around 1; (b) high-peaked around this same value; but (c) with larger tails than the Gaussian. Further on, to keep matters as simple as possible, we would like our prior to have few parameters (since we will use these parameters for the calibration of our algorithm). Combining all of these objectives, we propose a Laplace prior for $\delta $:

$${\pi}_{\delta}(d)=\frac{1}{\beta}{e}^{-\frac{|d-1|}{\beta}}$$

In practical terms, this prior will tend to favor ${H}_{0}$:$\delta =1$, inversely with the value of $\beta $. This value can be used as a calibration parameter for the detection algorithm. Also, picking a sufficiently low value for $\beta $ will guarantee a minimum prior probability for the meaningless situation $\delta \le 0$.

Again, we must stress that in working with acoustic signals with a sampling rate as high as 11 kHz, we will be dealing with large sample sizes; typically, we will define a smallest detectable event as a segment with a duration of around 1 s, which means that we will be comparing the variances of samples with sizes N = 11,025 each. On the other extreme, the algorithm will start with a signal of duration in the order of minutes (the files obtained from the hydrophone are configured as 15 min long by default), which translates to sample sizes in the order of millions. Our numerical tests indicate that the value of $\beta $ must be set correspondingly; our best results used $\beta \propto {10}^{-5}$, as we will see in the results section.

With the model completely specified, the evidence value against ${H}_{0}$ is calculated as
where

$$ev({H}_{0},y)={\int}_{T(y)}P({\sigma}_{0},\delta |y)d{\sigma}_{0}d\delta $$

$$T(y)=\{({\sigma}_{0},\delta )\in \Theta :P({\sigma}_{0},\delta |y)>su{p}_{{\Theta}_{0}}P({\sigma}_{0},\delta |y)\}$$

The value of the integral of the posterior over the surprise set is high whenever the manifold defining ${\Theta}_{0}$ traverses regions of low posterior probability. In this case, the evidence against ${H}_{0}$, given by the above Equation (9) will also be high.

It is noteworthy that, when defining the posterior for the cutting point $\overline{t}$, we chose priors for all the other parameters in order to analytically integrate them out. The intention behind this decision was to keep this step of the algorithm as simple as possible, since MAP estimation in this case is a discrete optimization problem which we solve by brute force. Now, however, when calculating the evidence for the hypothesis $\delta =1$, we want to work on the full parametric space, without explicitly marginalizing any parameter. This is the standard procedure when working with the FBST [20].

To calculate the above integral, then, we adopt a numerical procedure: we apply a block Metropolis–Hastings algorithm, with a sample size of 10,000 points after burning another 10,000 points, and using exponential distributions as candidates for both $\sigma $ and $\delta $.

The stopping criterion for the algorithm is finally defined by setting a minimal evidence for ${H}_{0}$, ${\alpha}_{min}$; the algorithm will keep segmenting the signal as long as the evidence for ${H}_{0}:\delta =1$ is lower than this threshold value:

(Stopping criterion) Given ${y}^{1}$, ${y}^{2}$ and ${\alpha}_{min}$:

- Obtain ${s}_{0}=su{p}_{{\Theta}_{0}}P({\sigma}_{0},\delta |y)$;
- Obtain the evidence favoring ${H}_{0}$ : $ev({H}_{0},y)=1-{\int}_{T(y)}P({\sigma}_{0},\delta |y)d{\sigma}_{0}d\delta $;
**If**$ev({H}_{0},y)<{\alpha}_{min}$, return 1 ($var({y}^{1})\ne var({y}^{2})$);**else**return 0.

One step of the full algorithm is shown schematically in the diagram in Figure 5. Starting with a given signal, we first obtain the MAP estimate for $\overline{t}$, optimizing by inspection the posterior for the change point t. After estimating $\overline{t}$, we generate two segments, and use the FBST (via Markov Chain Monte Carlo (MCMC) sampling of the full posterior) to test the hypothesis ${H}_{0}$:$\delta =1$.

## 4. Results: Simulated Signal

To test the performance of our algorithm, we first apply it to simulated data. We simulate $y\in {\Re}^{\mathrm{20,000}}$, where ${y}_{t}\sim \mathcal{N}(0,{\sigma}_{i}^{2})$, and we define five segments in the signal, given by the following definition for the variance ${\sigma}_{i}^{2}$:

$${\sigma}_{i}^{2}=\left\{\begin{array}{cc}1\hfill & \phantom{\rule{1.em}{0ex}}\mathrm{if}\phantom{\rule{4.pt}{0ex}}i\le 5000\hfill \\ 1.1\hfill & \phantom{\rule{1.em}{0ex}}\mathrm{if}\phantom{\rule{4.pt}{0ex}}5000<i\le \mathrm{10,000}\hfill \\ 1\hfill & \phantom{\rule{1.em}{0ex}}\mathrm{if}\phantom{\rule{4.pt}{0ex}}\mathrm{10,000}<i\le \mathrm{12,000}\hfill \\ 1.5\hfill & \phantom{\rule{1.em}{0ex}}\mathrm{if}\phantom{\rule{4.pt}{0ex}}\mathrm{12,000}<i\le \mathrm{15,000}\hfill \\ 1\hfill & \phantom{\rule{1.em}{0ex}}\mathrm{if}\phantom{\rule{4.pt}{0ex}}i>\mathrm{15,000}\hfill \end{array}\right.$$

As a baseline method to use for comparison, we adopt the peak detection algorithm of Palshikar [25]. This algorithm defines peaks in the signal by using local and global properties. The local properties are based on functions calculated over windows of width k, centered around each coordinate of the signal. Each function reflects a different characterization of what actually constitutes a peak. The global properties arise when each peak is compared to the average amplitude of all peaks, and a thresholding is applied based on their standard deviation.

Palshikar’s algorithm takes then two parameters: h, the number of standard deviations to use as threshold, and k, the length of the window. Also, the algorithm can use many different functions to define a peak locally; we run Palshikar’s algorithm using his three S functions. The first function, ${S}_{1}$ calculates for each point ${y}_{t}$ of the signal the maximum (signed) difference between ${y}_{t}$ and its left neighbors (points with indexes in the range j:$j<t\&|t-j|<k$), the maximum (signed) difference between ${y}_{t}$ and its right neighbors ($\{{y}_{j}$:$j>t\&|t-j|<k\}$), and takes the average between these two maxima. The second function, ${S}_{2}$, takes the mean (signed) difference between ${y}_{t}$ and its left neighbors, the mean (signed) difference between ${y}_{t}$ and its right neighbors, and takes the average between the two means. The third function, ${S}_{3}$, takes the signed difference between ${y}_{t}$ and the average of its left neighbors, the signed difference between ${y}_{t}$ and the average of its right neighbors, and takes the mean. For details about the algorithm and a review on peak detection methods, we refer the interested reader to Pashilkar’s paper [25].

In Table 1, we compare the results of our method with Palshikar’s algorithm, using each of the three S functions and eight combinations of values for h and k. For the sequential segmentation algorithm, we set $\beta \in \{1,0.01\}$ and $\alpha \in \{0.01,0.1\}$; lower values of $\beta $ imply higher prior weight to the hypothesis $\delta =1$, while lower values of $\alpha $ imply earlier stop for the algorithm (i.e., we require higher evidence against $\delta =1$ to keep segmenting the signal). In the table, we labelled our algorithm as SeqSeg.

The experimental results show that our algorithm is much more robust than the peak detection algorithm of Palshikar. Every combination of parameters we used resulted in the same output, correctly segmenting the signal into five segments, the first starting around $i=5000$, and the last around $i=\mathrm{15,000}$. The peak detection algorithm is much more sensitive to the parameters choice. The best result for the peak detection algorithm was using ${S}_{1}$, with $h=3$ and $k=500$. Also, it is clear that Palshikar’s algorithm performed much better when the segment’s SNR was higher (i.e., it worked better identifying the last cutpoint, rather than the first); even though our algorithm will also perform better with higher SNR, the value of $\delta =1.5$ is sufficient for the algorithm to correctly capture the first segment.

On the other hand, our algorithm is much slower than Palshikar’s. This is due to the fact that our method involves one brute-force, integer optimization step, and one MCMC step. Nevertheless, this paper was written using a pilot version of our algorithm, written in MATLAB

^{®}with little concern for computational performance. In particular, no parallelization strategy was adopted, and both steps are strongly parallelizable. With this issue in mind, we are working on a new version of the algorithm implemented in Python and parallelized using the multiprocessing library; we expect this new version to sensibly improve the computational performance of our algorithm.There is, however, one quick way to improve the performance of the SeqSeg method, in particular of the brute force optimization step. We can set a time resolution for the algorithm, and instead of calculating the posterior for each and every $t=1,\dots ,N$, we can evaluate it at equally spaced points $t=r,2r,\dots ,k\xb7r$. The resolution r can be set to any value which is less than the length of a typical event, and the number of function evaluations in the optimization step decreases linearly with r.

## 5. Results: OceanPod Samples

Our main goal when developing the segmentation algorithm was to annotate samples from the OceanPod, in search of segments that are likely to capture any significant event. These segments can then be analyzed on their own, to characterize the events and build an annotated database to be fed to a classification algorithm.

It is important to once again stress that we do not have previous knowledge about the events taking place in the OceanPod signal; this means that it is difficult to define a precise performance measure to any segmentation or annotation algorithm applied to these data. What we propose to do is to select a few samples, with distinctive characteristics, and manually count the number of segments we expect in each sample (by inspecting the spectrogram, where the events are more easily spotted). Then, we can compare the results of the segmentation algorithm to this number.

For that, we select three samples from the OceanPod signal, each of them with a total length of 15 min (the default filesize for the OceanPod). The first is a recording from 30 January 2015, Saturday, from 02:02:56 to 02:17:56. During this period, there is no perceivable activity beyond background noise (concentrated around 5 kHz). When applying any segmentation method to this sample, we would then expect no segments to be found. The second is a recording from 2 February 2015, Monday, from 07:50:49 to 08:04:49. In this sample, we find a long duration event, starting at time 0 and lasting for approximately 10 min. By listening to the sample, we identify the sound of a large sized vessel, passing by at a long distance and with low speed. The segmentation algorithm applied to this sample should detect one or two change points for the signal’s power, ideally forming a segment starting at $i=0$ and ending around i = 6,615,000, i.e., 10 min into the signal (recall that the sampling rate is ${f}_{s}=11.025$ Hz).

The third sample is from 8 February 2015, Sunday, from 11:26:39 to 11:41:39. During this 15 min, there are many events taking place; listening to this sample, we identify the engine of smaller vessels, being turned on and off and near the hydrophone spot. In this sample, we expect the segmentation algorithm to detect many events; by visually inspecting this sample, we identify 32 distinct segments.

We opted to show in Figure 6, Figure 7 and Figure 8 the spectrograms obtained for each of the three samples, even though the segmentation algorithm does not use any feature in the frequency domain. The reason for using the spectrograms, in addition to the raw waveforms, is that we found it much easier to spot the events, specially in the third sample, when plotting on the frequency domain. An event, or segment, in these pictures, is a “heater” (red instead of blue) region on the spectrogram. We are interested in obtaining the time (horizontal) coordinates of each of these events, regardless of their spectrum (vertical coordinate).

We apply our sequential segmentation algorithm to each of these samples; we take $\beta \in \{3\times {10}^{-5},1\times {10}^{-5}\}$ and fix $\alpha =0.01$. Our experiments show that higher values for $\beta $ result in an excess of segments. For comparison, we also apply Palshikar’s algorithm to the same samples, using the ${S}_{1}$ function, with $k=11.025$ fixed and $h\in \{3,5\}$.

Because both our algorithm and Palshikar’s involve calculation of some function (the posterior distribution for $\overline{t}$, in our case, and the function ${S}_{i}$ for Palshikar’s) for each coordinate ${y}_{t}$ of the signal vector, when analyzing samples as long as 15 min, with a sampling frequency of $11.025$ Hz, the performance of both algorithms became impractical (more than 10 min to process each sample). To deal with this situation, we adopt the strategy of fixing a time resolution $r=11.025$ to our algorithm, and a time resolution of $r=10$ to Palshikar’s. This means that we will calculate the posterior only for ${y}_{j\xb711.025},j=1,\dots ,floor(N/11.025)$, and the S function for ${y}_{j\xb710},j=1,\dots ,floor(N/10)$.

We have experimented with using $r=11.025$ for both methods. This accelerated the peak detection algorithm to running times of little more than 1 s. However, the nature of the S function (being based on the maxima or averages of blocks with size k), caused Palshikar’s algorithm to miss many segments’ endpoints. Our experiments showed that picking $r=10$ was a good compromise between performance and sensibility.

Table 2 summarizes the results of both algorithms applied to each of the three samples. We present the elapsed time, in seconds, the final number of segments, and the start time in minutes of the first and last segments.

The sample from 30 January 2015 is the sample containing only noise. We then expect the algorithms to output 0 segments. This was the case only for the SeqSeg algorithm when $\beta =3{e}^{-5}$. Palshikar’s algorithm returned many false positives for this sample, regardless of the parameter value.

The sample from 2 February 2015 is the sample containing a long event, starting at the very beginning of the file (0 min) and ending around 10 min. Again, the SeqSeg algorithm found a much lower number of segments and correctly identified the end of the main event at around 10 min.

Finally, the sample from 8 February 2015 contains 32 segments evident to the eye. The SeqSeg algorithm came near to this number when $\beta =1{e}^{-5}$. It is noteworthy that, regardless of the value of $\beta $, the first and last segments found by SeqSeg had precisely the same starting points (this will always be the case, since calculation of the change points is completely deterministic). Palshikar’s algorithm came near to the true value of segments when $h=5$, and was less assertive in terms of the starting times of the first and last segments.

To make the comparison easier between the segments obtained by the sequential segmentation algorithm and Palshikar’s algorithm in the sample from 8 February 2015, we plot in Figure 9, Figure 10, Figure 11 and Figure 12 below the waveform and spectrogram of this sample with the segments found by each algorithm represented by dashed black (on the waveform) or white (on the spectrogram) lines.

It is clear that the segments defined by the SeqSeg algorithm are much closer to what we can visually identify as meaningful events. The peak detection algorithm tends to oversegment the eventful sections, and ignore some points where there is a clear change in the signal’s power.

Finally, when applying both algorithms to real data, the computational performance of the two methods was not very different. We recall, however, that we imposed a resolution limitation to the SeqSeg algorithm. Nevertheless, even with this limitation, its results are clearly superior to the traditional peak detection strategy.

## 6. Conclusions

Our goal in this paper was to define a signal segmentation algorithm that could be as general as possible. We wanted it to be general, especially because we do not know in advance exactly what kinds of patterns (events) there might be in the data. In this sense, this algorithm can be described as an unsupervised learning method, and could be applied to the analysis of any signal or time series where the assumptions hold.

When compared to a standard peak detection algorithm, our method has shown to be much more robust and also more precise in detecting the number of events, and also their boundaries, both on simulated and real data. In practice, there is only one parameter to be calibrated (the prior’s $\beta $). The value of this parameter can be set by a technician with no mathematical training, by choosing an adequate sample to use for tuning the algorithm’s behavior.

Also, our method was built based on a simple assumption (that a segment involves a change in the signal’s energy), and based entirely on methods of Bayesian inference. There are no adhockeries involved, the closest to an ad hoc procedure being the choice of the prior distributions. However, we have argued for the choice of each of the priors, and we believe that all of them honestly reflect and incorporate the prior knowledge that we have about the signal and the segments.

Most (if not all) automatic segmentation algorithms currently known to the literature, on the contrary, rely on more or less arbitrary definitions and parameters (such as the form of the S functions or the parameter h). We believe that, for this reason, the calibration of such algorithms is much more difficult than in our method, and our tests show that this is indeed the case.

On the other hand, the computational performance of our method is far from ideal. We acknowledge that and are currently working on a new and parallelized version of the algorithm, that we hope will perform significantly better.

There are also other ways to improve the performance of our algorithm, the simplest way being to use smaller sample sizes for the MCMC algorithm. Experiments show that the main results are unaltered if we use samples of size 5000 instead of $\mathrm{10,000}$. Also, there are other methods to obtain samples from a posterior distribution, in particular the Approximate Bayes Computation techniques [26,27,28,29], that might help reduce the computation time, especially in the FBST step. We are currently investigating these possibilities.

We believe, however, and since our algorithm is aimed at being used as a preprocessing tool, that, based on the quality of our results, the current performance is tolerable.

## Acknowledgments

This work was partly supported by FAPESP grants 16/02175-0 and CNPq grant 308405/2013-7. The authors are grateful for the support received from IME-USP, the Institute of Mathematics and Statistics of the University of Sao Paulo; FAPESP—the State of São Paulo Research Foundation (grants CEPID-CeMEAI 2013/07375-0 and CEPID-Shell-RCGI 2014/50279-4); and CNPq—the Brazilian National Counsel of Technological and Scientific Development (grant PQ 301206/2011-2).The authors acknowledge the Laje de Santos Marine State Park Team for supporting this project. The authors would like to acknowledge professors Carlos Pereira and Victor Fossaluza for very helpful insights in this research project. In particular, they were the ones first suggesting that we should follow a general approach before trying to model specific events. Finally, the author would like to thank three anonymous referees for very helpful comments on the first draft of this paper.

## Author Contributions

Linilson Padovese is the leader of the team that developed and operates the OceanPod; he has contributed with the data, and with discussions on the adequate methods to model it; Julio Michael Stern is the PhD advisor of Paulo Hubert, and contributed with many discussions on the models and methods shown here; Paulo Hubert developed the model, ran the tests and wrote the paper.

## Conflicts of Interest

The authors declare no conflict of interest.

## References

- Etter, P.C. Underwater Acoustic Modeling and Simulation; CRC Press: Boca Raton, FL, USA, 2013. [Google Scholar]
- Brethorst, L. Bayesian Spectrum Analysis and Parameter Estimation; Springer: New York, NY, USA, 1988. [Google Scholar]
- Jaynes, E. Bayesian Spectrum and Chirp Analysis. In Maximum-Entropy and Bayesian Spectral Analysis and Estimation Problems; Smith, C.R., Erickson, G.J., Eds.; D. Reidel Publishing Co.: Dordrecht, Nederlanden, 1987. [Google Scholar]
- Ruanaidh, J.J.K.; Fitzgerald, W.J. Numerical Bayesian Methods Applied to Signal Processing; Springer: New York, NY, USA, 1996. [Google Scholar]
- Bretthorst, L. Bayesian Analysis. I. Parameter Estimation Using Quadrature NMR Models. J. Magn. Reson.
**1990**, 88, 533–551. [Google Scholar] [CrossRef] - Bretthorst, L. Bayesian Analysis. II. Signal Detection and Model Selection. J. Magn. Reson.
**1990**, 88, 552–570. [Google Scholar] [CrossRef] - Bretthorst, L. Bayesian Analysis. III. Applications to NMR Signal Detection, Model Selection and Parameter Estimation. J. Magn. Reson.
**1990**, 88, 571–595. [Google Scholar] [CrossRef] - Hubert, P.; Padovese, L.R.; Stern, J.M. Full bayesian approach for signal detection with an application to boat detection on underwater soundscape data. In Maximum Entropy Methods in Science and Engineering; Springer-Verlag: New York, NY, USA, 2017. [Google Scholar]
- Makowsky, R.; Hossa, R. Automatic Speech Signal Segmentation Based on the Innovation Adaptive Filter. Int. J. Appl. Math. Comput. Sci.
**2014**, 24, 259–270. [Google Scholar] [CrossRef] - Ukil, A.; Zivanovic, R. Automatic Signal Segmentation based on Abrupt Change Detection for Power Systems Applications. In Proceedings of the Power India Conference, New Delhi, India, 10–12 April 2006. [Google Scholar]
- Schwartzman, A.; Gavrilov, Y.; Adler, R.J. Multiple Testing of Local Maxima for Detection of Peaks in 1D. Ann. Stat.
**2011**, 39, 3290–3319. [Google Scholar] [CrossRef] [PubMed] - Kuntamalla, S.; Reddy, L.R.G. An Efficient and Automatic Systolic Peak Detection Algorithm for Photoplethysmographic Signals. Int. J. Comput. Appl.
**2014**, 97, 19. [Google Scholar] [CrossRef] - Thedorou, T.; Mporas, I.; Fakotakis, N. An Overview of Automatic Audio Segmentation. Int. J. Inf. Technol. Comput. Sci.
**2014**, 11, 1–9. [Google Scholar] [CrossRef] - Jaynes, E.T. On the Rationale of Maximum-Entropy Methods. IEEE Proc.
**1982**, 70, 939–952. [Google Scholar] [CrossRef] - Jaynes, E.T. Prior Probabilities. IEEE Trans. Syst. Sci. Cybern.
**1968**, 4, 227–241. [Google Scholar] [CrossRef] - Jeffreys, H. An Invariant Form for the Prior Probability in Estimation Problems. In Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences; The Royal Society: London, UK, 1946; Volume 186, pp. 453–461. [Google Scholar]
- Good, I.J. The Bayes/Non-bayes compromise: A Brief Review. J. Am. Stat. Assoc.
**1992**, 87, 597–606. [Google Scholar] [CrossRef] - Perez, M.; Pericchi, L.R. Changing Statistical Significance with the Amount of Information: The Adaptative α Significance Level. Stat. Probab. Lett.
**2014**, 85, 20–24. [Google Scholar] [CrossRef] [PubMed] - Pereira, C.A.B.; Wechsler, S. On the Concept of P-value. Revis. Bras. Probab. Estat.
**1993**, 7, 159–177. [Google Scholar] - Pereira, C.A.B.; Stern, J.M. Evidence and credibility: Full Bayesian significance test for precise hypotheses. Entropy
**1999**, 1, 99–110. [Google Scholar] [CrossRef] - Chakrabarty, D. A New Bayesian Test to Test for the Intractability-Countering Hypothesis. JASA
**2017**, 112, 561–577. [Google Scholar] [CrossRef] - Hubert, P.; Lauretto, M.; Stern, J.M. FBST for Generalized Poisson Distributions. AIP Conf. Procee.
**2009**, 1193, 210–217. [Google Scholar] - Lauretto, M.S.; Nakano, F.; Faria, S.R.; Pereira, C.A.B.; Stern, J.M. A Straightforward Multiallelic Significance Test for the Hardy-Weinberg Equilibrium Law. Genet. Mol. Biol.
**2009**, 32, 619–625. [Google Scholar] [CrossRef] [PubMed][Green Version] - Stern, J.M.; Zacks, S. Testing the Independence of Poisson Variates Under the Holgate Bivariate Distribution: The Power of a New Evidence Test. Stat. Probab. Lett.
**2002**, 60, 313–320. [Google Scholar] [CrossRef] - Palshikar, G.K. Simple Algorithms for Peak Detection in Time Series. In Proceedings of the 1st International Conference Advanced Data Analysis, Business Analytics and Intelligence, Ahmedabad, India, 6–7 June 2009. [Google Scholar]
- Chiachio, M.; Beck, J.M.; Chiachio, J.; Rus, G. Approximate Bayesian Computation by Subset Simulation. SIAM J. Sci. Comput.
**2014**, 36, A1339–A1358. [Google Scholar] [CrossRef] - Beck, J.L.; Zuev, K.M. Asymptotically independent Markov Sampling: A new MCMC scheme for Bayesian inference. In Proceedings of the Second International Conference on Vulnerability and Risk Analysis and Management (ICVRAM) and the Sixth International Symposium on Uncertainty Modeling and Analysis (ISUMA), Liverpool, UK, 13–16 July 2014. [Google Scholar]
- Beck, J.L.; Taflanidis, A. Prior and Posterior Robust Stochastic Predictions for Dynamical Systems Using Probability Logic. Int. J. Uncertain. Quantif.
**2014**, 3, 271–288. [Google Scholar] [CrossRef] - Chiachio, J.; Bochud, N.; Chiachio, M.; Cantero, S.; Rus, G. A Multilevel Bayesian Method for Ultrasound-Based Damage Identification in Composites Laminates. Mech. Syst. Signal Process.
**2017**, 88, 462–477. [Google Scholar] [CrossRef]

Algorithm | Parameters | Elapsed Time (s) | # of Segments | First Cutting Point | Last Cutting Point |
---|---|---|---|---|---|

SeqSeg | $\beta =1,\alpha =0.01$ | 9.8912 | 5 | 4990 | 15,001 |

SeqSeg | $\beta =0.01,\alpha =0.01$ | 11.8567 | 5 | 4990 | 15,001 |

SeqSeg | $\beta =1,\alpha =0.1$ | 12.7605 | 5 | 4990 | 15,001 |

SeqSeg | $\beta =0.01,\alpha =0.1$ | 11.5746 | 5 | 4990 | 15,001 |

Palshikar ${S}_{1}$ | $h=3,k=100$ | 0.3116 | 31 | 4778 | 14,852 |

Palshikar ${S}_{2}$ | $h=3,k=100$ | 0.3303 | 13 | 5039 | 14,470 |

Palshikar ${S}_{3}$ | $h=3,k=100$ | 0.3443 | 9 | 1608 | 14,249 |

Palshikar ${S}_{1}$ | $h=3,k=500$ | 0.4264 | 5 | 5039 | 14,179 |

Palshikar ${S}_{2}$ | $h=3,k=500$ | 1.4768 | 55 | 1608 | 19,892 |

Palshikar ${S}_{3}$ | $h=3,k=500$ | 1.3090 | 25 | 964 | 19,892 |

Palshikar ${S}_{1}$ | $h=3,k=1000$ | 1.0846 | 16 | 964 | 19,892 |

Palshikar ${S}_{2}$ | $h=3,k=1000$ | 1.2406 | 10 | 964 | 19,892 |

Palshikar ${S}_{3}$ | $h=3,k=1000$ | 1.4050 | 55 | 1608 | 19,892 |

Palshikar ${S}_{1}$ | $h=3,k=2000$ | 0.9451 | 25 | 964 | 19,892 |

Palshikar ${S}_{2}$ | $h=3,k=2000$ | 0.9889 | 16 | 964 | 19,892 |

Palshikar ${S}_{3}$ | $h=3,k=2000$ | 1.1212 | 10 | 964 | 19,892 |

Palshikar ${S}_{1}$ | $h=4,k=100$ | 0.1718 | 5 | 13,171 | 14,311 |

Palshikar ${S}_{2}$ | $h=4,k=100$ | 0.2303 | 3 | 13,171 | 14,311 |

Palshikar ${S}_{3}$ | $h=4,k=100$ | 0.3023 | 4 | 12,606 | 14,727 |

Palshikar ${S}_{1}$ | $h=4,k=500$ | 0.4439 | 3 | 12,606 | 14,727 |

Palshikar ${S}_{2}$ | $h=4,k=500$ | 0.8924 | 16 | 1608 | 14,923 |

Palshikar ${S}_{3}$ | $h=4,k=500$ | 0.9922 | 10 | 1608 | 14,923 |

Palshikar ${S}_{1}$ | $h=4,k=1000$ | 1.0793 | 9 | 1608 | 14,727 |

Palshikar ${S}_{2}$ | $h=4,k=1000$ | 1.2486 | 6 | 1608 | 14,311 |

Palshikar ${S}_{3}$ | $h=4,k=1000$ | 0.8439 | 16 | 1608 | 14,923 |

Palshikar ${S}_{1}$ | $h=4,k=2000$ | 0.9167 | 10 | 1608 | 14,923 |

Palshikar ${S}_{2}$ | $h=4,k=2000$ | 1.0030 | 9 | 1608 | 14,727 |

Palshikar ${S}_{3}$ | $h=4,k=2000$ | 1.1367 | 6 | 1608 | 14,311 |

Algorithm | Sample | Elapsed Time (s) | Segments | First Segment (min) | Last Segment (min) |
---|---|---|---|---|---|

SeqSeg, $\beta =1{e}^{-5}$ | 8 February 2015 | 245.41 | 28 | 1.80 | 13.32 |

SeqSeg, $\beta =3{e}^{-5}$ | 8 February 2015 | 174.13 | 13 | 1.80 | 13.32 |

Palshikar $h=3$ | 8 February 2015 | 113.33 | 56 | 0.51 | 13.30 |

Palshikar $h=5$ | 8 February 2015 | 112.23 | 29 | 6.65 | 13.28 |

SeqSeg, $\beta =1{e}^{-5}$ | 30 January 2015 | 149.61 | 3 | 2.02 | 10.63 |

SeqSeg, $\beta =3{e}^{-5}$ | 30 January 2015 | 44.83 | 0 | - | - |

Palshikar $h=3$ | 30 January 2015 | 88.27 | 130 | 0.00 | 14.91 |

Palshikar $h=5$ | 30 January 2015 | 87.30 | 27 | 0.30 | 14.21 |

SeqSeg, $\beta =1{e}^{-5}$ | 2 February 2015 | 101.45 | 7 | 1.77 | 10.90 |

SeqSeg, $\beta =3{e}^{-5}$ | 2 February 2015 | 94.24 | 3 | 3.75 | 10.32 |

Palshikar $h=3$ | 2 February 2015 | 89.07 | 114 | 0.00 | 14.83 |

Palshikar $h=5$ | 2 February 2015 | 91.15 | 22 | 0.69 | 14.20 |

© 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).