Menstrual date prediction device, menstrual date prediction method, and menstrual date prediction program
The menstrual day prediction device uses basal body temperature data for less than one menstrual cycle to generate a prediction model, addressing the challenge of insufficient data and ensuring accurate menstrual cycle forecasting for new users.
Patent Information
- Application Number
- JP2023069458
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-20
- Publication Date
- 2024-10-31
AI Technical Summary
Existing menstrual cycle prediction methods struggle to provide highly accurate results for users who have just started using the service due to insufficient aggregated data, as they require continuous measurement over a considerable period.
A menstrual day prediction device and method that generates a prediction model using basal body temperature data for less than one menstrual cycle, incorporating learning techniques to predict the next menstrual day with high accuracy.
Enables accurate prediction of menstrual days even with limited data, providing timely information to users who have recently started using the service.
Smart Images

Figure 2024155063000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a menstruation prediction device, a menstruation prediction method, and a menstruation prediction program. [Background technology]
[0002] By predicting the menstrual cycle (menstrual days), women can accurately estimate the day of ovulation, increase the success rate of pregnancy, and properly manage their monthly health. For these reasons, there is a high demand for accurate menstrual cycle prediction.
[0003] For example, a technique is known that reduces the burden of measuring basal body temperature by deriving multiple predicted values from actual temperature measurements and predicting the next menstrual date from the derived predicted values and physiological data (see Patent Document 1 below). Alternatively, a technique is known that estimates the ovulation date based on body temperature data that does not cover the entire menstrual cycle, using a function that approximates the relationship between body temperature data and the day (see Patent Document 2 below). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent No. 4824372 [Patent Document 2] International Publication No. 2015 / 079526 Summary of the Invention [Problem to be solved by the invention]
[0005] Menstrual cycles vary widely from person to person, and so do trends in basal body temperature data. For this reason, attempts have been made to improve the accuracy of menstrual cycle predictions by making full use of statistical methods based on basal body temperature data measured in the past.
[0006] However, when using past data to predict menstrual cycles, the user's past data is required. Considering that the menstrual cycle is approximately one month, data must be continuously measured for a considerable period of time in order to apply statistical methods. For this reason, there was a problem that highly accurate prediction results could not be provided to users who had just started using a menstrual cycle prediction service (such as a prediction app for smartphones).
[0007] Therefore, the present disclosure proposes a menstruation prediction device, a menstruation prediction method, and a menstruation prediction program that are capable of predicting menstruation with high accuracy even when the amount of collected data is insufficient. [Means for solving the problem]
[0008] In order to solve the above problems, the menstrual period prediction device of the present disclosure is characterized by comprising: an acquisition unit that acquires unit data, which is basal body temperature data for a number of days that is less than one menstrual cycle and is basal body temperature data measured on consecutive days; a learning unit that uses the acquired unit data and correct answer data indicating whether menstruation has occurred a specified number of days after the unit data was measured as learning data, and generates a prediction model that predicts the next menstrual period from the basal body temperature data for a number of days corresponding to the unit data; and a prediction unit that, when basal body temperature data for a number of days corresponding to the unit data is obtained from a user who is the subject of prediction, uses the prediction model to predict the next menstrual period of the user. Effect of the Invention
[0009] According to one aspect of the embodiment, even if the amount of collected data is insufficient, the menstrual period can be predicted with high accuracy. [Brief description of the drawings]
[0010] [Figure 1] FIG. 11 is a diagram illustrating a flow of a menstruation day prediction process according to an embodiment. [Diagram 2] FIG. 1 is a diagram showing an example of a model generation process according to an embodiment. [Diagram 3] FIG. 2 illustrates an example of the model generation process according to the embodiment. [Figure 4] FIG. 3 illustrates an example of a model generation process according to the embodiment. [Diagram 5] FIG. 11 is a diagram showing an overview of the flow of menstruation day prediction processing according to the embodiment. [Figure 6] FIG. 1 is a diagram illustrating an example of a configuration of a prediction device according to an embodiment. [Figure 7] 10 is a flowchart illustrating a procedure of a model generation process according to the embodiment. [Figure 8] 11 is a flowchart illustrating a procedure of a prediction process according to the embodiment. [Figure 9] FIG. 2 is a hardware configuration diagram illustrating an example of a computer that realizes the functions of the prediction device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In the following embodiments, the same components are designated by the same reference numerals, and duplicated descriptions will be omitted.
[0012] (1. EMBODIMENT) (1-1. Overview of menstruation day prediction process according to the embodiment) Fig. 1 is a diagram showing a schematic flow of a menstruation day prediction process (model generation phase) according to an embodiment. The menstruation day prediction process according to the embodiment is executed by a menstruation day prediction system 1 shown in Fig. 1. The menstruation day prediction system 1 includes a prediction device 100 which is an example of a menstruation day prediction device according to the present disclosure, a measuring device 10, and a user terminal 200. The devices included in the menstruation day prediction system 1 are capable of transmitting and receiving data to and from each other via wireless communication or the like.
[0013] The measuring device 10 is a device used to measure basal body temperature. The measuring device 10 is a so-called wearable device that is stored in the user's clothing, such as underwear, and measures the user's biological information continuously or periodically (for example, at a fixed time every morning). In the following, a user who provides learning data (basal body temperature data, menstrual days, etc.) used to generate a prediction model according to the embodiment is distinguished as a "user 15," and a user who is the target of prediction processing by the prediction model is distinguished as a "user 20 (see FIG. 5)." When there is no need to distinguish between the two, they will simply be referred to as a "user."
[0014] The measuring device 10 measures the basal body temperature of the user 15 and stores the measured daily basal body temperature. The basal body temperature is the body temperature when the user is at rest and only consumes the minimum amount of energy necessary for life support, and generally refers to the body temperature measured with a thermometer while lying down when waking up in the morning. The measuring device 10 may measure the basal body temperature itself, or may measure the user's skin temperature. When measuring the skin temperature, the measuring device 10 may calculate an approximation of the basal body temperature from the deep body temperature derived from the outside air temperature and the skin temperature, and may handle the calculated data as measurement data (basal body temperature data). The measuring device 10 may also measure data such as the user's heart rate as biological information.
[0015] The user terminal 200 is a terminal device used by a user, such as a smartphone or a tablet terminal. For example, an application for controlling the measurement device 10 is installed in the user terminal 200. The user can control the measurement device 10 and refer to the basal body temperature data measured by the measurement device 10 by using the application running on the user terminal 200. The user terminal 200 also acquires the basal body temperature data measured by the measurement device 10 and transmits the acquired basal body temperature data to the prediction device 100. The user terminal 200 also receives the result predicted by the prediction device 100 from the prediction device 100. The user can refer to the result predicted by the prediction device 100 via the user terminal 200. Note that, as described above, when the measurement device 10 measures the result calculated by calculation of data close to the basal body temperature using data of the skin temperature and the outside air temperature, the basal body temperature data may be data obtained by collecting such a calculation result. In other words, the basal body temperature data is not necessarily limited to a series of data accumulated with the basal body temperature, but may be data having a temperature change pattern equivalent to that of the basal body temperature.
[0016] The prediction device 100 is an information processing device that acquires basal body temperature data measured by the measuring device 10 and executes a process of predicting a user's menstrual date and menstrual cycle based on the acquired basal body temperature data. For example, the prediction device 100 is a cloud server or the like.
[0017] Although not shown in Fig. 1, it is assumed that there are many users other than the user 15 who use the measuring device 10. The prediction device 100 acquires basal body temperature data from these many users at any time, and generates a prediction model (described later) using the acquired data as learning data. In other words, the user 15 collectively refers to the many users who provide basal body temperature data as learning data.
[0018] As described above, the prediction device 100 predicts the user's menstrual period, i.e., the menstrual cycle. The menstrual cycle is cyclical (biphasic), in that it enters a high temperature phase due to the influence of hormones secreted with ovulation, and then enters a low temperature phase after the start of menstruation (monthly period). For this reason, it is possible to predict the pattern of the menstrual cycle to some extent by statistically processing the basal body temperature data.
[0019] However, basal body temperature data acquired during the menstrual cycle has different tendencies for each individual and does not necessarily have biphasic characteristics. For this reason, it is desirable to generate an individual prediction model for each user, but in order to generate a prediction model corresponding to the user, a considerable amount of past data for the user is required. Considering that the menstrual cycle is approximately one month, data must be continuously measured for a considerable period of time in order to apply statistical methods. For this reason, there is a problem that highly accurate prediction results cannot be provided to users who have just started using a service for predicting the menstrual cycle (for example, a prediction app for smartphones, etc.).
[0020] Therefore, the prediction device 100 according to the embodiment has the configuration described below to solve the above problem. First, the prediction device 100 acquires basal body temperature data from the user 15 for a number of days that is less than one menstrual cycle and is measured on consecutive days (hereinafter, a set of basal body temperature data for a predetermined number of days is referred to as "unit data"). Then, the prediction device 100 generates a prediction model that predicts the next menstrual day from the basal body temperature data for a number of days corresponding to the unit data, using the acquired unit data and correct answer data indicating whether a menstrual day has arrived after a predetermined number of days since the unit data was measured as a set of learning data. When the prediction device 100 acquires basal body temperature data for a number of days corresponding to the unit data from the user 20 who is the prediction target, the prediction device 100 predicts the next menstrual day of the user 20 using the prediction model.
[0021] That is, the prediction device 100 generates a prediction model using basal body temperature data for a number of days less than one cycle (e.g., one week's worth) and learning data labeled with "whether or not a certain number of days (e.g., one week's worth) from the day the basal body temperature data was obtained is a menstrual day. In this way, when a certain unit of data is obtained, the prediction device 100 can predict "whether or not the user will have a menstrual day one week later." Therefore, the prediction device 100 can provide highly accurate prediction results even for a user 20 who has just started using a service for menstrual cycle prediction and who only has one week's worth of basal body temperature data.
[0022] 1 to 4, an overview of the model generation process performed by the menstruation day prediction system 1 will be described below. Note that an overview of the menstruation day prediction process performed by the menstruation day prediction system 1 will be described later with reference to FIG.
[0023] 1, the user 15 wears the measuring device 10 while sleeping to obtain basal body temperature data every day. That is, the measuring device 10 continuously measures the basal body temperature data of the user 15 (step S1). The measuring device 10 transmits the measured basal body temperature data to the user terminal 200 successively or periodically (step S2).
[0024] The user terminal 200 sequentially or periodically transmits the basal body temperature data measured by the measuring device 10 to the prediction device 100 (step S3).
[0025] The basal body temperature data transmitted from the user terminal 200 to the prediction device 100 can be shown as a waveform by plotting the basal body temperature value and the measurement date, for example, as in the graph 30 shown in Fig. 1. If the user 15 is able to recognize the menstrual period, the user 15 can include the date of the menstrual period in the basal body temperature data by registering the data indicating the date of the menstrual period.
[0026] Graph 30 shows basal body temperature data for approximately one menstrual cycle of user 15. Note that graph 30 shows data with a biphasic tendency, with the first half indicating a low temperature period and the second half indicating a high temperature period.
[0027] The prediction device 100 accumulates the acquired basal body temperature data (measurement data by the measuring device 10) in the database 40, and generates a prediction model for predicting menstruation days based on the acquired basal body temperature data (step S4). In other words, the prediction device 100 generates a prediction model by performing machine learning using AI based on learning data consisting of unit data and correct labels related to the unit data.
[0028] Specifically, the prediction device 100 grasps the basal body temperature data 31 corresponding to the previous menstrual day, and then extracts unit data 32 from the acquired basal body temperature data. For example, when seven days is defined as one unit, the prediction device 100 extracts basal body temperature data for seven consecutive days as unit data 32.
[0029] Then, the prediction device 100 labels whether the next menstruation day has arrived a predetermined number of days (for example, 7 days) after the date on which the last data (data on the 7th day) of the basal body temperature data included in the unit data 32 was obtained. For example, if menstruation has arrived 7 days after the date on which the unit data 32 was obtained, the prediction device 100 treats such data as positive example learning data. On the other hand, if menstruation has not arrived 7 days after the date on which the unit data 32 was obtained, the prediction device 100 treats such data as negative example learning data. Note that, in order to provide flexibility in prediction, the prediction device 100 may treat not only the day of menstruation, but also days before and after the day of menstruation, etc., as positive examples (correct answer data).
[0030] The prediction device 100 can generate sufficient learning data for learning by acquiring basal body temperature data from a large number of users 15. The learning data will be described in detail with reference to Fig. 2 to Fig. 4. Fig. 2 is a diagram (1) showing an example of a model generation process according to an embodiment.
[0031] Graph 50 shown in Fig. 2 shows basal body temperature data obtained from a certain user 15. The prediction device 100 can extract a plurality of unit data (unit data 51, unit data 52, unit data 53, and unit data 54 shown in Fig. 2) including seven days' worth of measurement data from the basal body temperature data obtained from the user 15. Note that, as shown in Fig. 2, the ranges of the extracted unit data may overlap each other.
[0032] Next, the prediction device 100 generates a set of learning data by attaching a label to each unit data indicating whether or not menstruation occurs 7 days after the day the unit data is obtained. This will be described with reference to Fig. 3. Fig. 3 is a diagram (2) showing an example of a model generation process according to the embodiment.
[0033] 3, the period is not included in the range 60 of seven days after the unit data 52 (or "6 to 8 days after" if including before and after the unit data 52). In this case, the prediction device 100 determines that the unit data 52 is a negative example, that is, the learning data indicates that the period will not occur 7 days after the data of the trend shown in the unit data 52 is obtained.
[0034] Another example of the learning data is shown in Fig. 4. Fig. 4 is a diagram (3) showing an example of the model generation process according to the embodiment. In the example shown in Fig. 4, the period is included in the range 61 seven days after the unit data 54 ("6 to 8 days after" if including before and after). In this case, the prediction device 100 determines that the unit data 54 is a negative example, that is, the learning data indicates that the period will arrive seven days after the data of the trend shown in the unit data 54 is obtained.
[0035] Then, the prediction device 100 performs learning based on the learning data acquired from the user 15, and generates a prediction model. Specifically, the prediction device 100 generates a prediction model that outputs the probability that menstruation will occur seven days later when basal body temperature data for seven days is input.
[0036] The prediction model may use data of any number of days less than one cycle as unit data, instead of seven days. The prediction model may use data of any number of days less than one cycle as unit data, instead of predicting menstruation days seven days from now. The prediction device 100 may learn based on numerical values that have been subjected to various conversions, instead of using basal body temperature data itself, as will be described in detail later. The learning method performed by the prediction device 100 is not limited to a specific method, and various known methods (regression, clustering, etc.) may be used. For example, the prediction device 100 may use any learning method as long as it can extract a feature based on a certain tendency of increasing or decreasing body temperature as a tendency indicated by the unit data.
[0037] The prediction device 100 performs prediction processing using the prediction model generated by the above processing. An outline of the prediction processing by the menstruation day prediction system 1 will be described with reference to Fig. 5. Fig. 5 is a diagram showing an outline of the flow of menstruation day prediction processing (inference phase) according to the embodiment.
[0038] In the menstruation day prediction process according to the embodiment, the measuring device 10 continuously measures basal body temperature data of the user 20 (step S11). The measuring device 10 transmits the measured data to the user terminal 200 successively or periodically (step S12).
[0039] The user terminal 200 sequentially or periodically transmits the data measured by the measuring device 10 to the prediction apparatus 100 (step S13).
[0040] The basal body temperature data transmitted by the user terminal 200 to the prediction device 100 can be displayed as a waveform by plotting the basal body temperature values and the measurement dates, for example, as in graph 70 shown in FIG.
[0041] The prediction device 100 accumulates the basal body temperature data acquired from the user 20 in the database 80. Then, when the prediction device 100 accumulates data for a unit of data, it predicts whether or not menstruation will occur 7 days after the acquisition of the unit of data (step S14).
[0042] Specifically, the prediction device 100 inputs unit data 71, which is accumulated basal body temperature data for seven days, into a prediction model 90 generated by the processing shown in Figures 1 to 4. Then, the prediction device 100 outputs, as a prediction result, a score (e.g., a probability) indicating whether a range 72, which is seven days after the acquisition of the unit data 71, is a menstrual day (whether or not the menstrual day is included).
[0043] Next, the prediction device 100 transmits the output result to the user terminal 200 (step S15). At this time, the prediction device 100 may control the content displayed in the application of the user terminal 200. For example, the prediction device 100 controls to display a message such as "The probability that the day of menstruation will occur in one week is 'XX percent'" in the application.
[0044] In this way, the prediction device 100 acquires basal body temperature data from the user 20, and predicts the next menstrual day of the user 20 based on the unit data 71 included in the acquired data. Since the measurement device 10 continuously acquires basal body temperature data every day, the user 20 can continuously receive information such as menstrual cycles from the prediction device 100 simply by wearing the measurement device 10 and going to bed. In addition, since the prediction device 100 can predict menstrual days from unit data 71 that is less than one cycle, predictions for the user 20 can be made before one menstrual cycle arrives after the user 20 starts the prediction service.
[0045] (1-2. Configuration of Prediction Device According to the Embodiment) Next, a configuration of the prediction device 100 that executes the menstruation day prediction process according to the embodiment will be described. Fig. 6 is a diagram showing an example of the configuration of the prediction device 100 according to the embodiment.
[0046] 6, the prediction device 100 includes a communication unit 110, a storage unit 120, and a control unit 130. The prediction device 100 may include an input unit (e.g., a keyboard, a mouse, etc.) that receives various operations from an administrator who manages the prediction device 100, and a display unit (e.g., a liquid crystal display, etc.) that displays various information.
[0047] The communication unit 110 is realized by, for example, a network interface controller. The communication unit 110 is connected to a network N (for example, the Internet) by wire or wirelessly, and transmits and receives information to and from the measuring device 10, the user terminal 200, and the like via the network N. For example, the communication unit 110 may transmit and receive information using a communication standard or communication technology such as Wi-Fi (registered trademark), a Subscriber Identity Module (SIM), or a Low Power Wide Area (LPWA).
[0048] The storage unit 120 is realized by, for example, a semiconductor memory element such as a random access memory (RAM) or a flash memory, or a storage device such as a hard disk or an optical disk. The storage unit 120 has a measurement data storage unit 121 and a model storage unit 122.
[0049] The measurement data storage unit 121 stores measurement data acquired from a user wearing the measurement device 10. That is, the measurement data storage unit 121 stores basal body temperature data, which is learning data used to learn a prediction model, and basal body temperature data input to a prediction model in a prediction process.
[0050] The model storage unit 122 stores a prediction model used for prediction processing by the prediction device 100. Note that the model storage unit 122 may store a plurality of prediction models, such as prediction models each having a different length of the number of days of unit data or prediction models each having a different number of days ahead of menstruation to be predicted.
[0051] The control unit 130 is realized by, for example, a central processing unit (CPU), a micro processing unit (MPU), a graphics processing unit (GPU), or the like executing a program stored inside the prediction device 100 using a RAM or the like as a working area. The control unit 130 is also a controller, and is realized by, for example, an integrated circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA).
[0052] As shown in FIG. 6, the control unit 130 includes an acquisition unit 131, a learning unit 132, a conversion unit 133, a prediction unit 134, and a provision unit 135.
[0053] The acquisition unit 131 acquires various information. For example, the acquisition unit 131 acquires basal body temperature data during a menstrual cycle from a user who uses the measuring device 10. Specifically, the acquisition unit 131 controls a program (app) installed in the user terminal 200, and acquires the basal body temperature data from the user terminal 200 at the timing when the basal body temperature data is acquired by the user terminal 200, or at a fixed time every day. Furthermore, when the number of days of unit data used in the learning process is set, the acquisition unit 131 acquires unit data by extracting the basal body temperature data for that number of days.
[0054] When acquiring the basal body temperature data, the acquisition unit 131 may acquire data in which the menstrual day is manually registered by the user. In this case, the prediction device 100 can use the basal body temperature data as learning data, with the menstrual day being the correct answer as teacher data. When acquiring data for learning, the acquisition unit 131 may acquire a predetermined amount of measurement data set (for example, basal body temperature data for one menstrual cycle) at the timing when the user registers that the start of menstruation has been observed.
[0055] The acquisition unit 131 may acquire not only basal body temperature data, but also any other physical information that is expected to affect the menstrual cycle, such as the age, height, and weight of each user. The acquisition unit 131 acquires such information by accepting input from the user via user registration in an app, for example. In addition, when the measuring device 10 is capable of measuring biological information other than body temperature, the acquisition unit 131 may acquire the biological information together with the basal body temperature data.
[0056] In addition, when performing the prediction process, the acquisition unit 131 acquires unit data, which is basal body temperature data for days less than one menstrual cycle and basal body temperature data measured on consecutive days. For example, the acquisition unit 131 acquires unit data by extracting basal body temperature data for the number of unit data corresponding to the prediction model from basal body temperature data measured on a predetermined number of consecutive days. Note that the basal body temperature data measured on consecutive days is sufficient if there is data for a predetermined number of days that is treated as unit data, and is not necessarily limited to data acquired from the user every day in succession. In other words, the basal body temperature data measured on consecutive days may be data corresponding to consecutive dates that constitute the unit data. For example, even if there is a missing part in the continuously acquired basal body temperature data due to the user forgetting to measure or measuring incorrectly, the acquisition unit 131 may interpolate the missing part with data before and after the missing part, and include the interpolated data as data corresponding to the missing date to constitute the unit data.
[0057] The learning unit 132 uses the acquired unit data and correct answer data indicating whether menstruation has occurred a specified number of days after the unit data was measured as learning data, and generates a prediction model that predicts the next menstruation date from the basal body temperature data for the number of days corresponding to the unit data.
[0058] The learning unit 132 may generate a prediction model by applying different weighting to learning data in which the correct answer data is a menstrual day (positive example) and learning data in which the correct answer data is not a menstrual day (negative example). Since the learning data used by the learning unit 132 indicates whether or not a menstrual day will occur a predetermined number of days after the unit data, it is expected that the number of negative examples will be extremely large compared to the positive examples. For this reason, the learning unit 132 can perform appropriate learning by weighting the positive examples more heavily than the negative examples. The learning unit 132 may use various known methods as a weighting method.
[0059] The conversion unit 133 performs a predetermined conversion process on the unit data acquired by the acquisition unit 131 so as to use the unit data as learning data.
[0060] For example, the conversion unit 133 converts the basal body temperature data constituting the unit data into frequency data. Specifically, the conversion unit 133 converts the unit data, which is time-series data, into data represented by frequency components by performing a Fourier transform. For example, the conversion unit 133 converts the unit data using a short-time Fourier transform that analyzes the data as a change in phase by performing calculations while shifting the time-series data at regular intervals. As a result, the unit data is expressed as data that contains many high frequency components in areas where the basal body temperature data changes relatively rapidly and many low frequency components in areas where the basal body temperature data changes relatively slowly.
[0061] The learning unit 132 performs learning using the data converted by the conversion unit 133, thereby generating a prediction model that can better capture the trends (characteristics) indicated by the unit data, which is time-series data, and thereby improving the prediction accuracy.
[0062] In addition, due to the principle of calculation, Fourier transform requires a certain number of data. On the other hand, the basal body temperature data constituting the unit data has only seven values for 7 days, for example, so the number of data is insufficient. For this reason, the conversion unit 133 may perform a predetermined processing process (pre-processing) on the data to obtain the number of data required for Fourier transform. For example, the conversion unit 133 may obtain the number of data required for Fourier transform by taking the center of gravity of the gradient of the original unit data and performing a resampling process to obtain a value (sample value) that depicts the center of gravity.
[0063] Furthermore, when there is missing measurement data among the basal body temperature data constituting the unit data due to the user forgetting to measure, etc., the conversion unit 133 may perform pre-processing such as interpolating the missing measurement data using measurement data measured on days before and after the missing measurement data. Furthermore, the conversion unit 133 may perform pre-processing such as smoothing, normalization, and standardization as appropriate on the unit data, which is time-series data, to make the data easier to handle by machine learning.
[0064] When basal body temperature data for the number of days corresponding to the unit data is obtained from the user 20 who is the subject of prediction, the prediction unit 134 uses the prediction model to predict the next menstrual day of the user 20. Specifically, the prediction unit 134 inputs the unit data obtained from the user 20 into the prediction model, and outputs a score indicating whether or not the menstrual day will occur a predetermined number of days after the day the unit data was obtained.
[0065] The providing unit 135 provides the prediction result by the prediction unit 134 to the user 20. For example, the providing unit 135 transmits the result predicted by the prediction unit 134 to the user terminal 200. At this time, when a sign of approaching menstruation is observed in the prediction result, the providing unit 135 may display (notify) the user 20 with more emphasis than usual.
[0066] Furthermore, the providing unit 135 may transmit advice to the user based on the menstrual cycle predicted by the predicting unit 134. For example, the providing unit 135 may transmit advice regarding the physical condition of the user 20 estimated from the menstrual cycle or the possibility of pregnancy.
[0067] The providing unit 135 may transmit different advice for each user 20. For example, the providing unit 135 refers to past history (such as registration by the user 20) and acquires information that the user 20 tends to feel unwell a few days before the start of menstruation. In this case, the providing unit 135 may transmit to the user 20 advice indicating a date a few days before the predicted start of menstruation and suggesting that the user 20 may feel unwell during that period. On the other hand, the providing unit 135 may take measures such as not transmitting such advice to a user 20 who tends not to feel unwell a few days before the start of menstruation. Such processing for each user 20 can be automated by machine learning the behavioral history of each user, for example.
[0068] (1-3. Procedure of menstruation day prediction process according to the embodiment) The flow of processing by the above-mentioned prediction device 100 will be described with reference to Fig. 7 and Fig. 8. Fig. 7 is a flowchart showing the procedure of a model generation process according to the embodiment.
[0069] As shown in FIG. 7, the prediction device 100 acquires basal body temperature data to be used in the learning process from the user 15 (step S101).
[0070] The prediction device 100 sets the range of unit data and the prediction range (how far into the future the menstrual period should be predicted, or whether the data before and after the menstrual period itself should be included in the correct answer data, etc.) from the acquired basal body temperature data (for example, basal body temperature data for one or more cycles measured from the day including the previous menstrual period to the day including the next menstrual period), and generates teacher data (learning data) (step S102).
[0071] Thereafter, in order to smoothly proceed with the learning process, the prediction device 100 performs preliminary processing such as interpolation processing of missing basal body temperature data and normalization processing (step S103). In addition, in order to generate a highly accurate prediction model, the prediction device 100 converts the time series data into frequency data (step S104).
[0072] Then, the prediction device 100 performs a predetermined learning process to generate a prediction model (step S105). The prediction device 100 stores the generated prediction model in the storage unit 120 and ends the process. Note that the prediction device 100 may further generate a prediction model having a different range of unit data or a different prediction range.
[0073] Next, the flow of the prediction process will be described with reference to Fig. 8. Fig. 8 is a flowchart showing the procedure of the prediction process according to the embodiment.
[0074] As shown in Fig. 8, the prediction device 100 acquires basal body temperature data from the user 20, who is the target of prediction (step S201). Then, the prediction device 100 determines whether data required for prediction (data for unit data) has been accumulated (step S202). If data required for prediction has not been accumulated (step S202; No), the prediction device 100 waits until it acquires further basal body temperature data from the user 20.
[0075] On the other hand, if data necessary for prediction is collected (step S202; Yes), the prediction device 100 inputs the acquired data into the prediction model (step S203). Then, the prediction device 100 predicts the menstrual date based on the output score (step S204).
[0076] After that, the prediction device 100 provides the prediction result and advice to the user 20 (step S205).
[0077] (2. Modifications of the embodiment) In the above embodiment, an example has been shown in which the user terminal 200 according to the present disclosure acquires basal body temperature data measured by the measuring device 10. However, the user terminal 200 does not necessarily have to acquire the basal body temperature data from the measuring device 10. For example, the user terminal 200 may accept direct input from the user of basal body temperature data acquired by the user using a general thermometer, and handle the accepted data as input data or learning data.
[0078] In the embodiment, the user terminal 200 transmits the measurement data to the prediction device 100, and the prediction device 100 predicts the menstrual period. However, when the user terminal 200 has a prediction model, the user terminal 200 may predict the menstrual period of the user based on the basal body temperature data measured by the measurement device 10. That is, the process executed by the prediction device 100 in the embodiment may be executed by the user terminal 200.
[0079] In addition, in the embodiment, an example has been shown in which the prediction device 100 includes the storage unit 120 and stores the measurement data and the prediction model. However, these pieces of information may be stored in an external storage device other than the prediction device 100.
[0080] (3. Other embodiments) The processing according to the above-described embodiment may be implemented in various different forms other than the above embodiment.
[0081] For example, among the processes described in the above embodiments, all or part of the processes described as being performed automatically can be performed manually, or all or part of the processes described as being performed manually can be performed automatically by a known method. In addition, the information including the processing procedures, specific names, various data and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified. For example, the various information shown in each drawing is not limited to the illustrated information.
[0082] In addition, each component of each device shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure, and all or part of them can be functionally or physically distributed and integrated in any unit according to various loads, usage conditions, etc.
[0083] Furthermore, the above-described embodiments and modifications can be appropriately combined as long as the processing contents are not contradictory.
[0084] Furthermore, the effects described in this specification are merely examples and are not limiting, and other effects may also be obtained.
[0085] (4. Effects of the Menstrual Period Prediction Device According to the Present Disclosure) As described above, the menstruation prediction device according to the present disclosure (prediction device 100 in the embodiment) includes an acquisition unit (acquisition unit 131 in the embodiment), a learning unit (learning unit 132 in the embodiment), and a prediction unit (prediction unit 134 in the embodiment). The acquisition unit acquires unit data, which is basal body temperature data for a number of days that does not equal one menstrual cycle and is basal body temperature data measured on consecutive days. The learning unit uses the acquired unit data and correct answer data indicating whether a menstruation day has arrived a predetermined number of days after the unit data was measured as learning data, and generates a prediction model that predicts the next menstruation day from the basal body temperature data for a number of days corresponding to the unit data. When basal body temperature data for a number of days corresponding to the unit data is obtained from a user who is a prediction target, the prediction unit predicts the next menstruation day of the user using the prediction model.
[0086] In this way, the menstruation prediction device according to the present disclosure learns the trends (feature values) of the basal body temperature data of the user to be predicted for days that do not complete one cycle, and generates a prediction model. This allows the menstruation prediction device to predict menstruation dates even for users who do not have sufficient accumulated basal body temperature data.
[0087] The menstruation day prediction device may further include a conversion unit (conversion unit 133 in the embodiment) that performs a predetermined conversion process to use the unit data acquired by the acquisition unit as learning data. For example, the conversion unit converts the basal body temperature data constituting the unit data into frequency data. The learning unit generates a prediction model using the converted frequency data as learning data. If there is missing measurement data among the basal body temperature data constituting the unit data, the conversion unit may interpolate the missing measurement data using measurement data measured on dates before and after the missing measurement data. The conversion unit may pre-process the unit data using at least one of resampling, smoothing, normalization, and standardization of the basal body temperature data constituting the unit data.
[0088] In this way, the menstrual cycle prediction device may process data converted into a format suitable for extracting features or a format that is easy to handle in machine learning, rather than using the basal body temperature data and other numerical values obtained from the user. This allows the menstrual cycle prediction device to generate a more accurate model.
[0089] The learning unit may also generate a prediction model by applying different weighting to learning data in which the correct answer data is for a menstrual day and learning data in which the correct answer data is not for a menstrual day.
[0090] In this way, the menstruation day prediction device can improve the learning effect by weighting positive examples and negative examples, which are likely to have differences in the amount of learning data, and can generate a more accurate model.
[0091] (5. Hardware Configuration) The prediction device 100 and information devices such as the user terminal 200 according to the above-described embodiments are realized by a computer 1000 having a configuration as shown in FIG. 9, for example. The prediction device 100 according to the embodiment will be described below as an example. FIG. 9 is a hardware configuration diagram showing an example of the computer 1000 that realizes the functions of the prediction device 100. The computer 1000 has a CPU 1100, a RAM 1200, a ROM (Read Only Memory) 1300, a HDD (Hard Disk Drive) 1400, a communication interface 1500, and an input / output interface 1600. The various components of the computer 1000 are connected by a bus 1050.
[0092] The CPU 1100 operates and controls each unit based on programs stored in the ROM 1300 or the HDD 1400. For example, the CPU 1100 loads the programs stored in the ROM 1300 or the HDD 1400 into the RAM 1200 and executes processes corresponding to the various programs.
[0093] The ROM 1300 stores boot programs such as a basic input output system (BIOS) executed by the CPU 1100 when the computer 1000 is started, and programs that depend on the hardware of the computer 1000.
[0094] The HDD 1400 is a computer-readable recording medium that non-temporarily records programs executed by the CPU 1100 and data used by such programs. Specifically, the HDD 1400 is a recording medium that records a program for executing a menstruation day prediction process according to the present disclosure, which is an example of program data 1450.
[0095] The communication interface 1500 is an interface for connecting the computer 1000 to an external network 1550 (e.g., the Internet). For example, the CPU 1100 receives data from other devices and transmits data generated by the CPU 1100 to other devices via the communication interface 1500.
[0096] The input / output interface 1600 is an interface for connecting the input / output device 1650 and the computer 1000. For example, the CPU 1100 receives data from an input device such as a keyboard or a mouse via the input / output interface 1600. The CPU 1100 also transmits data to an output device such as a display, a speaker, or a printer via the input / output interface 1600. The input / output interface 1600 may also function as a media interface for reading a program or the like recorded on a predetermined recording medium. The medium may be, for example, an optical recording medium such as a DVD (Digital Versatile Disc) or a PD (Phase change rewritable Disk), a magneto-optical recording medium such as an MO (Magneto-Optical disk), a tape medium, a magnetic recording medium, or a semiconductor memory.
[0097] For example, when the computer 1000 functions as the prediction device 100 according to the embodiment, the CPU 1100 of the computer 1000 executes a menstruation day prediction processing program loaded onto the RAM 1200, thereby realizing functions of the control unit 130, etc. Also, the HDD 1400 stores a program for executing the menstruation day prediction processing according to the present disclosure and data in the storage unit 120. Note that the CPU 1100 reads and executes the program data 1450 from the HDD 1400, but as another example, these programs may be obtained from other devices via an external network 1550.
[0098] The above describes the embodiments of the present application in detail based on the drawings. However, these are merely examples, and the present invention can be embodied in other forms that include the aspects described in the Disclosure of the Invention section, as well as in other forms that include various modifications and improvements based on the knowledge of those skilled in the art. [Explanation of symbols]
[0099] 1. Period Prediction System 10. Measuring Devices 100 Prediction Device 110 Communications Department 120 Storage section 121 Measurement data storage unit 122 Model Memory Section 130 Control section 131 Acquisition Department 132 Learning Department 133 Conversion Unit 134 Prediction Department 135 Provision Department 200 User terminals
Claims
1. an acquisition unit for acquiring unit data which is basal body temperature data for a period of less than one menstrual cycle and which is basal body temperature data measured on consecutive days; a learning unit that uses the acquired unit data and correct answer data indicating whether the menstrual period has occurred a predetermined number of days after the measurement of the unit data as learning data to generate a prediction model that predicts the next menstrual period from the basal body temperature data for the number of days corresponding to the unit data; a prediction unit that predicts the next menstrual date of a user, who is a prediction target, using the prediction model when basal body temperature data for a number of days corresponding to the unit data is obtained from the user; A menstruation day prediction device comprising:
2. A conversion unit that performs a predetermined conversion process on the unit data acquired by the acquisition unit so as to use the unit data as the learning data, The conversion unit is The basal body temperature data constituting the unit data is converted into frequency data; The learning unit is generating the prediction model using the converted frequency data as the learning data; 2. The menstruation day prediction device according to claim 1 .
3. The conversion unit is When there is missing measurement data among the basal body temperature data constituting the unit data, the missing measurement data is interpolated using measurement data measured on a date before or after the missing measurement data, or the unit data is pre-processed using at least one of resampling, smoothing, normalization, and standardization of the basal body temperature data constituting the unit data.
3. The menstruation day prediction device according to claim 2.
4. The learning unit is and generating the prediction model by weighting the learning data in which the correct answer data is on a menstrual day differently from the learning data in which the correct answer data is on a non-menstrual day.
2. The menstruation day prediction device according to claim 1 .
5. The computer Acquire unit data which is basal body temperature data measured on consecutive days, the unit data being basal body temperature data for a period not exceeding one menstrual cycle; using the acquired unit data and correct answer data indicating whether the menstrual period has occurred a predetermined number of days after the measurement of the unit data as learning data, a prediction model is generated to predict the next menstrual period from the basal body temperature data for the number of days corresponding to the unit data; When basal body temperature data for a number of days corresponding to the unit data is obtained from a user who is a prediction target, the prediction model is used to predict the next menstrual date of the user. A method for predicting a period, comprising:
6. Computer, an acquisition unit for acquiring unit data which is basal body temperature data for a period of less than one menstrual cycle and which is basal body temperature data measured on consecutive days; a learning unit that uses the acquired unit data and correct answer data indicating whether the menstrual period has occurred a predetermined number of days after the measurement of the unit data as learning data to generate a prediction model that predicts the next menstrual period from the basal body temperature data for the number of days corresponding to the unit data; a prediction unit that predicts the next menstrual date of a user, who is a prediction target, using the prediction model when basal body temperature data for a number of days corresponding to the unit data is obtained from the user; A menstruation day prediction program characterized by causing the program to function as a menstruation day prediction device comprising:
Citation Information
Patent Citations
JP1973024372B1
Information processing device, information processing method, and information processing program
WO2015079526A1
