Menstruation date prediction device, menstruation date prediction method and menstruation date prediction program
The menstrual day prediction device addresses individual variability in menstrual cycles by classifying basal body temperature trends and selecting appropriate models, ensuring accurate menstrual date predictions.
Patent Information
- Application Number
- JP2023041282
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-15
- Publication Date
- 2024-09-30
AI Technical Summary
Existing methods for predicting menstrual cycles face challenges due to large individual differences in menstrual cycles and basal body temperature trends, leading to inaccurate predictions for specific individuals.
A menstrual day prediction device that acquires basal body temperature data, classifies its trend into predefined types, and selects from multiple trained models tailored to these trends to predict menstrual dates accurately.
Enables precise prediction of menstrual cycles for individuals with varying basal body temperature patterns, improving accuracy by using general-purpose and user-specific models.
Smart Images

Figure 2024131180000001_ABST
Abstract
Description
[Technical Field]
[0001] The present disclosure relates to a menstruation day prediction device, a menstruation day prediction method, and a menstruation day prediction program. [Background technology]
[0002] By predicting the menstrual cycle (period dates), women can accurately estimate the day of ovulation, increase the chances 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 in which the ovulation date is estimated 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 1 below). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] International Publication No. 2015 / 079526 Summary of the Invention [Problem to be solved by the invention]
[0005] However, menstrual cycles vary greatly from person to person, and the trends in basal body temperature data also vary from person to person. For this reason, even if a formula (model) for predicting menstrual cycles is generated from many samples, it may not be applicable to the person being predicted. In other words, depending on the person being predicted, the accuracy of the prediction formula may be low, and the menstrual date and menstrual cycle may not be predicted accurately.
[0006] Therefore, the present disclosure proposes a menstruation day prediction device, a menstruation day prediction method, and a menstruation day prediction program that are capable of predicting menstruation days with high accuracy regardless of the person being predicted. [Means for solving the problem]
[0007] In order to solve the above problems, the menstrual day prediction device of the present disclosure is characterized by comprising an acquisition unit that acquires basal body temperature data during a menstrual cycle from a user who is the subject of prediction; a determination unit that determines whether the tendency indicated by the acquired basal body temperature data falls into one of a plurality of predefined types; and a prediction unit that selects one of a plurality of trained models trained for each of the plurality of types based on the result of the determination, and predicts the user's menstrual day based on the basal body temperature data. [Effects of the Invention]
[0008] According to one aspect of the embodiment, it is possible to predict the menstrual period with high accuracy regardless of the person being predicted. [Brief explanation of the drawings]
[0009] [Figure 1] FIG. 10 is a diagram illustrating a flow of a menstruation day prediction process according to an embodiment. [Figure 2] FIG. 1 is a diagram (1) showing an example of a model generation process according to an embodiment. [Figure 3] FIG. 10 is a diagram (2) showing an example of the model generation process according to the embodiment. [Figure 4] FIG. 3 is a diagram showing an example of a model generation process according to the embodiment. [Figure 5] FIG. 4 is a diagram (4) showing an example of a model generation process according to the embodiment. [Figure 6] FIG. 5 is a diagram (5) showing an example of a model generation process according to the embodiment. [Figure 7] 10 is a flowchart illustrating a procedure of a prediction process according to the embodiment. [Figure 8] FIG. 1 is a diagram illustrating an example of the configuration of a prediction device according to an embodiment. [Figure 9] FIG. 10 is a diagram illustrating a prediction process according to the embodiment. [Figure 10] FIG. 1 is a diagram (1) for explaining a determination process according to an embodiment. [Figure 11] FIG. 10 is a diagram (2) for explaining the determination process according to the embodiment. [Figure 12] 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 INVENTION
[0010] 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 redundant description will be omitted.
[0011] (1. Embodiment) (1-1. Overview of menstruation day prediction process according to the embodiment) Fig. 1 is a diagram schematically showing the flow of a menstruation day prediction process 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 measurement device 10, which is an example of a menstruation day prediction device according to the present disclosure, a prediction device 100, and a user terminal 200. The devices included in the menstruation day prediction system 1 can send and receive data to and from each other via wireless communication or the like.
[0012] The measuring device 10 is a device used by the user 15 who is the target of menstruation prediction processing, and is a measuring instrument with a function to measure the user's biological information. 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). Specifically, the measuring device 10 measures the basal body temperature of the user 15 and stores the measured daily basal body temperature. Note that basal body temperature is the body temperature when the user is in a resting state, consuming only the minimum amount of energy necessary to maintain life. Generally, it refers to the body temperature measured with a thermometer while lying down upon waking up in the morning. The measuring device 10 may measure the basal body temperature itself, or may measure the user's skin temperature. For example, 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 measure the calculated data. The measuring device 10 may also measure the user's heart rate and other data as biological information.
[0013] The user terminal 200 is a terminal device used by the user 15, such as a smartphone or tablet terminal. For example, an app for controlling the measurement device 10 is installed on the user terminal 200. The user 15 can control the measurement device 10 and refer to basal body temperature data measured by the measurement device 10 by using the app running on the user terminal 200. The user terminal 200 also acquires 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 prediction results from the prediction device 100 from the prediction device 100. The user 15 can refer to the prediction results from the prediction device 100 via the user terminal 200. Note that, as described above, if the measurement device 10 measures results calculated by calculation to obtain data similar to basal body temperature using data on skin temperature and ambient air temperature, the basal body temperature data may be data obtained by collecting such calculation results. In other words, the basal body temperature data is not necessarily limited to a series of accumulated data on basal body temperature, but may be data having a temperature change pattern similar to that of basal body temperature.
[0014] 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 menstrual dates and menstrual cycles of a user 15 based on the acquired basal body temperature data. For example, the prediction device 100 is a cloud server or the like.
[0015] In the description of the embodiment, user 15 is a general term for a user who transmits basal body temperature data to the prediction device 100 and obtains a prediction result for their menstrual period based on the transmitted data. Although not shown in the embodiment, it is assumed that there are many other users who use the measurement device 10 in addition to user 15. The prediction device 100 acquires basal body temperature data from these many users as needed and uses the acquired data as learning data to generate various prediction models, which will be described later. In the following description, when there is no need to distinguish between user 15 and other users, they will be collectively referred to simply as users.
[0016] As described above, the prediction device 100 predicts the menstrual period of the user 15, i.e., the menstrual cycle. The menstrual cycle is cyclical, with a high temperature period due to the influence of hormones secreted in association with ovulation, followed by a low temperature period after the start of menstruation (monthly period). For this reason, by statistically processing basal body temperature data, it is possible to predict the pattern of the menstrual cycle to some extent.
[0017] In this regard, basal body temperature is not always measured accurately. Typically, users measure their basal body temperature using a thermometer when they wake up, but it is difficult for users to measure their basal body temperature at the same time every day, and they may forget to measure or the data obtained may be unreliable depending on the measurement conditions. However, by measuring using a dedicated wearable device such as the measuring device 10, it is possible to continuously obtain highly reliable data.
[0018] However, basal body temperature data acquired during the menstrual cycle has different tendencies for each individual, and does not necessarily have biphasic data, i.e., a high-temperature period and a low-temperature period. Therefore, if a trained model generated using biphasic basal body temperature data as training data is used to make predictions for a user who does not have a biphasic tendency, the accuracy of predicting menstrual dates and menstrual cycles may decrease. In other words, the menstrual date prediction process faces the challenge of predicting menstrual dates with high accuracy regardless of the tendency of the basal body temperature data acquired from the person being predicted.
[0019] Therefore, the prediction device 100 according to the embodiment has the configuration described below and solves the above problem. Specifically, the prediction device 100 determines whether the tendency indicated by the basal body temperature data acquired from the user 15 who is the prediction target falls into one of a plurality of pre-classified types. Then, depending on the determination result, the prediction device 100 selects one of a plurality of trained models trained for each of the plurality of types, and predicts the menstrual date of the user 15 based on the basal body temperature data.
[0020] That is, the prediction device 100 prepares a plurality of models in advance according to the trends of basal body temperature data as prediction models for predicting menstrual days, and performs prediction processing by selecting one model according to the trend of the basal body temperature data obtained from the user 15. In this way, the prediction device 100 predicts the basal body temperature data of the prediction target person using a model trained with learning data similar to the trend, thereby enabling highly accurate prediction.
[0021] A trained model for predicting menstruation dates is typically generated using one cycle's worth of basal body temperature data acquired in the past as training data. However, depending on the machine learning technique, a trained model for predicting menstruation dates can be generated without using one cycle's worth of basal body temperature data. For example, when using regression prediction to predict that menstruation dates will occur seven days from now, data up to seven days before the menstruation date is sufficient, and when predicting that menstruation dates will occur three days from now, data up to three days before the menstruation date is sufficient. When the basal body temperature data acquired from the user 15 contains data for one cycle, the prediction device 100 can make a more accurate prediction using the model. However, when the data does not contain enough data for one cycle, it may be difficult to make an accurate prediction.
[0022] Therefore, when data less than one cycle's worth of data is acquired, it is preferable for the prediction device 100 to apply a general-purpose model that has not been trained for each trend. Furthermore, the prediction device 100 can generate an individual prediction model tailored to the user 15 by re-training the model using the basal body temperature data of the user 15 used for the prediction, depending on the results of the prediction process. The prediction device 100 can achieve high prediction accuracy regardless of the trend in the basal body temperature data by gradually or selectively using the general-purpose model, the trend-based model, and the individual prediction model according to the user 15's condition. Note that even when data less than one cycle's worth of data is acquired, the prediction device 100 may select one of multiple trained models trained for multiple types if, for example, the data covers approximately 90% of the menstrual cycle and is not expected to affect prediction accuracy.
[0023] Hereinafter, an outline of the prediction process performed by the menstruation day prediction system 1 will be described with reference to FIGS.
[0024] In the menstruation day prediction process according to the embodiment, the measurement device 10 continuously measures the basal body temperature data of the user (step S1). The measurement device 10 sequentially or periodically transmits the measured data to the user terminal 200 (step S2).
[0025] The user terminal 200 sequentially or periodically transmits the data measured by the measuring device 10 to the prediction apparatus 100 (step S3).
[0026] 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 value and the measurement date, as in graph 30 shown in Fig. 1. If the user 15 is able to recognize their menstrual period, they can include the date of their menstrual period in the basal body temperature data by registering data indicating the date of their menstrual period.
[0027] For example, graph 30 shows basal body temperature data for 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.
[0028] The prediction device 100 stores the acquired basal body temperature data (measurement data obtained by the measurement device 10) in the database 40, and predicts the next menstrual date of the user 15 based on the acquired basal body temperature data (step S4).
[0029] As described above, the prediction device 100 has multiple trained models, and selects a trained model to use for prediction depending on the circumstances when the basal body temperature data is obtained from the user 15 and the tendency of the basal body temperature data, and performs the prediction process.
[0030] The prediction device 100 outputs a prediction result from the prediction model. For example, the prediction device 100 outputs the next menstruation start date or ovulation date of the user 15 as a prediction result, which are derived from the acquired measurement data. The prediction device 100 transmits the output result to the user terminal 200 (step S5). At this time, the prediction device 100 may control the content displayed in an app on the user terminal 200. For example, the prediction device 100 controls the app to display a message such as "The start date of your next menstruation is XX month YY day."
[0031] In this way, the prediction device 100 acquires basal body temperature data from the user 15 and predicts the next menstrual date, menstrual cycle, etc. of the user 15 based on the acquired data. Because the measurement device 10 continuously acquires basal body temperature data every day, the user 15 can continuously receive information about their menstrual cycle, etc. from the prediction device 100 simply by wearing the measurement device 10 while sleeping.
[0032] Next, the multiple trained models that the prediction device 100 has will be described with reference to FIG. 2 and subsequent drawings.
[0033] Fig. 2 is a diagram (1) showing an example of a model generation process according to an embodiment. Fig. 2 shows an example in which the prediction device 100 learns using basal body temperature data acquired from all users, regardless of the trend of the learning data, and generates a generally usable prediction model (hereinafter referred to as a "first model").
[0034] The prediction device 100 generates the first model 50 using as training data all kinds of data, including data that may or may not exhibit biphasic behavior, such as the basal body temperature data shown in graphs 301, 302, 303, and 304. For example, data such as graph 301 is data that includes one cycle of basal body temperature data and menstrual days (number of days in the menstrual cycle).
[0035] The model generated by the prediction device 100 may be of any type and may be learned by any known method, as long as it is a model that predicts the date of menstruation based on input basal body temperature data. For example, one example of a model is a model that, when basal body temperature data for a certain number of days is input from a prediction target, outputs the next date of menstruation of the prediction target.
[0036] The first model 50 shown in FIG. 2 is used in prediction processing when, for example, the basal body temperature data acquired from the prediction subject does not cover one cycle and a tendency such as biphasic cannot be determined.
[0037] Next, the generation of a model by trend will be described using Figure 3 and subsequent figures. Figure 3 is a diagram (2) showing an example of the model generation process according to the embodiment. Figure 3 shows an example in which the prediction device 100 learns using basal body temperature data that tends to be biphasic, and generates a prediction model (hereinafter referred to as "second model A type") that is selected when basal body temperature data that tends to be biphasic is acquired.
[0038] 3 to 5, when the prediction device 100 acquires basal body temperature data as learning data from a user, it classifies the basal body temperature data into Type A (data with a clear biphasic pattern), Type B (data characterized by a low temperature period), or Type C (data with an unclear trend), which will be described later. The classification will be described in detail later, but the prediction device 100 defines multiple categories (in this embodiment, three types: A, B, and C) in advance according to the trends indicated by the waveform, and determines which type the learning data falls into.
[0039] In the example of Figure 3, the prediction device 100 generates a second model 60A (Type A) using as learning data data that has a clear biphasic pattern showing a low temperature period and a high temperature period, such as the basal body temperature data shown in graphs 305, 306, and 307 (Type A).
[0040] The second model 60A shown in Figure 3 is selected, for example, when the basal body temperature data obtained from the person being predicted is data for one cycle and is determined to be data that is clearly biphasic, and is used in the prediction processing of the data.
[0041] Next, another example of the second model will be described with reference to Fig. 4. Fig. 4 is a diagram (3) showing an example of the model generation process according to the embodiment. Fig. 4 shows an example in which the prediction device 100 learns using basal body temperature data that has a biphasic tendency and that exhibits a characteristic of having one peak in the low temperature period, and generates a prediction model (hereinafter referred to as "second model type B") that is selected when basal body temperature data that exhibits this tendency is acquired.
[0042] In the example of Figure 4, the prediction device 100 generates a second model 60B (Type B) using as learning data data that has a biphasic pattern showing a low temperature period and a high temperature period, such as the basal body temperature data shown in graphs 310, 311, and 312, and that shows characteristics in the low temperature period (Type B).
[0043] The second model 60B shown in Figure 4 is selected, for example, when the basal body temperature data obtained from the person being predicted is determined to be data for one cycle and to be biphasic data with one peak in the low temperature period, and is used in the prediction processing of the data.
[0044] Next, another example of the second model will be described with reference to Fig. 5. Fig. 5 is a diagram (4) showing an example of the model generation process according to the embodiment. Fig. 5 shows an example in which the prediction device 100 learns using basal body temperature data that does not have a biphasic tendency, and generates a prediction model (hereinafter referred to as "second model C type") that is selected when basal body temperature data that has such a tendency is acquired.
[0045] In the example of Figure 5, the prediction device 100 generates a second model 60C (Type C) using data (Type C) that does not show biphasic patterns showing low and high temperature periods, such as the basal body temperature data shown in graphs 315, 316, and 317, as learning data.
[0046] The second model 60C shown in Figure 5 is selected, for example, when it is determined that the basal body temperature data obtained from the person being predicted is data for one cycle and does not show a biphasic tendency of a low temperature period and a high temperature period, and is used in the prediction processing of the data.
[0047] Next, generation of a model that performs individual prediction for each user will be described with reference to Fig. 6. Fig. 6 is a diagram (5) showing an example of a model generation process according to an embodiment. Fig. 6 shows an example in which the prediction device 100 re-learns an existing type-specific prediction model 65 using basal body temperature data acquired from a specific user (user 15 in the example of Fig. 6) to generate a prediction model dedicated to that user (hereinafter referred to as a "third model").
[0048] 6, it is assumed that the prediction device 100 has already generated a second model such as those shown in FIGS. 3 to 5 as the type-specific prediction model 65. In this case, when basal body temperature data 320 is acquired from the user 15, the prediction device 100 selects the second model trained with training data that tends to be similar to the basal body temperature data 320 and makes a prediction.
[0049] The prediction device 100 then receives feedback from the user 15 and obtains a result indicating whether the predicted menstrual days matched the actual results. As described above, menstrual cycles vary from person to person, and therefore, even if a prediction model generated using training data with similar trends is used, the prediction may be incorrect. If feedback indicating that the prediction was incorrect is received, the prediction device 100 performs re-learning using the second model and basal body temperature data obtainable from the user 15. That is, the prediction device 100 generates a third model applicable only to the user 15 by tuning (adjusting) the current second model in accordance with the user 15. At this time, the prediction device 100 uses, as additional training data, basal body temperature data having the menstrual days (menstrual cycle) registered by the user 15 as correct answer data. This allows the prediction device 100 to generate a third model 70, which is a prediction model that is more specialized for the user 15's tendencies than the second model. Note that various known re-learning methods can be applied.
[0050] As described above, the prediction device 100 generates in advance the first model 50 and the second model 60A, 60B, and 60C used to predict menstruation days. Furthermore, when the prediction device 100 needs to improve prediction accuracy for the user 15, it generates the third model 70, which is a model specialized for the user 15. By using these multiple trained models, the prediction device 100 can select a model trained in accordance with the trend of the input basal body temperature data to perform the prediction process, thereby improving the prediction accuracy. Furthermore, even if the basal body temperature data to be predicted does not cover one cycle, the prediction device 100 can perform the prediction process by selecting the first model 50, which is a general-purpose model trained including training data covering less than one cycle.
[0051] 1 to 6, the prediction device 100 according to the embodiment selects different prediction models to make predictions depending on trends and the like indicated by data acquired from the user 15. This allows the prediction device 100 to make accurate predictions tailored to individual users.
[0052] (1-2. Procedure of menstruation day prediction process according to the embodiment) The flow of the above-mentioned selection of a trained model and prediction processing will be described with reference to Fig. 7. Fig. 7 is a flowchart showing the procedure of the prediction processing according to the embodiment.
[0053] As shown in FIG. 7, the prediction device 100 acquires basal body temperature data to be used in the prediction process from the user 15 who is the target of prediction (step S101).
[0054] The prediction device 100 determines whether the acquired data includes data for one cycle (step S102). For example, the prediction device 100 determines whether the number of days for which basal body temperature data has been collected is a predetermined number or less (e.g., 27 days or less), or whether the acquired data covers one cycle based on waveform analysis of the basal body temperature data, etc.
[0055] If the acquired data does not cover one cycle (step S102; No), the prediction device 100 does not classify the data by waveform, but instead predicts the next menstrual date of the user 15 using a general-purpose model (first model 50) (step S103). When the prediction device 100 makes a prediction, it transmits the prediction result to the user terminal 200 so that the user 15 can refer to the prediction result on the app.
[0056] On the other hand, if the acquired data includes data for one cycle (Step S102; Yes), the prediction device 100 determines whether or not an individual prediction model generated for the person to be predicted exists (Step S104).
[0057] If an individual prediction model is available (Step S104; Yes), the prediction device 100 performs prediction processing using the individual prediction model for the user 15 (Step S105). In this case, the prediction device 100 may further perform re-learning on the individual prediction model using the acquired data (Step S106).
[0058] On the other hand, if there is no individual prediction model (step S104; No), the prediction device 100 determines the type of the person to be predicted based on the acquired data (step S107). For example, the prediction device 100 determines which of the three types shown in Figures 3 to 5 the acquired data belongs to based on the similarity of the waveforms of the acquired data.
[0059] Next, the prediction device 100 executes a prediction process using one of the type-specific prediction models to which the acquired data corresponds (step S108).
[0060] Thereafter, the prediction device 100 determines whether the prediction matches the result based on feedback from the user 15 (step S109). If the prediction does not match the result (step S109; No), the selected type-specific prediction model may not be suitable for the user 15. Therefore, the prediction device 100 performs additional learning (relearning) on the type-specific prediction model using the acquired data (step S110). Then, the prediction device 100 generates an individual prediction model corresponding to the user 15 (step S111). At this time, the prediction device 100 may request the user 15 to transmit not only the data acquired in step S101 but also other measurement data possessed by the user 15. This allows the prediction device 100 to perform re-learning based on the basal body temperature data of a larger number of users 15, thereby improving the accuracy of the individual prediction model.
[0061] If the prediction and the result match (step S109; Yes), the prediction device 100 determines that the selected type-specific prediction model is suitable for the user 15, and does not need to generate an individual prediction model.
[0062] In this embodiment, an example is shown in which whether to use a general-purpose model is selected depending on whether the data acquired from the person to be predicted is for one cycle or more, but the processing procedure is not limited to this example. For example, when the data for one cycle satisfies a predetermined proportion (e.g., 90% or more), the prediction device 100 may determine the tendency of the data and then apply one of the type-specific prediction models to make a prediction.
[0063] (1-3. Configuration of the 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. 8 is a diagram showing an example of the configuration of the prediction device 100 according to the embodiment.
[0064] 8, the prediction device 100 includes a communication unit 110, a storage unit 120, and a control unit 130. The prediction device 100 may also include an input unit (e.g., a keyboard, a mouse, etc.) that accepts various operations from an administrator or the like who manages the prediction device 100, and a display unit (e.g., a liquid crystal display, etc.) that displays various information.
[0065] 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, etc. 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 SIM (Subscriber Identity Module), or an LPWA (Low Power Wide Area).
[0066] 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.
[0067] 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 the prediction model in the prediction process.
[0068] In principle, the basal body temperature data is data for one menstrual cycle. However, as described above, the prediction device 100 can use data for less than one cycle as data to be input into the prediction model.
[0069] This point will be explained using FIG. 9. FIG. 9 is a diagram for explaining the prediction process according to the embodiment. A graph 330 shown in FIG. 9 shows basal body temperature data for one cycle. Depending on the data acquisition status from the user, only part of the data for one cycle may be acquired from the graph 330, such as partial data 340. For example, if the number of days of one menstrual cycle has not yet elapsed since the user began using the measuring device 10, data such as partial data 340 is transmitted from the user terminal 200 to the prediction device 100.
[0070] In such a case, the prediction device 100 predicts the next menstruation date based on the partial data 340 by using the first model 50, which is a general-purpose model. For example, if the prediction device 100 can extract a feature based on a certain tendency of an increase or decrease in body temperature from the partial data 340, the prediction device 100 can make a prediction using the prediction model. The prediction device 100 may determine the reliability of the result output from the prediction model, and if the reliability does not meet a predetermined standard, may notify the user that a prediction is not possible. In this case, the prediction device 100 may wait until a certain amount of basal body temperature data transmitted from the user has been accumulated (for example, until data for at least half a cycle has been accumulated), and then perform the prediction process.
[0071] The model storage unit 122 stores prediction models used by the prediction device 100. For example, the model storage unit 122 stores a first model 50 randomly learned from various collected basal body temperature data, a second model 60A learned for each type of waveform, a third model 70 learned for each user, etc. The prediction device 100 may re-learn and update the prediction models stored in the model storage unit 122 at predetermined intervals or whenever a predetermined amount of learned data is accumulated.
[0072] 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 work 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).
[0073] As shown in FIG. 8, the control unit 130 includes an acquisition unit 131, a determination unit 132, a prediction unit 133, a learning unit 134, and an output unit 135.
[0074] 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 measurement device 10. For example, 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, at a fixed time every day, etc.
[0075] When acquiring basal body temperature data for one cycle, the acquisition unit 131 may acquire data in which menstrual days are manually registered by the user. In this case, the prediction device 100 can use the basal body temperature data as training data, with the menstrual days being the correct answer. 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 time when the user registers that they have observed the start of their menstruation.
[0076] 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 this information by accepting input from the user, for example, through user registration in an app. Furthermore, if the measurement 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.
[0077] When basal body temperature data is acquired from a user who is a prediction target, the determination unit 132 determines whether the tendency indicated by the acquired basal body temperature data is classified into one of a plurality of predefined types.
[0078] The determination unit 132 can classify the trends indicated by the basal body temperature data into multiple types using various known methods. This point will be explained using Figures 10 and 11. Figure 10 is a diagram (1) for explaining the determination process according to the embodiment. Also, Figure 11 is a diagram (2) for explaining the determination process according to the embodiment.
[0079] For example, when determining the similarity between waveform A and waveform B shown in Fig. 10, the determination unit 132 calculates the Euclidean distance or Manhattan distance at each corresponding point i, as shown in graph 350. Then, the determination unit 132 may calculate the similarity between waveform A and waveform B based on the calculated distance.
[0080] Alternatively, the determination unit 132 may use a method such as DTW (Dynamic Time Warping), which calculates the distance (absolute value of error) between each point of two time series (point i and point (i+2) in the example of FIG. 10) in a round-robin manner, as shown in graph 351, and then finds the shortest path between the two time series after all the calculations have been completed. Using this method, the determination unit 132 can determine the similarity between waveform A and waveform B even if the time series have different lengths or periods. Note that this method is merely an example, and the determination unit 132 can classify basal body temperature data into multiple types using a variety of different methods.
[0081] The determination unit 132 defines multiple types using a so-called clustering technique that classifies basal body temperature data according to the degree of similarity according to the above-mentioned technique. At this time, the determination unit 132 may calculate a centroid waveform 361 from a large number of pieces of original data belonging to each cluster, as shown in graph 360 in Fig. 11, for example. For example, when the determination unit 132 acquires the basal body temperature data of the person to be predicted, it calculates the degree of similarity with the centroid waveform 361 of each cluster (type) and determines to classify the basal body temperature data of the person to be predicted into the cluster with the highest degree of similarity.
[0082] If an individual prediction model for the user corresponding to the acquired basal body temperature data exists, the determination unit 132 does not need to determine which type the tendency indicated by the acquired basal body temperature data falls into, because in this case, the subsequent prediction unit 133 uses the individual prediction model for prediction processing.
[0083] The prediction unit 133 selects one of a plurality of learned models trained for each of a plurality of types according to the result of the judgment by the judgment unit 132, and predicts the menstrual date of the user 15, who is the subject of prediction, based on the basal body temperature data.
[0084] In this case, the multiple trained models are models generated by machine learning using training data that is obtained by clustering the basal body temperature data, which is training data, based on the similarity of waveform shapes showing the daily changes in basal body temperature, and using the clustered basal body temperature data as training data classified by type, as shown in Figures 3 to 5. In the embodiment, the multiple trained models trained for multiple types are second model 60A, second model 60B, and second model 60C. The multiple trained models are not limited to three types, and prediction device 100 may generate more trained models depending on the clustering method used to classify waveforms.
[0085] If the determination unit 132 cannot determine the trend indicated by the acquired basal body temperature data, the prediction unit 133 does not select one of the multiple trained models trained for each type, but selects another trained model trained for general purposes to predict the menstrual day of the user 15. Specifically, the prediction unit 133 predicts the menstrual day of the user 15 using the first model 50 trained for general purposes.
[0086] Furthermore, if there is an individual prediction model that has been re-learned in accordance with the user 15, the prediction unit 133 selects the individual prediction model and predicts the menstrual date of the user 15.
[0087] The learning unit 134 selects one of a plurality of learned models trained for each of a plurality of types and makes a prediction, and then re-learns the learned model used for the prediction in accordance with the tendencies of the user 15 using the basal body temperature data of the user 15.
[0088] For example, if the learning unit 134 receives feedback from the user 15 that the prediction was incorrect after making a prediction using a type-specific prediction model, the learning unit 134 re-learns the type-specific prediction model using the basal body temperature data of the user 15 and the true menstrual date registered by the user 15 as a learning dataset. In other words, the learning unit 134 generates a prediction model for the user 15 that is in line with the tendency indicated by the basal body temperature data of the user 15.
[0089] The output unit 135 outputs the result predicted by the prediction unit 133. For example, the output unit 135 transmits the prediction result to the user terminal 200.
[0090] (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 measurement device 10. However, the user terminal 200 does not necessarily acquire basal body temperature data from the measurement device 10. For example, the user terminal 200 may accept direct input from the user 15 of basal body temperature data acquired by the user 15 using a general thermometer, and treat the accepted data as input data or learning data.
[0091] In the embodiment, the user terminal 200 transmits measurement data to the prediction device 100, and the prediction device 100 predicts the menstrual period. However, if the user terminal 200 has a prediction model, the user terminal 200 may predict the menstrual period of the user 15 based on basal body temperature data measured by the measuring device 10. In other words, the processing performed by the prediction device 100 in the embodiment may be performed by the user terminal 200.
[0092] For example, the user terminal 200 may generate or store an individual prediction model for the user 15 who owns the user terminal 200. Generally, in machine learning, the number of processing steps required for updating a model through additional learning is smaller than generating a trained model from scratch. Therefore, even a user terminal 200 such as a smartphone, which is expected to have lower processing power than the prediction device 100, can generate (re-learn) an individual prediction model. When the user terminal 200 has an individual prediction model, the user terminal 200 can execute processing such as predicting the next menstrual date of the user 15 without communicating with the prediction device 100, which is a cloud server. This allows the user 15 to obtain prediction results more quickly. Furthermore, in the menstrual date prediction system 1, data transmission and reception to and from a server and prediction processing on the server can be omitted, thereby reducing the overall processing load.
[0093] Furthermore, in the embodiment, an example has been shown in which the prediction device 100 includes the storage unit 120 and stores measurement data and a prediction model, but these pieces of information may be stored in an external storage device other than the prediction device 100.
[0094] (3. Other embodiments) The processing according to the above-described embodiment may be implemented in various different forms other than the above embodiment.
[0095] 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 using a known method. Furthermore, the information including the processing procedures, specific names, various data, and parameters shown in the above documents and drawings can be changed as desired unless otherwise specified. For example, the various information shown in each drawing is not limited to the information shown in the drawings.
[0096] Furthermore, the components of each device shown in the figure are conceptual functional components and do 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 depending on various loads, usage conditions, etc.
[0097] Furthermore, the above-described embodiments and modifications can be combined as appropriate within the scope of not causing any contradiction in the processing content.
[0098] Furthermore, the effects described in this specification are merely examples and are not limiting, and other effects may also be present.
[0099] (4. Effects of the menstrual period prediction device according to the present disclosure) As described above, the menstruation day prediction device (prediction device 100 in the embodiment) according to the present disclosure includes an acquisition unit (acquisition unit 131 in the embodiment), a determination unit (determination unit 132 in the embodiment), and a prediction unit (prediction unit 133 in the embodiment). The acquisition unit acquires basal body temperature data for a menstrual cycle from a user who is the target of prediction. The determination unit determines whether the trend indicated by the acquired basal body temperature data falls into one of a plurality of predefined types. Depending on the determination result, the prediction unit selects one of a plurality of trained models trained for each of the plurality of types, and predicts the user's menstruation day based on the basal body temperature data.
[0100] In this way, the menstruation prediction device according to the present disclosure predicts menstruation days by selectively using multiple prediction models depending on the trends observed in the basal body temperature data of the user to be predicted. This allows the menstruation prediction device to accurately predict menstruation days even for users with unusual characteristics, such as basal body temperature data that is not biphasic. In other words, the menstruation prediction device can make predictions that are appropriate for each person to be predicted, regardless of the data acquisition status of the person to be predicted or differences in the menstrual cycle characteristics of each person to be predicted.
[0101] Furthermore, if the prediction unit is unable to determine the trend indicated by the acquired basal body temperature data, it does not select one of the multiple trained models trained for each of the multiple types, but instead selects another trained model that has been trained for general purposes to predict the user's menstrual period.
[0102] In this way, the menstruation day prediction device uses a general-purpose trained model to make predictions for data that does not show any trend, such as when the data does not cover one cycle, etc. This allows the menstruation day prediction device to predict menstruation days regardless of the trend of the acquired data or the user's data acquisition status (e.g., a user who has just started using the measuring device 10).
[0103] In addition, the menstrual day prediction device may further include a learning unit (in this embodiment, learning unit 134) that, after a prediction is made by selecting one of a plurality of learned models learned for each of a plurality of types, re-learns the learned model used for the prediction in accordance with the user's tendencies using the user's basal body temperature data.
[0104] In this way, the menstrual period prediction device may generate an individual prediction model for each user, thereby enabling the menstrual period prediction device to further improve prediction accuracy for the person being predicted.
[0105] Furthermore, when the determination unit acquires basal body temperature data to be used for prediction from a user, if there is an individual prediction model re-learned for the user, it does not determine whether the trend indicated by the acquired basal body temperature data falls into one of the types, but if there is no individual prediction model, it determines whether the trend indicated by the acquired basal body temperature data falls into one of the types. If there is an individual prediction model re-learned for the user, the prediction unit selects the individual prediction model to predict the user's menstrual day, and if there is no individual prediction model, it selects a trained model corresponding to the determined type and predicts the user's menstrual day.
[0106] In this way, when an individual prediction model is available, the menstrual day prediction device skips the process of classifying the shape of the acquired basal body temperature data and performs prediction using the individual prediction model, which allows the menstrual day prediction device to make predictions with high accuracy and improve the overall speed of the prediction process.
[0107] In addition, in the menstruation day prediction process according to the present disclosure, the multiple trained models are models that have been machine-learned by clustering the basal body temperature data, which is training data, based on the similarity of waveform shapes showing the daily changes in basal body temperature, and using the clustered basal body temperature data as training data classified by type.
[0108] In this way, the menstrual day prediction device clusters the learning data in advance according to the waveform characteristics, and uses the trained models generated corresponding to each of the clusters in the prediction process. This allows the menstrual day prediction device to select a trained model according to the characteristics of the basal body temperature data input by the person to be predicted and perform the prediction process, thereby improving the prediction accuracy.
[0109] (5. Hardware Configuration) Information devices such as the prediction device 100 and user terminal 200 according to the above-described embodiments are realized by a computer 1000 having a configuration as shown in FIG. 12, for example. The prediction device 100 according to the embodiment will be described below as an example. FIG. 12 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, an HDD (Hard Disk Drive) 1400, a communication interface 1500, and an input / output interface 1600. The components of the computer 1000 are connected by a bus 1050.
[0110] 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 processing corresponding to the various programs.
[0111] 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 .
[0112] 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 that executes a menstruation day prediction process according to the present disclosure, which is an example of program data 1450.
[0113] 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.
[0114] 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 programs and the like recorded on a predetermined recording medium. Examples of media include optical recording media such as a DVD (Digital Versatile Disc) or a PD (Phase Change Rewritable Disk), magneto-optical recording media such as an MO (Magneto-Optical disk), tape media, magnetic recording media, and semiconductor memories.
[0115] 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. 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. The CPU 1100 reads and executes program data 1450 from the HDD 1400, but as another example, the CPU 1100 may obtain these programs from another device via an external network 1550.
[0116] The embodiments of the present application have been described in detail above with reference to the drawings, but these are merely examples, and the present invention can be implemented in other forms that include the embodiments described in the Disclosure of the Invention section and that have been modified and improved in various ways based on the knowledge of those skilled in the art. [Explanation of symbols]
[0117] 1. Period Prediction System 10 Measuring Devices 15 users 100 Prediction Device 110 Communications Department 120 Storage section 121 Measurement data storage unit 122 Model Memory Unit 130 Control Unit 131 Acquisition Department 132 Judgment section 133 Prediction Department 134 Learning Department 135 Output section 200 user terminals
Claims
1. An acquisition unit that acquires basal body temperature data during a menstrual cycle from a user who is a prediction target; A determination unit that determines whether the tendency indicated by the acquired basal body temperature data is classified into one of a plurality of predefined types; A prediction unit that selects one of a plurality of trained models trained for each of the plurality of types according to a result of the determination, and predicts a menstrual date of the user based on the basal body temperature data; A menstruation day prediction device comprising:
2. The prediction unit is When it is not possible to determine a trend indicated by the acquired basal body temperature data, a second trained model that is trained generically is selected instead of selecting one of the trained models trained for each of the multiple types, to predict the menstrual day of the user.
2. The menstruation day prediction device according to claim 1 .
3. a learning unit that, after a prediction is made by selecting one of a plurality of trained models trained for each of the plurality of types, re-learns the trained model used for the prediction in accordance with the tendency of the user, using the basal body temperature data of the user; The menstruation day prediction device according to claim 1, further comprising:
4. The determination unit is When basal body temperature data to be used for prediction is acquired from the user, if there is an individual prediction model that has been re-learned in accordance with the user, it is not determined whether the tendency indicated by the acquired basal body temperature data is classified into one of the types, and if there is no such individual prediction model, it is determined whether the tendency indicated by the acquired basal body temperature data is classified into one of the types; The prediction unit is If there is an individual prediction model that has been retrained for the user, the individual prediction model is selected to predict the menstrual day of the user, and if there is no individual prediction model, a trained model corresponding to the determined type is selected to predict the menstrual day of the user.
4. The menstruation day prediction device according to claim 3.
5. The plurality of trained models are The model is machine-learned by clustering the basal body temperature data as learning data based on the similarity of the waveform shape showing the daily change in basal body temperature, and using the clustered basal body temperature data as learning data classified by type.
2. The menstruation day prediction device according to claim 1 .
6. The computer Acquire basal body temperature data during a menstrual cycle from a user who is a prediction target; Determining whether the tendency indicated by the acquired basal body temperature data is classified into any one of a plurality of predefined types; Selecting one of a plurality of trained models trained for each of the plurality of types according to a result of the determination, and predicting a menstrual date of the user based on the basal body temperature data. A method for predicting a period, comprising:
7. Computer, An acquisition unit that acquires basal body temperature data during a menstrual cycle from a user who is a prediction target; A determination unit that determines whether the tendency indicated by the acquired basal body temperature data is classified into one of a plurality of predefined types; A prediction unit that selects one of a plurality of trained models trained for each of the plurality of types according to a result of the determination, and predicts a menstrual date of the user based on the basal body temperature data; A menstruation day prediction program characterized by causing the program to function as a menstruation day prediction device comprising:
Citation Information
Patent Citations
Information processing device, information processing method, and information processing program
WO2015079526A1
