This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2022-182867 filed on Nov. 15, 2022, the disclosure of which is incorporated herein in its entirety by reference.
The present invention relates to a technology for calculating a feature of a signal.
The technique of using the inverse Laplace transform to determine an original function has conventionally been in use. For example, Non-Patent Literature 1 discloses the technique of using the inverse Laplace transform to determine an original continuous measure. Non-Patent Literature 2 discloses the technique of formally treating a discrete measure as a continuous measure with use of a δ function and inverse-transforming a result of a Laplace transform of the continuous measure. Non-Patent Literature 2 indicates formally treating a discrete measure as a continuous measure with use of a linear sum of a δ function and inverse-transforming a result of a Laplace transform of the continuous measure.
However, the technique disclosed in Non-Patent Literature 1 is a method that uses manipulation in a functional space, and it is not obvious whether or not the technique is applicable to a discrete measure which has no density function with respect to a Lebesgue measure. With the technique disclosed in Non-Patent Literature 2, it is not even possible to determine g in a case where g is a generalized function. It is thus not possible to determine a discrete measure either.
An example aspect of the present invention has been made in view of the above problems, and an example object thereof is to provide a technique that makes it possible to calculate an inverse Laplace transform as a feature of a signal y(t) represented as a combination of a Laplace transform of a discrete measure and an offset b.
A feature calculation apparatus in accordance with an example aspect of the present invention includes at least one processor, the at least one processor carrying out a calculation process of calculating, for each of n consecutive intervals (α0, α1], (α1, α2], . . . , (αn−1, αn], a value νy−b((αk−1, αk]) as a feature of a signal y(t) approximated by formula (1) below and including an offset b, the value νy−b((αk−1, αk]) being approximated by formula (2) below.
A feature calculation method in accordance with an example aspect of the present invention includes calculating, by at least one processor and for each of n consecutive intervals (α0, α1], (α1, α2], . . . , (αn−1, αn], a value νy−b((αk−1, αk]) as a feature of a signal y(t) approximated by formula (1) below and including an offset b, the value νy−b((αk−1, αk]) being approximated by formula (2) below.
A computer-readable non-transitory storage medium in accordance with an example aspect of the present invention stores therein a program for causing a computer to carry out a process of calculating, for each of n consecutive intervals (α0, α1], (α1, α2], . . . , (αn−1, αn], a value νy−b((αk−1, αk]) as a feature of a signal y(t) approximated by formula (1) below and including an offset b, the value νy−b((αk−1, αk]) being approximated by formula (2) below.
where K and n are each a natural number, b and ξ1, ξ2, . . . , ξK are each a real number, β1, β2, . . . , βK are each a positive number, and α0, α1, . . . , αn are each a positive number that satisfies βmin=α0<α1< . . . <αn=βmax where βmin≤min{β1, β2, . . . , βK} and βmax≥max{β1, β2, . . . , βK}.
According to an example aspect of the present invention, it is possible to calculate an inverse Laplace transform as a feature of a signal y(t) represented as a combination of a Laplace transform of a discrete measure and an offset b.
The following will discuss in detail a first example embodiment of the present invention, with reference to drawings. The present example embodiment is a basic form of example embodiments described later.
The following will discuss a configuration of a feature calculation apparatus 1 in accordance with the present example embodiment, with reference to
The calculation section 11 calculates, for each of n consecutive intervals (α0, α1], (α1, α2], . . . , (αn−1, αn], a value νy−b((αk−1, αk]) as a feature of a signal y(t) approximated by formula (11) below and including an offset b, the value νy−b((αk−1, αk]) being approximated by formula (12) below:
where K and n are each a natural number, b and ξ1, ξ2, . . . , ξK are each a real number, β1, β2, . . . , βK are each a positive number, and α0, α1, . . . , αn are each a positive number that satisfies βmin=α0<α1< . . . <αn=βmax where βmin≤min{β1, β2, . . . , βK} and βmax≥max{β1, β2, . . . , βK}.
βmin and βmax can be, for example, values inputted by a user of the feature calculation apparatus 1 with use of an input apparatus, or values preset in the feature calculation apparatus 1. α0, α1, . . . , αn are values by which divided intervals of [βmin, βmax] are determined. When βmin and βmax are given, α0, α1, . . . , αn can be set as appropriate within a range of βmin to βmax. For example, the calculation section 11 can calculate α1, . . . , αn that equally divide the [βmin, βmax] interval. Alternatively, for example, a user can set α1, . . . , αn within the range of βmin to βmax. The offset b can be, for example, a value inputted by a user of the feature calculation apparatus 1 with use of an input apparatus, or a value preset in the feature calculation apparatus 1. Alternatively, the feature calculation apparatus 1 can carry out a process of calculating the offset b.
As described above, in the feature calculation apparatus 1 in accordance with the present example embodiment, a configuration is employed in which, for each of the n consecutive intervals (α0, α1], (α1, α2], . . . , αn−1, αn], the value νy−b((αk−1, αk]) approximated by formula (12) above is calculated as a feature of the signal y(t) approximated by formula (11) above and including the offset b.
As shown in formula (12) above, νy−b((αk−1, αk]) calculated by the calculation section 11 corresponds to ξk included in formula (11) above representing the signal y(t). As such, by determining νy−b((αk−1, αk]), it is possible to calculate an inverse Laplace transform as a feature of the signal y(t) which is represented as a combination of a Laplace transform of a discrete measure and the offset b.
The above-described functions of the feature calculation apparatus can also be realized by a program. A feature calculation program in accordance with the present example embodiment causes a computer to carry out a process of calculating, for each of n consecutive intervals (α0, α1], (α1, α2], . . . , (αn−1, αn], a value νy−b((αk−1, αk]) as a feature of a signal y(t) approximated by formula (11) above and including an offset b, the value νy−b((αk−1, αk]) being approximated by formula (12) above, where K and n are each a natural number, b and ξ1, ξ2, . . . , ξK are each a real number, β1, β2, . . . , βK are each a positive number, and α0, α1, . . . , αn are each a positive number that satisfies βmin=α0<α1< . . . <αn=βmax where βmin≤min{β1, β2, . . . , βK} and βmax≥max{β1, β2, . . . , βK}. The feature calculation program provides the effect of making it possible to calculate an inverse Laplace transform as a feature of the signal y(t) which is represented as a combination of a Laplace transform of a discrete measure and the offset b.
The following will discuss a flow of a feature calculation method S1 in accordance with the present example embodiment, with reference to
At S11, at least one processor calculates, for each of n consecutive intervals (α0, α1], (α1, α2], . . . , (αn−1, αn], a value νy−b((αk−1, αk]) as a feature of a signal y(t) approximated by formula (11) above and including an offset b, the value νy−b((αk−1, αk]) being approximated by formula (12) above, where K and n are each a natural number, b and ξ1, ξ2, . . . , ξK are each a real number, β1, β2, . . . , βK are each a positive number, and α0, α1, . . . , αn are each a positive number that satisfies βmin=α0<α1< . . . <αn=βmax where βmin≤min{β1, β2, . . . , βK} and βmax≥max{β1, β2, . . . , βK}.
As described above, in the feature calculation method S1 in accordance with the present example embodiment, a configuration is employed in which at least one processor calculates, for each of the n consecutive intervals (α0, α1], (α1, α2], . . . , (αn−1, αn], the value νy−b((αk−1, αk]) as a feature of the signal y(t) approximated by formula (11) above and including the offset b, the value νy−b((αk−1, αk]) being approximated by formula (12) above. As such, the feature calculation method S1 in accordance with the present example embodiment provides the effect of making it possible to calculate an inverse Laplace transform as a feature of the signal y(t) which is represented as a combination of a Laplace transform of a discrete measure and the offset b.
A feature calculation apparatus 1A in accordance with a second example embodiment of the present invention is an apparatus that calculates a feature of a signal y(t). Note here that the signal y(t) is a signal that indicates a result of observation of a subject of analysis. For example, the signal y(t) is a signal outputted from a smell sensor, a signal indicative of a measured value of blood pressure, or an image signal of a diffusion weighted image (DWI). Note that the signal y(t) is not limited to the examples above, and can be a signal pertaining to other matters. For example, the signal y(t) can be a signal indicative of a speed of a P-wave or an S-wave of an earthquake.
In the present example embodiment, formula (21) below is used as a mathematical model of the signal y(t):
where K is a natural number, b and ξ1, ξ2, . . . , ξK are each a real number, and β1, β2, . . . , βK are each a positive number. In the present example embodiment, the offset b is known.
In formula (21) above, b, ξK, and βK are each a number representing the signal y(t). It can be said that b, ξK, and βK are features of the signal y(t). By determining b, ξK, and βK, it is possible to represent the signal y(t) with use of formula (21).
In the present example embodiment, a formula derived from a Levy inversion formula, not a Fourier inversion formula, is used as a technique for reconstructing a discrete measure. By applying a formula derived from a Levy inversion formula instead of a Fourier inversion formula, it is possible to achieve a form that makes it possible to carry out limit manipulation in which an effect of approximation by a continuous measure is cancelled.
The calculation section 11A can, for example, obtain the signal which is y(t) inputted through an input/output IF (not illustrated) of the feature calculation apparatus 1A or obtain the signal y(t) which is received through a communication IF (not illustrated) of the feature calculation apparatus 1A. Alternatively, the calculation section 11A can obtain the signal y(t) by reading out the signal y(t) from a storage apparatus built in the feature calculation apparatus 1A or from an external storage apparatus.
βmin and βmax used by the calculation section 11A can be, for example, values inputted by a user with use of an input apparatus or values preset in the feature calculation apparatus 1A. α0, α1, . . . , αn are values by which division of the [βmin, βmax] interval is determined. When βmin and βmax are given, α0, α1, . . . , αn can be set as appropriate within a range of βmin to βmax. For example, the calculation section 11A can calculate α1, . . . , αn that equally divide the [βmin, βmax] interval. Alternatively, for example, a user can set α1, . . . , αn within the range of βmin to βmax. The offset b used by the calculation section 11A can be, for example, a value inputted by a user of the feature calculation apparatus 1A with use of an input apparatus, or a value preset in the feature calculation apparatus 1A.
The output section 12A outputs, as a feature of the signal y(t), information indicative of the value νy−b((αk−1, αk]) and outputs, as additional information, information indicative of an interval (αk−1, αk].
The calculation section 11A calculates the value νy−b((αk−1, αk]) as a feature of the signal y(t), with use of formula (23) below and for each of the n consecutive intervals (α0, α1], (α1, α2], . . . , (αn−1, αn].
where Γ(⋅) is a complex gamma function, Im(⋅) is an imaginary part of ⋅, log is a natural logarithmic function, π is a ratio of a circumference of a circle to a diameter thereof, i is an imaginary unit, c is a positive number, and T is a positive number representing measurement time at which the signal y(t) is measured.
As the measurement time T and a range c of integration, values preset in the feature calculation apparatus 1A may be used, or values of the measurement time T and the range c of integration may be inputted by a user with use of an input apparatus and then used by the calculation section 11A. Alternatively, the feature calculation apparatus 1A may calculate values of the measurement time T and the range c of integration.
In the right side of formula (23),
corresponds to a Levy inversion formula. In the right side of formula (23),
is a characteristic function.
As shown in formula (23), in the present example embodiment, a formula derived from a Levy inversion formula, not a Fourier inversion formula, is used as a technique for reconstructing a discrete measure.
(Relationship Between Feature νy−b((αk−1, αk]) and b, ξk, and βk)
In formula (23) above, in a case where (αk−αk−1) is sufficiently less than αk−1 and the range c of integration is sufficiently wide, the value νy−b((αk−1, αk]) is an approximate value of
That is, the value νy−b((αk−1, αk]) is an approximate value of a sum of all ξk that satisfy αk−1<ξk≤αk.
In this case, assuming that positive numbers βmin and βmax that satisfy βmin≤β1< . . . <βK≤βmax are available, fixing divisions βmin=α0<α1< . . . <αn=βmax with sufficiently small widths and calculating νy−b((αk−1, αk]) in accordance with formula (23) above for each k=1, . . . , n allows the following features of the signal y(t) to be extracted.
b,α0,νy−b((α0,α1]), . . . ,αn−1,νy−b((αn−1,αn])
These features are equivalent to the features b, β, and ξk to be extracted as values characterizing the signal y(t). Because of the setting that the natural number K is unknown, n values αk, which are equivalent to βk, and n values νy−b((αk−1, αk]), which are equivalent to ξk, are determined, the number n being a sufficiently large set number. In other words, to compensate for the fact that K is unknown, n is set to a large number, so that there are a large number of features.
αk, which is artificially set regardless of the signal y(t), is not a feature per se, but characterizes the signal y(t) in the meaning that a coefficient corresponding to αk (equivalent to βk) is νy−b((αk−1, αk]) (equivalent to ξk). Thus, the signal y(t) can be represented with use of ξk and βk which are derived from νy−b((αk−1, αk]) calculated by the calculation section 11A and αk.
As described above, according to the present example embodiment, when reproducing an original discrete measure from a signal y(t) which is represented as a combination of a Laplace transform of the discrete measure and an offset b, use of a formula derived from a Levy inversion formula instead of a Fourier inversion formula makes it possible to reproduce the discrete measure.
Further, in the feature calculation apparatus 1A in accordance with the present example embodiment, a configuration is employed in which the offset b included in the signal y(t) is known and the calculation section 11A calculates the value νy−b((αk−1, αk]) with use of formula (23) above. As such, the feature calculation apparatus 1A in accordance with the present example embodiment provides not only the effects provided by the feature calculation apparatus 1 in accordance with the first example embodiment but also the effect of making it possible to reproduce a discrete measure having, in a Laplace transform, a signal y(t) in which the offset b is known.
Further, in the feature calculation apparatus 1A in accordance with the present example embodiment, a configuration is employed in which the output section 12A outputs, as a feature of the signal y(t), information indicative of the value νy−b((αk−1, αk]) and outputs, as additional information, information indicative of the interval (αk−1, αk]. As such, the feature calculation apparatus 1A in accordance with the present example embodiment provides not only the effects provided by the feature calculation apparatus 1 in accordance with the first example embodiment but also the effect of making it possible to both: reproduce a discrete measure having, in a Laplace transform, a signal y(t) in which the offset b is known; and output information indicative of the interval (αk−1, αk].
The following will discuss in detail a third example embodiment of the present invention, with reference to drawings.
The calculation section 11B calculates, for each of n consecutive intervals (α0, α1], (α1, α2], . . . , (αn−1, αn], a value νy−b((αk−1, αk]) as a feature of a signal y(t) represented by formula (21) above. Note that an offset b included in formula (21) representing the signal y(t) is unknown.
The calculation section 11B includes a first measure calculation section 111, a second measure calculation section 112, an offset calculation section 113, and a third measure calculation section 114. The first measure calculation section 111 calculates a value νy((αk−1, αk]) with use of formula (24) below:
where Γ(⋅) is a complex gamma function, Im(⋅) is an imaginary part of ⋅, log is a natural logarithmic function, π is a ratio of a circumference of a circle to a diameter thereof, i is an imaginary unit, c is a positive number, and T is a positive number representing measurement time at which the signal y(t) is measured.
The second measure calculation section 112 calculates a value ν1((αk−1, αk]) with use of formula (25) below.
The offset calculation section 113 calculates the offset b with use of formula (26) below.
With respect to the offset b calculated by the offset calculation section 113, the following features of the signal y(t) are extracted.
b,α0,νy((α0,α1])−bν1((α0,α1]), . . . ,
αn−1,νy((αn−1,αn])−bν1((αn−1,αn])
Assuming here that f(t)=y(t)−b, the following equation:
νy−b((αk−1,αk])=νy((αk−1,αk])−bν1((αk−1,αk]) (27)
is met due to linearity of the corresponding
f→νf((A,B])
. That is, the ultimate output is a value similar to that in a case in which the offset b is known. As such, the third measure calculation section 114 calculates the value νy−b((αk−1, αk]) with use of formula (27) above.
The information used in the calculation process carried out by the calculation section 11B can be, for example, (i) measurement time T, (ii) a range c of integration, (iii) a lower limit βmin of a coefficient of exponential decrease, (iv) an upper limit βmax of the coefficient of exponential decrease, and (v) values α0, α1, . . . , αn, by which divided intervals of a range where the coefficient of exponential decrease exists are determined. These pieces of information can each be information (default value) preset in the feature calculation apparatus 1B. Alternatively, the pieces of information may be inputted by a user with use of an input apparatus and then used by the calculation section 11B. Alternatively, the feature calculation apparatus 1B may calculate at least part of the pieces of information.
The output section 12B outputs, as a feature of the signal y(t), information indicative of the value νy−b((αk−1, αk]), outputs, as additional information, information indicative of the interval (α0, α1], and outputs, as offset information, information indicative of the offset b.
As described above, according to the present example embodiment, when reproducing an original discrete measure from a signal y(t) which is represented as a combination of a Laplace transform of the discrete measure and an offset b, use of a formula derived from a Levy inversion formula instead of a Fourier inversion formula makes it possible to reproduce the discrete measure.
In the feature calculation apparatus 1B in accordance with the present example embodiment, a configuration is employed in which the offset b included in the signal y(t) is unknown and the calculation section 11B includes the first measure calculation section 111 that calculates the value νy((αk−1, αk]) with use of formula (24) above, the second measure calculation section 112 that calculates the value ν1((αk−1, αk]) with use of formula (25) above, the offset calculation section 113 that calculates the offset b with use of formula (26) above, and the third measure calculation section 114 that calculates the value νy−b((αk−1, αk]) with use of formula (27) above. As such, the feature calculation apparatus 1B in accordance with the present example embodiment provides not only the effects provided by the feature calculation apparatus 1 in accordance with the first example embodiment but also the effect of making it possible to calculate a feature of a signal y(t) in which the offset b is unknown.
Further, in the feature calculation apparatus 1B in accordance with the present example embodiment, a configuration is employed in which the output section 12B is provided, the output section 12B outputting, as a feature of the signal y(t), information indicative of the value νy−b((αk−1, αk]), outputting, as additional information, information indicative of the interval (αk−1, αk], and outputting, as offset information, information indicative of the offset b. As such, the feature calculation apparatus 1B in accordance with the present example embodiment provides not only the effects provided by the feature calculation apparatus 1 in accordance with the first example embodiment but also the effect of making it possible to output information indicative of an interval (α0, α1] and information indicative of an offset b.
The following will discuss in detail a fourth example embodiment of the present invention, with reference to drawings. Note that any constituent element that is identical in function to a constituent element described in any one(s) of the first to third example embodiments will be given the same reference numeral, and a description thereof will not be repeated.
The smell determination apparatus 1C includes a calculation section 11C and a determination section 13. The determination section 13 is an example of a determination apparatus in this specification. The calculation section 11C includes a calculation section 11A and a calculation section 11B. The calculation section 11C calculates, for each of n consecutive intervals (α0, α1], (α1, α2], . . . , (αn−1, αn], a value νy−b((αk−1, αk]) as a feature of a signal y(t) represented by formula (21) above. At this time, the calculation section 11C determines whether the offset b is unknown or known, and in a case where the offset b is unknown, the calculation section 11C calculates νy−b((αk−1, αk]) by carrying out the above-described calculation process carried out by the calculation section 11A in accordance with the second example embodiment. In a case where the offset b is known, the calculation section 11C calculates νy−b((αk−1, αk]) by carrying out the above-described calculation process carried out by the calculation section 11B in accordance with the third example embodiment.
In the present example embodiment, the calculation section 11C determines that the offset b is known in a case where a differential of the signal y(t) is not more than a predetermined threshold, and determines that the offset b is unknown in a case where the differential of the signal y(t) is more than predetermined threshold. In other words, the calculation section 11C calculates the value νy−b((αk−1, αk]) with use of formula (23) above in a case where the differential of the signal y(t) is not more than the predetermined threshold. In a case where the differential is more than the threshold, the calculation section 11C calculates the value νy−b((αk−1, αk]) by the first measure calculation section 111, the second measure calculation section 112, the offset calculation section 113, and the third measure calculation section 114. The method of setting the information (measurement time T, a range c of integration, a lower limit βmin of a coefficient of exponential decrease, an upper limit βmax of the coefficient of exponential decrease, the values α0, α1, . . . , αn by which divided intervals of a range where the coefficient of exponential decrease exists are determined, etc.) used in the calculation process carried out by the calculation section 11C is similar to the method described in the second example embodiment above.
The determination section 13 determines a type of the smell or a type of a source of the smell on the basis of the feature calculated by the calculation section 11C. For example, the determination section 13 may carry out the determination of a type by comparing the feature calculated by the calculation section 11C with a plurality of features registered in a predetermined database. Alternatively, for example, the determination section 13 may determine the type of the smell by inputting a feature calculated by the calculation section 11B to a trained model that receives input of a feature of the signal y(t) and outputs a type of a smell. In this case, the trained model is a trained model that has been constructed by machine learning with use of training data including a feature of a signal y(t) and a label indicative of a type of a smell. The technique of machine learning of the trained model is not limited. For example, a decision tree-based technique, a technique of linear regression, or a technique of neural network can be used, and two or more of these techniques can be used. Note that the technique by which the determination section 13 carried out the determination process is not limited to the above-described examples, and the determination section 13 can carry out the determination process by other techniques.
At S22, the calculation section 11C calculates, for each of n consecutive intervals (α0, α1], (α1, α2], . . . , (αn−1, αn], a value νy−b((αk−1, αk]) with use of formula (23) above. The calculation process carried out by the calculation section 11C at step S22 is similar to the calculation process carried out by the calculation section 11A in accordance with the second example embodiment described above. At this time, the calculation section 11C employs a value of y(t) at final time as an approximate value of the offset b and calculates the value νy−b((αk−1, αk]) with use of formula (23) above.
At S23, the calculation section 11C calculates the value νy((αk−1, αk]) with use of formula (24) above. The calculation process carried out by the calculation section 11C at step S23 is similar to the calculation process carried out by the first measure calculation section 111 in accordance with the third example embodiment described above.
At S24, the calculation section 11C calculates the value ν1((αk−1, αk]) with use of formula (25) above. The calculation process carried out by the calculation section 11C at step S24 is similar to the calculation process carried out by the second measure calculation section 112 in accordance with the third example embodiment described above.
At S25, the calculation section 11C calculates the offset b with use of formula (26) above. The calculation process carried out by the calculation section 11C at step S25 is similar to the calculation process carried out by the offset calculation section 113 in accordance with the third example embodiment described above.
At S26, the calculation section 11C calculates the value νy−b((αk−1, αk]) with use of formula (27) above. The calculation process carried out by the calculation section 11C at step S26 is similar to the calculation process carried out by the third measure calculation section 114 in accordance with the third example embodiment described above.
At S27, the determination section 13 determines, on the basis of the feature calculated by the calculation section 11C, a type of smell represented by the signal y(t). At S28, the determination section 13 outputs information indicative of at least one of the feature calculated by the calculation section 11C and a result of determination by the determination section 13. For example, the determination section 13 can output a type of a smell, which is a determination result. For example, the determination section 13 can output parameters b, ξk, and βk of the signal y(t) determined on the basis of the feature calculated by the calculation section 11C. Further, the determination section 13 can output and display an output value actually outputted from a sensor and inputted to the smell determination apparatus 1C and the signal y(t) calculated on the basis of the feature calculated by the calculation section 11C.
As described above, the smell determination apparatus 1C in accordance with the present example embodiment calculates a feature of a signal y(t) outputted from a smell sensor. As such, according to the present example embodiment, it is possible to calculate a feature of a signal y(t) representing a smell and measured by the smell sensor.
Further, the smell determination apparatus 1C in accordance with the present example embodiment includes the determination section 13 which determines a type of a smell or a type of a source of the smell on the basis of the feature calculated by the calculation section 11C. As such, the smell determination apparatus 1C in accordance with the present example embodiment makes it possible to determine a type of a smell or a type a source of the smell, by reproducing an original discrete measure from a Laplace transform of the discrete measure.
Further, the calculation section 11C in accordance with the present example embodiment calculates the value νy−b((αk−1, αk]) with use of formula (23) above in a case where the differential of the signal y(t) is not more than a predetermined threshold. In a case where the differential is more than the threshold, the calculation section 11C calculates the value νy−b((αk−1, αk]) by the first measure calculation section 111, the second measure calculation section 112, the offset calculation section 113, and the third measure calculation section 114. By calculating v on the assumption that the offset b is known in a case where the differential is not more than the threshold, it is possible to increase the accuracy of calculation of the feature.
In the above-described second example embodiment, the calculation section 11A may start the process of calculating a feature until observation of the signal y(t) finds that the signal y(t) has come into a steady state (flat state). In other words, the calculation section 11A may start the process of calculating a feature in a case where a differential of the signal y(t) is not more than a predetermined threshold.
At step S32, the calculation section 11A calculates a value νy−b((αk−1, αk]). At this time, the calculation section 11A regards a limit value of the signal y(t), which limit value is estimated from the signal y(t), to be an offset b, regards the offset b to be known, and calculates the value νy−b((αk−1, αk]) with use of formula (23) above. At step S33, the output section 12A outputs the feature calculated by the calculation section 11A. According to the present example aspect, the use of the signal y(t) observed until the signal y(t) comes into a steady state (flat state) makes it possible to increase the accuracy of inverse transform.
Some or all of the functions of each of the feature calculation apparatuses 1, 1A, and 1B and the smell determination apparatus 1C (hereinafter, referred to as “feature calculation apparatus 1 etc.”) may be realized by hardware such as an integrated circuit (IC chip) or may be alternatively realized by software.
In the latter case, each of the feature calculation apparatus 1 etc. is realized by, for example, a computer that executes instructions of a program that is software realizing the foregoing functions.
As the processor C1, for example, it is possible to use a central processing unit (CPU), a graphic processing unit (GPU), a digital signal processor (DSP), a micro processing unit (MPU), a floating point number processing unit (FPU), a physics processing unit (PPU), a tensor processing unit (TPU), a quantum processor, a microcontroller, or a combination of these. The memory C2 can be, for example, a flash memory, a hard disk drive (HDD), a solid state drive (SSD), or a combination of these.
Note that the computer C can further include a random access memory (RAM) in which the program P is loaded when the program P is executed and in which various kinds of data are temporarily stored. The computer C can further include a communication interface for carrying out transmission and reception of data with other apparatuses. The computer C can further include an input-output interface for connecting input-output apparatuses such as a keyboard, a mouse, a display, and a printer.
The program P can be stored in a non-transitory tangible storage medium M which is readable by the computer C. The storage medium M can be, for example, a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like. The computer C can obtain the program P via the storage medium M. The program P can be transmitted via a transmission medium. The transmission medium can be, for example, a communications network, a broadcast wave, or the like. The computer C can obtain the program P also via such a transmission medium.
The present invention is not limited to the foregoing example embodiments, but may be altered in various ways by a skilled person within the scope of the claims. For example, the present invention also encompasses, in its technical scope, any example embodiment derived by appropriately combining technical means disclosed in the foregoing example embodiments.
The whole or part of the example embodiments disclosed above can be described as, but not limited to, the following supplementary notes.
A feature calculation apparatus, including a calculation means that calculates, for each of n consecutive intervals (α0, α1], (α1, α2], . . . , (αn−1, αn], a value νy−b((αk−1, αk]) as a feature of a signal y(t) approximated by formula (31) below and including an offset b, the value νy−b((αk−1, αk]) being approximated by formula (32) below:
where K and n are each a natural number, b and ξ1, ξ2, . . . , are each a real number, β1, β2, . . . , βK are each a positive number, and α0, α1, . . . , αn are each a positive number that satisfies βmin=α0<α1< . . . <αn=βmax where βmin≤min{β1, β2, . . . , βK} and βmax≥max{β1, β2, . . . , βK}.
The feature calculation apparatus according to supplementary note 1, wherein:
where Γ(⋅) is a complex gamma function, Im(⋅) is an imaginary part of ⋅, log is a natural logarithmic function, π is a ratio of a circumference of a circle to a diameter thereof, i is an imaginary unit, c is a positive number, and T is a positive number representing measurement time at which the signal y(t) is measured.
The feature calculation apparatus according to supplementary note 2, further including an output means that outputs, as the feature of the signal y(t), information indicative of the value νy−b((αk−1, αk]) and outputs, as additional information, information indicative of an interval (αk−1, αk].
The feature calculation apparatus according to supplementary note 1, wherein:
where Γ(⋅) is a complex gamma function, Im(⋅) is an imaginary part of ⋅, log is a natural logarithmic function, π is a ratio of a circumference of a circle to a diameter thereof, i is an imaginary unit, c is a positive number, and T is a positive number representing measurement time at which the signal y(t) is measured.
The feature calculation apparatus according to supplementary note 4, further including an output means that outputs, as a feature of the signal y(t), information indicative of the value νy−b((αk−1, αk]), outputs, as additional information, information indicative of the interval (α0, α1], and outputs, as offset information, information indicative of the offset b.
The feature calculation apparatus according to any one of supplementary notes 1 to 5, wherein the signal y(t) is a signal outputted from a smell sensor.
A smell determination apparatus, including the feature calculation apparatus according to supplementary note 6 and a determination apparatus that determines, on the basis of the feature calculated by the feature calculation apparatus, a type of a smell or a type of a source of a smell.
The feature calculation apparatus according to supplementary note 4, wherein the calculation means
where Γ(⋅) is a complex gamma function, Im(⋅) is an imaginary part of ⋅, log is a natural logarithmic function, π is a ratio of a circumference of a circle to a diameter thereof, i is an imaginary unit, c is a positive number, and T is a positive number representing measurement time at which the signal y(t) is measured.
A feature calculation method, including calculating, by at least one processor and for each of n consecutive intervals (α0, α1], (α1, α2], . . . , (αn−1, αn], a value νy−b((αk−1, αk]) as a feature of a signal y(t) approximated by formula (39) below and including an offset b, the value νy−b((αk−1, αk]) being approximated by formula (40) below:
where K and n are each a natural number, b and ξ1, ξ2, . . . , ξK are each a real number, β1, β2, . . . , βK are each a positive number, and α0, α1, . . . , αn are each a positive number that satisfies βmin=α0<α1< . . . <αn=βmax where βmin≤min{β1, β2, . . . , βK} and βmax≥max{β1, β2, . . . , βK}.
A program for causing a computer to carry out a process of calculating, for each of n consecutive intervals α0, (α1], (α1, α2], . . . , (αn−1, αn], a value νy−b((αk−1, αk]) as a feature of a signal y(t) approximated by formula (41) below and including an offset b, the value νy−b((αk−1, αk]) being approximated by formula (42) below:
where K and n are each a natural number, b and ξ1, ξ2, . . . , ξK are each a real number, β1, β2, . . . , βK are each a positive number, and α0, α1, . . . , αn are each a positive number that satisfies βmin=α0<α1< . . . <αn=βmax where βmin≤min{β1, β2, . . . , βK} and βmax≥max{β1, β2, . . . , βK}.
A feature calculation apparatus, including at least one processor, the at least one processor carrying out a calculation process of calculating, for each of n consecutive intervals (α0, α1], (α1, α2], . . . , (αn−1, αn], a value νy−b((αk−1, αk]) as a feature of a signal y(t) approximated by formula (43) below and including an offset b, the value νy−b((αk−1, αk]) being approximated by formula (44) below:
where K and n are each a natural number, b and ξ1, ξ2, . . . , ξK are each a real number, β1, β2, . . . , βK are each a positive number, and α0, α1, . . . , αn are each a positive number that satisfies βmin=α0<α1< . . . <αn=βmax where βmin≤min{β1, β2, . . . , βK} and βmax≥max{β1, β2, . . . , βK}.
Note that the feature calculation apparatus may further include a memory, which may store a program for causing the at least one processor to carry out the calculation process. The program can be stored in a computer-readable non-transitory tangible storage medium.
Number | Date | Country | Kind |
---|---|---|---|
2022-182867 | Nov 2022 | JP | national |