Sensing system and method for monitoring time-dependent processes
Through quality detection algorithms and machine learning technology, unavailable samples in sensor data are identified and processed, solving the problem of insufficient data volume and signal quality of sensor equipment, and improving the accuracy and robustness of event detection and prediction.
Patent Information
- Application Number
- CN201980044295.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-07-02
- Filing Date
- 2019-07-01
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2039-07-01
AI Technical Summary
It is difficult for existing sensor devices to accurately detect, track or predict events when the amount of data and signal quality are insufficient, especially in the early stages of wearable devices and under low-quality signals, affecting their performance and reliability.
Improve signal quality by developing quality detection algorithms for detecting and processing sensor data, identifying and filtering unusable samples, and combining machine learning methods such as random forests and neural networks to train models to identify respiratory events and trends to improve the accuracy of algorithms. and robustness.
Effectively remove low-quality signals, improve the reliability and accuracy of sensor data, enhance algorithm performance, and ensure reliability and accuracy during training and operation phases.
Smart Images

Figure CN112399819B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to systems and methods for monitoring time-dependent processes, and in particular to systems and methods for training sensor devices for monitoring time-dependent processes. Background Art
[0002] Sensor devices are widely used in a range of different applications, from healthcare to worker safety. Wearable devices may include one or more sensors that measure physiological signals such as body temperature, activity, respiration, etc. The captured signals are then used to develop algorithms to detect, track, or predict specific events. The accuracy and robustness of these algorithms depend on the "quality" and "quantity" of the signals provided during the algorithm development phase and during the operational phase. In the early stages of deployment of wearable devices, for example, when the amount of sensor data may be insufficient, it may be challenging to develop algorithms that can accurately detect, track, or predict events based on the information received by the wearable device. In addition, low-quality signals can affect the performance of the wearable device when in the training phase and during the testing and operational phases, where the results may become less reliable.
[0003] Sensor devices can also be used in industrial settings. Many industrial processes are repetitive, if not cyclical. For example, a car assembly line will start and stop, but the cars on the line will pass through the "underbody welding" station approximately every 30 to 200 seconds. The welding operation is repetitive; the welding steps are not perfectly timed but occur repeatedly. Errors can occur, for example, due to material defects, problems in the vision system, or a decay in the pressure applied by the welding machine.
[0004] In a plastic molding operation, material is injected into the mold so that the mold moves approximately once per minute to the curing step. The injection process is not perfectly timed; rather, a computer controls the process by monitoring temperature, pressure, and flow. Errors can occur, for example, due to variations in the injected material or due to variations in the heating and cooling cycles of the mold.
[0005] In a heat treatment process, such as smelting, ore may be melted in a furnace once an hour. The thermal cycle is variable due to changes in feed weight and due to variations in the melting point of the material. Errors may occur, for example, due to incomplete melting or uncontrolled evaporation.
[0006] Sensor devices can also be used in the home, for example to monitor the health of an HVAC system. These systems are repetitive in the sense that they are activated over and over again whenever a demand or control signal is applied to the heating and cooling system. For example, when bearings wear out in a fan or in the case of a filtration system becoming saturated, errors can occur in the system.
[0007] Sensor devices can also be used to monitor the health of the distribution network, especially for load control where power demand is cyclical or depends on changing weather patterns. Errors occur when the system cannot respond quickly enough to new demands or when it loses the ability to regulate voltage due to errors in transformers or switchgear. Summary of the invention
[0008] The present disclosure provides a system and method for detecting the quality of a signal captured by a sensor device. In a respiratory monitoring example, the sensor device is a wearable device including a sensor connected to a computing device. The sensor detects a respiratory parameter and generates a corresponding output representing the corresponding respiratory parameter. The respiratory parameter may include the amplitude, rate and duration of inhalation, exhalation or both. The computing device is coupled to the sensor in a communication manner (e.g., wirelessly connected). The computing device may be portable (such as, for example, a mobile phone) to allow the user to keep moving while monitoring the user's respiratory parameters. The computing device includes a processor that receives an output from the sensor. In some examples, the processor determines the occurrence of a respiratory event based on an analysis of the output of the sensor. The respiratory event may include detecting a respiratory state, such as, for example, a stable respiratory state (e.g., a respiratory period improved relative to average respiratory activity), a dyspnea state (e.g., a respiratory period more laborious relative to average respiratory activity), etc. The computing device may store these respiratory events and display the respiratory events to the user via a user interface. In some examples, the computing device receives environmental information, information provided by the user, or both, and determines a trigger based on the received information. In some examples, the trigger is associated with the corresponding respiratory event. The computing device may store the trigger and display the trigger to the user via a user interface. In other examples, the computing device may cause the user interface to prompt the user to input a trigger associated with the respective respiratory event. The computing device may determine a trend based on at least one of sensor output, environmental information, user-provided information, respiratory events, and triggers. The computing device may store the trend and display the trend to the user via the user interface. By storing and displaying respiratory events, triggers, and trends, the systems and methods described herein may enable a user to identify triggers that cause respiratory improvement and respiratory deterioration.
[0009] The details of one or more examples will be set forth in the accompanying drawings and the description below.Other features, objects, and advantages of the disclosure will be apparent from the description and drawings, and from the claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 is a block diagram illustrating a sensor device for monitoring a biological function according to one aspect of the present disclosure.
[0011] Figure 2is a schematic conceptual diagram illustrating an exemplary user device including a computing device and a user interface according to one aspect of the present disclosure.
[0012] Figure 3 is a flow chart illustrating an exemplary technique for detecting and displaying events representative of one aspect of biological function according to one aspect of the present disclosure.
[0013] Figure 4A and Figure 4B A quality detection algorithm according to one aspect of the present disclosure is shown.
[0014] Figure 5 is a flow chart illustrating an exemplary technique for training one or more quality detection algorithms according to one aspect of the present disclosure.
[0015] Figure 6 Measurement of a user's breathing according to one aspect of the present disclosure is shown.
[0016] Figure 7 is a flow chart illustrating another exemplary technique for training one or more quality detection algorithms according to one aspect of the present disclosure.
[0017] Figure 8 is a flow chart illustrating yet another exemplary technique for training one or more quality detection algorithms according to one aspect of the present disclosure.
[0018] Fig. 9 Features representing a breath sample according to one aspect of the present disclosure are shown.
[0019] Fig.10 Representative usable breath samples and unusable breath samples are shown according to one aspect of the present disclosure.
[0020] Fig.11 A technique for determining the quality of a sample based on its morphology according to one aspect of the present disclosure is shown.
[0021] Fig.12 A technique for determining the quality of a time-based measurement sample according to one aspect of the present disclosure is shown.
[0022] Fig.13 Another technique for determining the quality of a time-based measurement sample according to one aspect of the present disclosure is shown.
[0023] Fig.14 A flow chart illustrating an exemplary technique for notifying a user of the occurrence of a respiratory event is shown.
[0024] Fig.15 is a flow chart of an exemplary technique for detecting conditions such as a user's breathing state.
[0025] Fig.16 is a flow chart of an exemplary technique for adjusting a detection algorithm based on input from a user according to one aspect of the present disclosure.
[0026] Fig.17 is a block diagram illustrating a device training system according to one aspect of the present disclosure.
[0027] Fig.18 A flow chart illustrating an exemplary technique for generating an algorithm for detecting quality samples according to one aspect of the present disclosure is shown.
[0028] Fig.19 A technique for adding a new user to a monitoring system according to one aspect of the present disclosure is shown.
[0029] FIG. 20A to FIG. 20D It further shows Fig.19 The technique shown in .
[0030] Fig.21 is a block diagram illustrating a technique for exploiting information residing in current time data (such as signal shape and characteristics) as well as information in the dynamics and transitions of the signal between successive time intervals to produce more accurate algorithms for detecting and predicting events.
[0031] Fig. 22 A time series of measurement samples received from a user equipment according to one aspect of the present disclosure is shown.
[0032] Fig.23 A technique for training a dynamics-based model according to one aspect of the present disclosure is shown.
[0033] Fig.24 The application of a trained dynamics-based model 204 to sensor data received from a sensor 104 is shown in accordance with one aspect of the present disclosure.
[0034] Fig.25 A technique for training a measurement-based model according to one aspect of the present disclosure is shown.
[0035] Fig.26 Applying a trained measurement-based model to sensor data received from a sensor according to one aspect of the present disclosure is shown.
[0036] Fig. 27 A fusion example is shown, where the results of the HMM method as a dynamics-based model and the results of the machine learning classifier as a measurement-based model are fused together.
[0037] Fig.28A framework according to one aspect of the present disclosure is shown, wherein a monitoring system receives raw data from sensors.
[0038] Fig.29 The occurrence of interventions in a time series measurement sample stream according to one aspect of the present disclosure is shown. DETAILED DESCRIPTION
[0039] As described above, wearable devices are widely used in a range of different applications from healthcare to worker safety. Wearable devices may include one or more sensors that monitor biological functions. In some exemplary methods, the wearable device measures, for example, physiological signals, such as body temperature, activity, respiration, etc. The captured signals are then used to develop algorithms to detect, track, or predict specific events. The accuracy and robustness of these algorithms depend on the "quality" and "quantity" of the signals provided during the algorithm development phase and during the operational phase. In the early stages of the development of wearable devices, for example, when the amount and quality of sensor data may be insufficient, it may be challenging to develop algorithms that can accurately detect, track, or predict events based on the information received by the wearable device.
[0040] The following disclosure describes systems and methods for training and using wearable devices and for detecting quality samples in measurement samples obtained from wearable devices. In one exemplary method, the wearable device measures respiration and motion. As an example, any of the systems and methods described herein may be implemented, alone or in combination, in a wearable device and a cloud-based system for monitoring respiration, as described in PCT / US2018 / 012048, entitled “SYSTEM AND METHOD FOR MONITORING RESPIRATION,” filed on January 2, 2018, the entire contents of which are incorporated herein by reference. Note that in this example, a wearable device for monitoring respiration is described, but the methods presented herein may be applied to other signals of a repetitive or cyclic nature captured by a wearable device, such as blood pressure, and to other types of sensors and systems, such as power grid monitoring systems and industrial process monitoring systems.
[0041] Figure 1 is a block diagram illustrating a monitoring system for monitoring a signal having a repetitive nature, such as a biological function or an industrial process, according to one aspect of the present disclosure. Figure 1 In an exemplary method of , monitoring system 100 monitors cyclic biosignals representing user 102. User 102 may be implemented, for example, by a person who may or may not be ambulatory. In other examples, user 102 may be an animal, such as a livestock. Figure 1In the exemplary method shown, monitoring system 100 uses user device 101 to monitor biological functions of user 102 .
[0042] In one exemplary method, the user device 101 includes at least one sensor 104 that detects at least one signal (e.g., a respiratory or cardiac signal) indicating a characteristic of a circulatory biological function of the user 102 at the sensor interface 112. For example, the user device 101 may be attached to a part of the body of the user 102 (e.g., the torso of the user 102) or to a garment worn by the user 102 (e.g., an elastic band, a waistband, a bra strap, etc.). In some examples, the user device 101 senses the movement of the torso of the user 102 caused by the breathing of the user 102. In this way, the user device 101 can detect the breathing of the user 102 by respiratory induction plethysmography (e.g., assessing lung ventilation by measuring the movement of the chest and abdominal wall). In other examples, the user device 101 detects the breathing signal of the user 102 by other means. For example, the user device 101 may include an invasive or minimally invasive component, such as a mask or an interface tube connected to the airway of the user 102. Alternatively or in addition, the user device 101 may include other suitable sensors or combinations of sensors to detect the breathing of the user 102, such as strain gauge sensors, pressure sensors, accelerometers, gyroscopes, displacement sensors, acoustic sensors, ultrasonic sensors, flow sensors, optical sensors (including cameras and / or infrared sensors), or combinations thereof. Alternatively or in addition, the user device 101 may include sensors or combinations of sensors suitable for measuring heart or brain activity.
[0043] In one exemplary method, user device 101 detects a signal representing a time series of measurement samples of one or more parameters associated with a biological function monitored intermittently or in real time by sensor 104 at sensor interface 112. User device 101 may, for example, enable monitoring system 100 to track a breathing signal of user 102. In one such exemplary method, sensor data captured from user 102 is stored to user history storage 113 via link 111.
[0044] User device 101 includes any suitable computing device 106, such as a smart phone, a computerized wearable device (e.g., a watch, glasses, a ring, a necklace, etc.), a tablet computer, a laptop computer, a desktop computer, etc. In some examples, the computing device and the sensor 104 are two separate devices. In other examples, the computing device and the sensor 104 are components of the same device.
[0045] In one exemplary method, computing device 106 receives output from sensor 104 via link 114. In one such exemplary method, a processor of computing device 106 determines the occurrence of a respiratory event based on the output. For example, the processor may communicate with one or more modules of computing device 106 to determine the occurrence of a respiratory event, such as monitoring a respiratory state based on the output. Computing device 106 may include a data storage device to store sensor 104 output, detected events, or both (e.g., respiratory or other such data). By receiving sensor 104 output, determining respiratory events based on the output, and storing respiratory data, computing device 106 may enable monitoring system 100 to track sensor data of user 102 over time.
[0046] In one exemplary approach, the link 114 includes any suitable wired connection (e.g., metal traces, optical fiber, Ethernet, etc.), wireless connection (e.g., personal area network, local area network, metropolitan area network, wide area network, etc.), or a combination of both. For example, the sensor 104 may include a communication unit that includes a network interface card such as an Ethernet card, an optical transceiver, a radio frequency transceiver, Interface card, WiFi TM A radio, USB, or any other type of device that can send and receive information. In this manner, sensor 104 generates an output representative of at least one breathing parameter (eg, data representative of a breathing signal) that is received by computing device 106 .
[0047] Computing device 106 is communicatively coupled (e.g., connected) to user interface 108 via link 116. Link 116 may be the same or similar to link 114 described above. User interface 108 may include a graphical user interface (GUI), a display, a keyboard, a touch screen, a speaker, a microphone, a gyroscope, an accelerometer, a vibration motor, etc. In some examples, computing device 106 and user interface 108 are components of the same device (such as a mobile phone, a tablet computer, a laptop computer, etc.). In other examples, computing device 106 and user interface 108 are separate devices.
[0048] In one exemplary method, computing device 106 includes one or more output components that generate tactile output, audio output, video output, etc., which is received by user interface 108 to transmit information to user 102 or another entity. In this way, user interface 108 can notify user 102 of the occurrence of a respiratory event. As an example, user interface 108 can receive an indication of the occurrence of a respiratory event from computing device 106 and display information representing the occurrence of a respiratory event to user 102 on a display of user interface 108. Similarly, user interface 108 includes one or more input components that receive tactile input, kinetic input, audio input, optical input, etc. from user 102 or another entity 108. In this way, user interface 108 can receive user input from user 102 and send the user input to computing device 106. For example, user 102 can provide user input to user interface 108, which transmits the user input to computing device 106. User input (e.g., user data) includes, for example, information regarding age, gender, height, weight, and medical conditions; information associated with the occurrence of respiratory events, information associated with general triggers or triggers of corresponding occurrences of respiratory events, etc. User 102 (or another entity) may interact with computing device 106 by communicatively coupling output components and input components of computing device 106 to user interface 108.
[0049] The computing device 106 includes any suitable computing device, such as a smart phone, a computerized wearable device (e.g., a watch, glasses, a ring, a necklace, etc.), a tablet computer, a laptop computer, a desktop computer, etc. In some examples, the computing device 106 and the sensor 104 are two independent devices. In other examples, the computing device 106 and the sensor 104 are components of the same device. The output from the sensor 104 is received by the processor of the computing device 106. The processor of the computing device 106 determines the occurrence of a respiratory event based on the output. For example, the processor may communicate with one or more modules of the computing device 106 to determine the occurrence of a respiratory event, such as monitoring a respiratory state based on the output. The computing device 106 may include a data storage device to store the sensor 104 output, the determined respiratory event, or both (e.g., respiratory data). By receiving the sensor 104 output, determining the respiratory event based on the output and storing the respiratory data, the computing device 106 may enable the ventilator monitoring system 100 to track the respiratory data of the user 102 over time.
[0050] Computing device 106 is communicatively coupled (e.g., connected) to user interface 108 via link 116. Link 116 may be the same or similar to link 114 described above. User interface 108 may include a graphical user interface (GUI), a display, a keyboard, a touch screen, a speaker, a microphone, a gyroscope, an accelerometer, a vibration motor, etc. In some examples, computing device 106 and user interface 108 are components of the same device (such as a mobile phone, a tablet computer, a laptop computer, etc.). In other examples, computing device 106 and user interface 108 are independent devices. Computing device 106 includes one or more output components that generate tactile output, audio output, video output, etc., which are received by user interface 108 to transmit information to user 102 or another entity. In this way, user interface 108 can notify user 120 of the occurrence of a respiratory event. As an example, user interface 108 can receive an indication of the occurrence of a respiratory event from computing device 106 and display information indicating the occurrence of a respiratory event to user 102 on a display of user interface 108. Similarly, computing device 106 includes one or more input components that receive tactile input, kinetic input, audio input, optical input, etc. from user 102 or another entity via user interface 108. In this way, user interface 108 can receive user input from user 102 and send the user input to computing device 106. For example, user 102 can provide user input to user interface 108, which transmits the user input to computing device 106. User input (e.g., user data) includes, for example, information about age, gender, height, weight, and medical conditions; information associated with the occurrence of respiratory events, information associated with general triggers or triggers of corresponding occurrences of respiratory events, etc. By communicatively coupling output components and input components of computing device 106 to user interface 108, user 102 (or another entity) can interact with computing device 106. Although Figure 1 The user device 101 of illustrative embodiments includes a sensor 104, a computing device 106, and a user interface 108, but in some exemplary approaches, the user device 101 may include fewer or more components.
[0051] In one exemplary method, Figure 1 As shown, sensor 104, computing device 106, and user interface 108 are optionally communicatively coupled to network 110. In other examples, fewer components (e.g., only computing device 106) may be coupled to network 110. Network 110 represents any public or private communication network, such as cellular, or other types of networks for transmitting data between computing systems, servers, and computing devices. Sensor 104, computing device 106, and user interface 108 may each be operably coupled to network 110 using network link 120. Network link 120 may be any type of network connection, such as a wired or wireless connection, as described above. Network 110 may provide access to the Internet to selected devices such as sensor 104, computing device 106, and user interface 108, and may allow sensor 104, computing device 106, and user interface 108 to communicate with each other. For example, sensor 104 and computing device 106 may communicate via network link 120 instead of communicating via link 114. Similarly, computing device 106 and user interface may communicate via network link 120 instead of communicating via link 116. In addition, sensor 104 may communicate directly with user interface 108 via network link 120.
[0052] In one exemplary method, user device 101 is communicatively coupled (e.g., connected) to device training system 140 via network 110 via network link 130. In one such exemplary method, device training system 140 receives sensor data from user device 101 and stores the sensor data in historical sensor data storage 142. The data may be pushed to historical sensor data storage 142, for example, by user device 101, or it may be retrieved by device training system 140 from user history storage 113 and then stored in historical sensor data storage 142. Network link 130 may be the same or substantially similar to network link 120 described above. Device training system 140 may also be connected to algorithm storage 144 via link 143.
[0053] Figure 2 1 is a schematic conceptual diagram illustrating an exemplary user device including a computing device and a user interface according to one aspect of the present disclosure. In one exemplary method, computing device 106 includes one or more processors 150, one or more input devices 152, one or more communication units 154, one or more output devices 156, and one or more storage components 158. In some examples, one or more storage components 158 include signal processing module 160, detection module 162, and training module 164. In other examples, computing device 106 may include additional components or more. Figure 2 Those shown have fewer components.
[0054] The one or more processors 150 are configured to implement functions, process instructions, or both for execution within the computing device 106. For example, the processor 150 may be capable of processing instructions stored within the one or more storage components 158. Examples of the one or more processors 150 may include any one or more of a microprocessor, a controller, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or equivalent discrete or integrated logic circuits.
[0055] The computing device 106 also includes one or more input devices 152. In some examples, the input device 152 is configured to receive input from a user through a tactile, audio, or video source. Examples of input devices 152 include a mouse, a button, a keyboard, a voice response system, a video camera, a microphone, a touch screen, or any other type of device for detecting commands from a user. In some exemplary approaches, the user interface 108 includes all input devices 152 employed by the computing device 106.
[0056] The computing device 106 also includes one or more communication units 154. The computing device 106 can use the communication unit 154 to communicate with external devices (e.g., the sensor 104 or the user interface 108) via one or more networks, such as one or more wired or wireless networks. The communication unit 154 may include a network interface card, such as an Ethernet card, an optical transceiver, a radio frequency transceiver, or any other type of device that can send and receive information. The communication unit 154 may also include a WiFi TM A radio or a universal serial bus (USB) interface. In some examples, computing device 106 utilizes communication unit 154 to communicate wirelessly with external devices, such as a server.
[0057] The computing device 106 may also include one or more output devices 156. In some examples, the output devices 156 are configured to provide output to the user using, for example, audio, video, or tactile media. In one example, the output devices 156 may include the display 170 of the user interface 108, a sound card, a video graphics adapter card, or any other type of device for converting signals into an appropriate form understandable to a human or machine. In some exemplary approaches, the user interface 108 includes all output devices 156 employed by the computing device 106.
[0058] One or more storage components 158 may be configured to store information within the computing device 106 during operation. In some examples, one or more storage components 158 include a computer-readable storage medium or a computer-readable storage device. In some examples, one or more storage components 158 include temporary storage, which means that the primary purpose of one or more storage components 158 is not long-term storage. In some examples, one or more storage components 158 include volatile memory, which means that when power is not provided to one or more storage components 158, one or more storage components 158 do not retain stored content. Examples of volatile memory include random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), and other forms of volatile memory known in the art. In some examples, one or more storage components 158 are used to store program instructions for execution by the processor 150. In some examples, one or more storage components 158 are used by software or applications running on the computing device 106 to temporarily store information during program execution.
[0059] In some examples, the one or more storage components 158 may also include one or more storage components 158 configured for longer term storage of information. In some examples, the one or more storage components 158 include non-volatile storage elements. Examples of such non-volatile storage elements include magnetic hard disks, optical disks, floppy disks, flash memory, or electrically programmable memory (EPROM) or electrically erasable programmable (EEPROM) memory.
[0060] The computing device 106 may include a signal processing module 162, a detection module 164, and a training module 166. In one such exemplary method, the signal processing module 162 analyzes data received from the sensor 104, thereby processing the data to improve the quality of the sensor data. The detection module 164 analyzes the sensor data to detect events representing, for example, a biological function of the user 102. The training module 166 modifies the algorithm used by the detection module 164.
[0061] The computing device 106 may also include a Figure 2 For example, computing device 106 may include a power supply for providing power to components of computing device 106. Similarly, in each example of computing device 106, Figure 2 The components of computing device 106 shown may not be required.
[0062] Signal quality is a key factor in developing machine learning methods for detecting, tracking, and predicting specific events based on time series data. Low-quality signals can affect the performance of both the training phase (e.g., causing the classifier to be affected by noise) and the testing and operation phases (the results of which may become less reliable). Therefore, it is important to remove low-quality signals in both stages. In the rest of this document, we use signals representing breathing and activity as examples, but the presented methods can be applied to any other signals with repetitive properties, such as industrial processes. Each of the industrial processes described in the background art can be modeled as a repetitive process; each process includes a nominally correct operation that can be used as a reference model when checking subsequent operations. The quality of each operation can be improved by using a set of sensors and by using artificial intelligence to detect deviations from the reference operation model.
[0063] In one exemplary method, a reference model may be developed from time series data of a sensor device and then utilized when examining subsequent operations. In one such exemplary method, semi-supervised learning (i.e., assuming expert labeling of successful operations) may be used to detect and reject outliers in a process. In another such exemplary method, outlier rejection is used in a step-by-step cascade of faults to eliminate the faults. For example, step-by-step cascade fault filtering may be used to:
[0064] 1) Eliminate failures caused by insufficient injection material (i.e., operator Aborted molding or smelting operations);
[0065] 2) filter out failures due to machine out-of-specification (i.e., the robot dropped a bolt, the robot was unable to acquire an image, or the mold injector was unable to reach nominal pressure); and
[0066] 3) Filter out failures due to substandard quality of the final product (i.e., the car failed the dimensional measurement, or the molten ore failed the density test).
[0067] In one exemplary method, the signal received from sensor 104 may include measurement samples for detecting, tracking, or predicting a particular event, such as a symptom or condition related to some aspect of the user. However, such signals may be degraded due to, for example, placement of sensor 104, sensor degradation, interference with the steps of measuring the signal, or noise in the signal. As a result, the wearable device may not capture or may only partially capture the actual breath breathed by the subject. For example, such events may occur when the wearable device is not worn correctly and therefore has poor contact with the body, or when the wearable device is worn but the subject is performing physical activity that affects the quality of the measured breath.
[0068] To address this problem, in some exemplary methods, the signal processing module 162 is used to improve the quality of the signal, or reduce the impact of using lower quality signal samples. In one such exemplary method, the signal processing module 162 searches for available measurement samples in the sensor data. In an exemplary method, the signal processing module 162 receives sensor data associated with the sensor 104 that monitors biological functions, and the sensor data represents time series measurement samples of one or more parameters associated with the biological functions monitored by the sensor 104. The sensor data includes available samples and unavailable samples of the time series measurements. The signal processing module 162 extracts data representing two or more features of the samples measured in the time series, and then filters the extracted data by eliminating outliers in the extracted data based on the expected outlier ratio. In an exemplary method, the signal processing module 162 then trains a machine learning algorithm to identify available samples of the sensor data based on the filtered extracted data.
[0069] Figure 3 is a flow chart illustrating an exemplary technique for detecting and displaying events representing one aspect of biological function according to one aspect of the present disclosure. Figure 3 In the exemplary method of FIG. 1 , signal processing module 162 receives sensor data ( 180 ) and finds available measurement samples in the sensor data ( 182 ). Signal processing module 162 then analyzes the available samples to determine when an event has occurred ( 184 ). User interface 108 receives notification that an event has occurred and displays information related to the event when the event occurs ( 186 ).
[0070] Lightweight and wearable physiological monitors can monitor and record a variety of health conditions. For example, detection module 164 can use such monitors to detect parameters related to the user. In some examples, machine learning is used to determine relevant parameters of biological functions and to calculate weights associated with such parameters when determining the occurrence of relevant events or the detection of specific states, triggers, or trends. In some such examples, detection module 164 receives sensor data from multiple users and clusters the users based on the sensor data.
[0071] In one exemplary approach, the signal processing module 162 includes a quality detection algorithm. Figure 4A and Figure 4B A quality detection algorithm according to one aspect of the present disclosure is shown. Figure 4A In the exemplary method of FIG. 1 , the quality detection algorithm 200 can be used to determine whether a sample has acceptable quality. Once the quality detection algorithm 200 is trained, it can be used as follows: Figure 4A It is shown used to detect a quality sample from the measurement samples received from the sensor 104 .
[0072] In some exemplary methods, the overall quality detection algorithm 202 includes two or more quality detection algorithms 200.1 to 200.k, each tuned to filter out unusable samples. In one such exemplary method, the overall quality detection algorithm 202 applies a series of individual quality detection algorithms 200.1 to 200.k to achieve a higher overall performance in filtering out unusable samples from measurement samples. For example, the first quality detection algorithm 200.1 may be implemented as the simplest pre-filter, discarding only the most obvious instances of unusable measurement samples. Each successive algorithm 200 refines the filter by selecting progressively finer features that are characteristics of the usable measurement samples.
[0073] Figure 5 is a flow chart illustrating an exemplary technique for training one or more quality detection algorithms according to one aspect of the present disclosure. Figure 5 In an exemplary method of receiving (210) sensor data and extracting feature data from the sensor data (212). Outliers within the extracted feature data are filtered from the extracted data (214). The remaining extracted data is used to train one or more quality detection algorithms 200.K (216).
[0074] One method for detecting available measurement samples is to "mark" a set of time series measurement samples as available or unavailable, either via visual inspection or using reference measurements to exploit domain knowledge. For example, reference measurement samples may be obtained from different sources.
[0075] In one exemplary method, the monitored biological function is respiration. In one such exemplary method, available respiration is measured respiration that represents actual respiration breathed by a subject wearing sensor 104. In some such exemplary methods, available respiration is respiration that is not colored by environmental or motion artifacts and has a sufficient signal-to-noise ratio. At the same time, an available time interval is a time interval that includes two or more available respirations. In some exemplary methods, detection module 164 uses one or more algorithms 200.1 to 200.k to determine whether a time interval includes available respiration. In some exemplary methods, detection module 164 uses one or more algorithms 200.1 to 200.k to determine whether a breath of two or more breaths detected in a given time interval includes a available respiration.
[0076] In one exemplary respiration measurement method, respiration measurement samples are collected via a pressure sensor that senses abdominal movement, while a ventilation mask with a flow sensor is used to collect reference respiration samples that are used as labeled data to train one or more quality detection algorithms 200. In another exemplary method, domain knowledge and expert visual inspection of the raw data captured by the sensor 104 are used to determine usable and unusable breaths. Samples labeled as usable are labeled as such. The labeled data can be used to train one or more quality detection algorithms 200. In one such exemplary method, the training module 166 uses the labeled data to train the signal processing module 162 to detect and discard unusable samples.
[0077] In one exemplary method, techniques such as random forests, gradient boosting, and neural networks can be used to use labeled data, extract features, and train machine learning classification algorithms. This method will produce one or more quality detection algorithms 200.
[0078] In one exemplary breathing monitoring system, a pressure sensor and three accelerometers are used to measure samples taken from the breathing pattern of the user 102 . Figure 6 A measurement of a user's breathing according to one aspect of the present disclosure is shown. Note that the signal shapes are conceptual only, and each sample may include not just one sensor signal, but multiple signals. For example, a sample may include data from a pressure sensor stacked with accelerometer data from the x-axis, y-axis, and z-axis. Figure 6 A sample signal including sample pressure data and x, y, z accelerometer data is shown.
[0079] In one exemplary method, features are extracted from each sample to be used later in the pipeline. For example, features such as the number of peaks, the value of the peaks, the inspiration time, and the expiration time may be extracted from the breath sample. In one such method, features associated with the breath sample may be extracted from each individual sensor signal (such as pressure, x, y, and z) or from a combination of signals by applying cross spectral density or other methods.
[0080] In one exemplary method, domain knowledge can be used in both feature extraction and training stages. For example, if high frequency noise is expected, this information can be used and features based on higher frequency components of the sample to be used for algorithm development are included. In one such exemplary method, a breathing quality detection algorithm is developed using machine learning classification methods such as random forests, gradient boosting, and neural networks. The quality detection algorithm 200 is the output of the training process. The generated algorithm 200 can be used to determine the quality of the invisible data and classify the data into categories of usable breathing and unusable breathing. The required features and feature calculation pipelines are also embedded in the algorithm k block.
[0081] Sometimes, it may be difficult to obtain the desired labeled data. As described above, obtaining labeled data can be very time consuming because the generation of labeled data requires an expert to inspect each sample or to generate a reference signal for comparison with the sample being measured. In the absence of labeled data, labeled data can be approximated by carefully controlling the environment in which the sample is collected.
[0082] Figure 7 is a flow chart illustrating another exemplary technique for training one or more quality detection algorithms according to one aspect of the present disclosure. Figure 7 In the exemplary method of FIG. 1 , the user 102 is asked to wear the user device 101 and perform a specific activity. For example, the user 102 may be asked to sit for a period of time or read a book for a period of time. Figure 7 As shown, time series sensor data is received from sensor 104. Data representing two or more features of the samples of the time series measurements is extracted at feature extraction 220. In some exemplary methods, domain knowledge 222 determines the features to be extracted at feature extraction 220.
[0083] Depending on the activity, a certain percentage of samples will tend to be usable, and the remaining samples will tend to be unusable (outliers). The expected outlier ratio 224 is used to select the most likely usable samples based on the extracted features of the samples, and the selected extracted features are then used to train a machine learning algorithm, such as the quality detection algorithm 200.k when training a breathing quality detection algorithm 226 based on a one-class classification technique that distinguishes usable samples from unusable samples based on domain knowledge 222 and the expected outlier ratio 224. In some exemplary methods, the training module 166 uses a machine learning one-class classification method (such as isolation forest and one-class support vector machine (SVM)) to develop one or more breathing quality detection algorithms 200.
[0084] In one exemplary method, the expected outlier rate is set based on the task performed by the user 102. For example, the expected outlier rate for sitting may be lower than the expected outlier rate for slow walking. In one exemplary method, the training module 166 asks the user 102 for feedback on a particular activity. In addition to determining the activity type and the expected outlier rate that is desired, other sensor data may also be used, such as accelerometers, gyroscopes, global navigation satellite systems, or camera footage.
[0085] In one exemplary method, it is possible to Figure 7 Extract features from the breath samples used in the pipeline shown. These features may include the number of peaks, the value of the peaks, the inspiration time, the expiration time, etc. Features associated with the breath samples may be extracted from each individual sensor signal (such as pressure, x, y, and z) or from a combination of signals by applying cross spectral density or other methods.
[0086] Figure 7 The method shown can be used to train a user device 101 for a new user 102. In one exemplary method, each new user 102 is guided through a series of prescribed activities designed to generate and separate model breathing samples for algorithm generation. In one exemplary method, the user 102 is asked to perform physical exercise followed by a calm relaxation period. The user is then asked to start a timer at the beginning of the relaxation phase so that the sensor 104 can capture a series of deep breaths that progress toward a steady-state calm state.
[0087] In another exemplary method, the user 102 is prompted by a metronome that generates a slow rhythmic pattern and is asked to synchronize their breathing over a 5 minute period during which the sensor 104 collects the breathing pattern. In one such exemplary method, the frequency of the provided metronome is compared to the dominant frequency of the breathing signal as a measure of quality. In one exemplary method, the user is asked to experiment with different sensor positions until an optimal or acceptable signal-to-noise ratio is achieved. In one such exemplary method, training exercises are programmed into the initial and interactive activity set for all new users so that the available breathing detection algorithm can be adjusted for each individual user.
[0088] Figure 8 is a flow chart illustrating another exemplary technique for training one or more quality detection algorithms according to one aspect of the present disclosure. Figure 8 In the exemplary method shown, the first set of training samples is used to Figure 7 The algorithm 200.K is developed using feature extraction 220, domain knowledge 222, expected outlier ratio 224, and training a breathing quality detection algorithm 226 in the method described in the context of FIG. Figure 8 In the exemplary method shown, a second set of training samples labeled at a labeler 232 based on domain knowledge 230 is compared with the labels assigned via algorithm 200.K. In the exemplary method, the labels generated at the labeler 232 are considered true values, and the labels generated by the algorithm 200.K are checked for deviations from the true values. The error calculated by the error calculator 234 based on the comparison of the labels assigned by the algorithm 200.K with the labels generated based on the domain knowledge 230 is used to adjust the expected outlier ratio at the adjustment outlier ratio 236. The expected outlier ratio then becomes a mechanism for tuning one or more algorithms 200 based on the comparison of the labeled data ("reference truth") with the labels generated by the algorithm 200. In some exemplary methods, the check at 234 is used for one or more of false positives and true negatives.
[0089] The corrected outlier ratio is then used with the first set of training samples to adjust algorithm 200 .K to reduce errors generated from a comparison between labels generated by algorithm 200 .K and labels inferred at labeler 232 . Figure 8 The advantage of the illustrated approach is that even a small set of labeled data can be used to achieve better performance for the algorithm 200.k and the labeler 230. This process can be repeated as many times as necessary to ensure that the quality detection algorithm 200.k captures the most recent changes in the signal measured by the sensor 104.
[0090] A variety of techniques may be used for quality detection. In the following discussion, examples are based on a user device 101 monitoring the breathing of a user 102. However, these techniques may be applied to other time series measurement samples.
[0091] Common sources of zero or low quality breath samples are when the subject is not wearing device 101 at all, or if the subject is wearing device 101 but is doing some strenuous physical activity such as running. Therefore, a quality detection algorithm can be developed by detecting these two situations and identifying any breath samples in one of these conditions as outliers.
[0092] As described above, in some exemplary methods, features of the breath sample are extracted from the breath sample, and the above-described techniques are used to generate a breath quality detection algorithm 200.K. Fig. 9 FIG. 4 shows a feature representing a breath sample according to one aspect of the present disclosure. Fig. 9 As shown in FIG, these characteristics include characteristics such as relative amplitude (H), duration (T), volume (area under the curve), slope (h / T), inspiration time (I), expiration time (E), or inspiration / expiration ratio (I / E). Representative usable and unusable breath samples are shown in FIG. Fig.10 Shown in.
[0093] In one exemplary method, an algorithm that has been trained using any of the labeling methods discussed above can be used to identify the above-listed or Fig. 9 and Fig.10 A normal or physically reasonable range for each of the breathing parameters shown in FIG. A simple breathing quality detection algorithm may, for example, discard any breath or any breathing period for which the breathing parameter exceeds a reasonable range.
[0094] The morphology of a sample can be used to determine the quality of the sample. Fig.11 A technique for determining the quality of a sample based on its morphology according to one aspect of the present disclosure is shown. In one exemplary method, shapes extracted from a measured sample 240 are compared to representative shapes 246, and one or more representative shapes 246 are selected as representations of the extracted shapes.
[0095] In some such exemplary methods, samples 240 are pre-processed at 242 before being passed to a conversion block 244. In some such exemplary methods, pre-processor 242 normalizes the respirations in time and amplitude to ensure that all pre-processed samples have the same relative amplitude and duration.
[0096] In one exemplary method, the samples are transformed at the transformation block 244. In one such exemplary method, the preprocessed samples are transformed according to the representative shapes. The samples are transformed into another space based on the representative shapes, where each sample is represented by a vector. In one implementation, the shape with the smallest error compared to the sample shape can be selected. In other implementations, the sample shape can be represented by a weighted sum of multiple representative shapes using various optimization techniques with appropriate regularization. In such implementations, the weights are the result of the transformation process and produce an N×M matrix 248. The elements (i, j) of this matrix show the extent to which sample i can be represented by representative shape j.
[0097] In one exemplary method, different methods can be used to obtain the representative shape 246. For example, domain knowledge can be used to generate a representative model shape or a heuristic shape. In another method, a representative shape can be extracted using actual samples through a method such as dictionary learning.
[0098] Fig.12 Another technique for determining the quality of a time-based measurement sample according to one aspect of the present disclosure is shown. Fig.12 In the exemplary method of FIG. 1 , the training module 166 reconstructs the sample breath at 250 based on the representative shape 246 and the weight 248 by applying the following formula:
[0099] X^=W*D
[0100] Where X^ is an N×L matrix of N reconstructed samples with a length of L, W is a weight matrix, and D is a representative shape matrix of size M×L. The training module 166 calculates the reconstruction error at 252, for example, as a mean absolute error, mean square error, or root mean square error between the actual samples and the reconstructed samples. In one such exemplary method:
[0101] E=sqrt(XX^)*α
[0102] Where sqrt applies an element-wise square function, X is the original sample matrix, X^ is the reconstructed sample matrix, and α is a weight matrix 254 of shape N×1. An example of α is an N×1 matrix with all elements set to 1.
[0103] Then, using artificial intelligence classification techniques or expert domain knowledge, a threshold of acceptable error can be established and applied as a breathing quality detection algorithm.
[0104] In one exemplary method, the training module 166 uses the expected outlier ratio 224 and artificial intelligence classification techniques or expert domain knowledge to establish a threshold of acceptable error at 256. This threshold can then be applied as a breathing quality detection algorithm.
[0105] Fig.13 Another technique for determining the quality of a time-based measurement sample according to one aspect of the present disclosure is shown. The consistency of the sample can be a strong indicator of the usability of the sensor data. Fig.13 In the example of FIG. 1 , a hypothetical sample from a wearable device 101 is shown that captures measurement samples representing the breathing of a user 102 .
[0106] As in Fig.13 As can be seen in , the upper samples 260 show consistent height, shape, and periodicity over the time interval. However, the amplitude of the lower samples 262 is inconsistent. This may occur due to intermediate repositioning of the wearable device 101. In general, the available samples should be consistent over at least a minimum time interval. A quality detection algorithm 200.K can be generated using one of the above methods to verify the consistency of breathing. In this case, samples need to be processed in batches because the goal is to determine the consistency of multiple samples. In some exemplary methods, methods such as robust covariance estimation, autocorrelation, or other classification methods are used. In some exemplary methods, the size of the cluster can also indicate the quality of the group. For example, if the robust covariance of the group is close to zero, this means that the samples in the interval all have similar characteristics and are therefore "similar" to each other.
[0107] One purpose of the quality detection algorithm 200 is to determine the quality of samples within a data set. In an exemplary approach, only samples with sufficiently high quality are used to develop models for detecting, tracking, and predicting specific events. This may be referred to as hard outlier rejection (where low-quality samples are completely ignored).
[0108] In another implementation, the quality scores of the samples in the data set are used as weighting factors to determine the quality detection algorithm. In some such implementations, samples with lower quality are considered less "important" during the development phase when compared to samples with higher quality. For example, such an approach may be referred to as soft outlier rejection because it will not completely ignore low-quality samples, but rather reduce the impact of these low-quality samples based on their quality scores.
[0109] Fig.14A flow chart of an exemplary technique for notifying a user of the occurrence of a respiratory event is shown. Figure 1 The respiratory monitoring system 100 and Figure 2 Description of computing device 106 Fig.14 However, in other examples, different systems, different computing devices, or both may be used to perform Fig.14 Additionally, the respiratory monitoring system 100 and the computing device 106 may perform other techniques for notifying the user of the occurrence of a respiratory event.
[0110] Fig.14 The illustrated technique includes receiving at least one output (302) representing at least one breathing-related parameter by a computing device 106. The breathing-related parameters include breathing parameters, environmental information, position information, user information, etc. In some examples, the breathing parameters include the amplitude, rate, and duration of inspiration, exhalation, or both. In other examples, the breathing parameters may include other parameters indicating breathing, such as ventilation flow, tidal volume, consistency of breathing rate, pulse rate, oxygen saturation, spectral density, etc. In some examples, the sensor 104 generates at least one output representing at least one breathing-related parameter. In other examples, the computing device 106 receives at least one output representing at least one breathing-related parameter from other sources such as, for example, a user interface 108, a third-party computing device, etc.
[0111] After receiving at least one output representing at least one breathing-related parameter, Fig.14 The illustrated technique includes finding available breathing samples (304) via one or more quality detection algorithms in the quality detection algorithm 200 described above. The technique then determines the occurrence of a breathing event based on at least one available breathing sample (306). In asthma monitoring applications, a breathing event may, for example, include detecting a stable breathing state (e.g., breathing that is improved relative to average ventilation), detecting a difficult breathing state (e.g., breathing that is worse relative to average ventilation), etc. In some examples, determining the occurrence of a breathing event based on at least one output includes comparing at least one output representing at least one breathing-related parameter with a corresponding baseline breathing-related parameter. For example, in the case where the output representing at least one breathing-related parameter includes the amplitude and frequency of the breathing of the user 102 (e.g., the average rate of repetitive breathing parameters), the corresponding baseline breathing-related parameters may include the average amplitude and frequency of the breathing of the user 102. In addition or alternatively, the corresponding baseline breathing-related parameters may include the average amplitude and frequency of the breathing of an average person having similar or substantially the same physical characteristics as the user 102 (e.g., age, gender, height, weight, medical condition, etc.). In other examples, other breathing-related parameters, such as inhalation duration or amplitude, frequency, or expiratory duration, may be compared to corresponding baseline breathing-related parameters.
[0112] In other examples, one or more different methods may be used to determine baseline breathing-related parameters. In one exemplary method, user 102 may rest for a specified time interval (e.g., 5 minutes), during which sensor 104 measures and determines a set of average baseline breathing parameters (e.g., normal breathing). In another exemplary method, computing device 106 selects a time period close to the beginning of each day and collects information from sensor 104 to establish baseline breathing parameters for the corresponding day. In another exemplary method, computing device 106 stores a histogram of breathing parameters collected over a period of several days to several weeks. In this method, baseline breathing parameters may be defined as any parameter that falls within one standard deviation of the mean value over several days or weeks. In another exemplary method, computing device 106 collects statistical information. In one such method, baseline breathing parameters may be based on one or more characteristics of one or more subgroups of users. For example, a baseline may be defined as a breathing parameter that is typical for patients in a nursing home, or for users who have been prescribed a new respiratory medication for more than two weeks, or when weather conditions exceed certain limits (e.g., temperature or humidity or air quality levels, etc.), which is typical for residents of a city.
[0113] In some examples, the baseline breathing-related parameters may be stored by computing device 106. In other examples, the baseline breathing-related parameters may be stored by a third-party computing device, etc. The baseline breathing-related parameters may be initially determined based on user input. For example, the initial baseline breathing-related parameters may be based on pre-existing baseline breathing-related parameters determined for people of similar age, gender, height, weight, medical condition, etc. as compared to user 102. In this way, computing device 106 may be configured to determine baseline breathing parameters personalized for user 102.
[0114] In some examples, the baseline breathing parameters are fixed. In other examples, the baseline breathing parameters change over time. For example, computing device 106 may adjust (e.g., modify or update) one or more baseline breathing parameters at regular or irregular intervals in response to user input, the occurrence of a determined respiratory event, etc. By adjusting the baseline breathing parameters, computing device 106 may improve the accuracy of the baseline breathing parameters, help user 102 change the average breathing of user 102 over time, etc.
[0115] In some examples, comparing at least one output representing at least one breathing-related parameter to a corresponding baseline breathing-related parameter includes determining whether the at least one output representing the at least one breathing-related parameter is within a corresponding threshold of the corresponding baseline breathing-related parameter. In some examples, the corresponding threshold may be fixed. For example, the corresponding threshold may be predetermined based on user input. In other examples, the corresponding threshold may vary over time. For example, in response to user input, computing device 106 may adjust (e.g., modify or update) one or more baseline breathing parameters at regular or irregular intervals in response to user input, determination of the occurrence of a breathing event, data received from modules 162, 164, or 166, and the like. In some examples, the determination of a breathing event may depend on contextual information. For example, the threshold for determining a respiratory event may be adjusted based on one or more of the location of user 102 (e.g., whether user 102 is indoors or outdoors), environmental information (e.g., whether the user has been exposed to unusual environmental factors such as extreme weather or air quality issues), activity of user 102 (e.g., whether the user is engaging in physical activity or resting), and respiratory event history (e.g., whether the user has reported other respiratory symptoms in the past 24 hours).
[0116] After confirming the occurrence of a respiratory event, Fig.14 The illustrated technique includes displaying an indication of the occurrence of a respiratory event on display 210 of user interface 208 (308). For example, as described above, computing device 106 includes output device 156. Output device 156 provides a video output to display 170 via user interface 108. In addition or alternatively, output device 156 may provide other output media to the user, such as tactile output, audio output, etc. By providing the output media to user interface 108, computing device 106 may notify user 102 of the occurrence of a respiratory event. In other examples, computing device 106 may transmit the indication of the occurrence of a respiratory event to one or more external devices via network 110 using communication unit 154. By transmitting the indication of the occurrence of a respiratory event to one or more external devices, computing device 106 may notify user 102 of the occurrence of a respiratory event through the one or more external devices.
[0117] In some examples, when the occurrence of a respiratory event is determined or a respiratory state, trigger, or trend is detected, machine learning is used to determine relevant breathing-related parameters and calculate weights to be associated with such breathing-related parameters. In some such examples, the detection module 164 receives potential breathing-related factors collected from multiple users. Some users exhibit breathing patterns that are classified as normal breathing, while other users exhibit breathing patterns associated with certain breathing disorders. By comparing the breathing-related parameter information with a dictionary of breathing-related parameters derived from, for example, both normal people and asthmatics, the detection module 164 can calculate a breathing score for each user that is associated with the severity of their asthma symptoms. In addition, the detection module 164 can determine, for each user, the breathing-related parameters that are most relevant to determining their breathing state.
[0118] Lightweight and wearable physiological monitors can monitor and record a variety of health conditions. For example, detection module 164 can use such monitors to detect parameters related to determining the user's respiratory function. For example, detection module 164 can be used to detect the severity of respiratory disorders (such as asthma and chronic obstructive pulmonary disease (COPD)) and monitor respiratory disorders. Monitoring methods may include detecting chemical elements from exhaled gas, sounds (coughs or aerosols) detected in the chest or larynx, and measuring relative motion in the chest wall or abdomen. In an exemplary method, sensor 104 includes a device for measuring breathing based on the pressure applied between the chest or abdomen and a piece of clothing (such as a belt or elastic band), as described in more detail below. In such an exemplary method, the device measures breathing-related parameters, such as the cycle time of the respiratory cycle, and one or more of the tidal volume, inspiratory flow, inspiratory pause, expiratory flow, and expiratory pause of each person being measured.
[0119] Fig.15 is a flow chart of an exemplary technique for detecting conditions such as a user's breathing state. Figure 1 Description of System 100 Fig.15 However, in other examples, different systems, different computing devices, or both may be used to perform Fig.15 Additionally, system 100 and computing device 106 may perform other techniques for receiving breathing-related parameters.
[0120] In one exemplary method, Fig.15 The illustrated technique includes receiving potential breathing-related parameters collected from a user population (320). In an example based on asthma detection and monitoring, the user population includes people with and without asthma. Asthma conditions are characterized by physiologists as airway obstruction, typically caused by bronchial inflammation. Asthma is described as reversible airway obstruction because certain medications (such as the beta agonist albuterol) can partially reverse the condition and allow asthmatic subjects temporary relief.
[0121] In one exemplary method, the detection module 164 determines available breathing-related parameters that help distinguish asthmatic breathing states from normal breathing states, and help distinguish asthmatic breathing states from other common conditions (such as rapid breathing due to physical movement or excitement) (322). Various techniques for detecting available samples are described above.
[0122] In one exemplary method, detection module 164 attempts to detect signs of airway obstruction. Detection module 164 then assigns weights to the breathing-related parameters that are considered most relevant in determining a given condition (such as a breathing state, a breathing event, a trigger, or a trend) (324) and stores an indication of the relevant parameters in a feature vector. Detection module 164 then publishes the weights associated with each feature in the feature vector for the condition to computing device 106 (326).
[0123] In one exemplary method, computing device 106 receives weights associated with each feature in a feature vector and applies the weights to the breathing-related parameters received at computing device 106 to determine whether a condition has been met (328). For example, a feature vector associated with detection of asthmatic dyspnea may include features associated with breathing-related parameters received from sensor 104 and features associated with breathing-related parameters received as environmental information. As an example, the feature vector is an encoded string. Each word in the string represents a breathing-related parameter, a weight assigned to the breathing parameter, etc. In this way, the feature vector provides an efficient method to summarize and store in memory all or substantially all of the breathing-related parameters used by computing device 106 (or detection module 164) to detect, determine, or assess respiratory state.
[0124] In one exemplary method, when the condition is met, the user is notified via the user interface 108 (330). In one such exemplary method, the user may indicate whether he or she agrees with the determination (332). If the user agrees with the determination (yes branch), the computing device 106 continues to monitor the breathing-related parameter at 328. However, if the user disagrees with the determination (no branch), the computing device 106 modifies one or more weights of the features in the feature vector to reflect the feedback received from the user before returning to monitoring the breathing-related parameter at 328 (334).
[0125] In one exemplary method, as described above, the detection module 164 determines both the feature vectors and the weights that are at least initially used by the computing device 106. For example, the detection module 164 may classify the severity of asthma based on the breathing patterns recorded from the pressure sensor on the abdomen of the user. In one exemplary method, the detection module 164 applies a pre-processing algorithm to discard breathing patterns with a low signal-to-noise ratio (SNR), and then applies a feature extraction method to develop a feature vector for each symptom based on relevant breathing-related parameters. The detection module 164 then determines whether the breathing feature structure collected, for example, across a user population, can be used, for example, to classify the severity of each patient's asthma symptoms.
[0126] Next, a representative preprocessing algorithm is discussed. Since in the above example, the breathing signal from the pressure sensor is a continuous signal, in an exemplary method, different instances of breathing are first segmented and synchronized with each other. This may involve, for example, detecting the start time point and the end time point of each breath.
[0127] The duration of each breath can then be calculated and stored as one of the features representing the respiratory signal. In one exemplary method, when synchronizing the respiratory signals, the duration of each respiratory signal is scaled so that each time-scaled respiratory signal lasts the same amount of time. In order to maintain the same number of samples in the respiratory signals, in one exemplary method, the time-scaled signals are resampled to have the same number of samples.
[0128] Next, methods of feature extraction will be discussed. In one exemplary method, the detection module 164 uses the breathing-related parameters such as physiological parameters, environmental parameters, user information, and measured sensor 104 data received from the above-mentioned pre-processing steps to train one or more classification algorithms. In one such exemplary method, the detection module 164 uses a labeled set of breathing features received from a subject population to train each classification algorithm.
[0129] For example, in one exemplary method, the detection module 164 uses a labeled group of aggregated respiratory features to train a classification algorithm to predict the severity of asthma symptoms. In one such method, the detection module 164 receives a labeled group of respiratory feature structures collected over time. For example, such a labeled training group can be generated by presenting a questionnaire about the severity of asthma symptoms to the subjects of the experimental study every 8 hours while monitoring the breathing of each subject. The questionnaire responses are then converted to represent the severity of asthma symptoms as a scalar value. The detection module 164 then applies a classification algorithm such as logistic regression or a decision tree to estimate the likelihood that the respiratory-related parameters associated with the features in the feature vector can be used to distinguish severe asthma symptoms from healthy or normal breathing. If successful, the detection module 164 can separate a scalar value representing the severity of asthma or an "asthma severity score", and can use the asthma severity score as feedback to the wearer of the sensor 104.
[0130] In another exemplary method, the storage component 158 stores a generalized feature vector in which unweighted breathing-related parameters await refinement based on user input. In one such method, the training module 166 refines the feature vector based on a labeled set of breathing features collected over time. For example, such a labeled training set can be generated by presenting a questionnaire about the severity of asthma symptoms to each new user every 8 hours while monitoring the user's breathing. The questionnaire responses are then converted to represent the severity of asthma symptoms as a scalar value. In one such exemplary method, the computing device 106 applies a classification algorithm such as logistic regression or a decision tree to estimate the likelihood that the breathing-related parameters associated with the features in the feature vector can be used to distinguish severe asthma symptoms from healthy or normal breathing.
[0131] In some exemplary methods, user 102 monitors changes in asthma severity scores generated by computing device 106 over a period of days to weeks. Users may then use such methods to track environmental influences or changes in their disease management, with sensitivity and consistency that would be difficult to derive from their own self-diagnosis.
[0132] In one exemplary method, the detection module 164 discards features from the aggregated feature vector that have minimal impact on the asthma severity score or whose impact falls below a selected threshold. The detection module 164 then assigns a weight representing the contribution of each feature in the aggregated feature vector to the severity score and distributes the aggregated feature vector and its associated weight to each computing device 106.
[0133] In one exemplary method, the detection module 164 uses a quantization method similar to the Voronoi tessellation to reduce the dimension of the feature vector. In this method, a k-means clustering algorithm with "L" clusters assigns a cluster index to each feature vector. Therefore, each feature vector can be represented as an integer scalar number (having a value between 1 and L).
[0134] Returning to the example of asthma severity scoring described above, due to the natural variation in the respiratory signal instances, decisions about the severity of asthma symptoms should be made based on changes in the respiratory signal patterns observed over a long period of time (i.e., within an hour or several hours). In order to represent the changes in the respiratory signal measured during the time period, in an exemplary method, the detection module 164 uses a histogram of quantified respiratory patterns to represent the changes in the pattern over time. Such a histogram may represent, for example, the frequency of occurrence of different respiratory patterns during the time period, and may be represented as an L-dimensional vector referred to as an aggregated feature vector. Other lossy and lossless compression techniques may also be used to collect necessary respiratory-related parameters over time. In such methods, the detection module 164 uses a labeled group of aggregated respiratory features to train a classification algorithm to predict the severity of asthma symptoms. As described above, the detection module 164 may receive a labeled group of aggregated respiratory features collected over time. Then, the detection module 164 applies a classification algorithm such as logistic regression or a decision tree to estimate the likelihood that the aggregated feature vector represents severe asthma symptoms and healthy or normal breathing. If successful, the detection module 164 may isolate a scalar value representing an asthma severity score and can use the asthma severity score as feedback to the wearer of the sensor 104 .
[0135] In some examples, the computing device 106 may perform the above-described Fig.15 One or more functions of the detection module 164 discussed. For example, the computing device 106 may receive an unweighted feature vector from the detection module 164. After receiving the unweighted feature vector, the computing device 106 may receive user input during a training period (e.g., the computing device 106 may collect information about survey questions from the user over one or more days). After receiving the user input, the computing device 106 may determine (e.g., calculate) an initial group weight used in the detection algorithm. After determining the initial group weight, the computing device 106 may receive subsequent user input and incrementally adjust the weight based on the subsequent user input. In this way, the computing device 106 may be configured to adjust the classification algorithm.
[0136] In some examples, displaying the occurrence of a respiratory event (330) includes transmitting a notification to user 102 via display 170 of user interface 108. Output device 156 may provide a video output to display 170 via user interface 108. In addition or alternatively, output device 156 may provide other media outputs (e.g., tactile output, audio output, etc.) to user interface 108 or other external devices. The notification includes at least one of the following: a respiratory state, an occurrence of a respiratory event, a trigger associated with at least one occurrence of a respiratory event, a trend associated with at least one occurrence of a respiratory event or at least one trigger, and a suggestion associated with a respiratory state, at least one occurrence of a respiratory event, at least one trigger, at least one trend, etc.
[0137] In some examples, computing device 106 queries location information module to determine location information that is temporally associated with the occurrence of, for example, a respiratory event, and then transmits such information to the user via display 170 of user interface 108. For example, computing device 106 may instruct processor 150 to store the current location of user 102 in location information module. Location information module may then transmit the location information to at least one of storage components 158.
[0138] In some exemplary methods, computing device 106 may determine whether a respiratory event has occurred based on a location associated with a sedentary activity of user 102, such as a residence or workplace of user 102, or a location associated with a dynamic activity of user 102, such as a gym or when user 102 is moving. For another example, computing device 106 may determine whether a respiratory event has occurred based on a location associated with one or more occurrences of a respiratory event, such as a location with an allergen to which user 102 is sensitive. By basing the algorithm on location information, respiratory monitoring system 100 may more accurately determine at least one of the following: an occurrence of a respiratory event, a trigger associated with at least one occurrence of a respiratory event, a trend associated with at least one occurrence of a respiratory event or at least one trigger, a suggestion associated with at least one occurrence of a respiratory event, at least one trigger, at least one trend, and the like.
[0139] In some examples, the environmental information module uses the location information to determine one or more environmental parameters that are temporally associated, spatially associated, or both, with the occurrence of a respiratory event. For example, in response to determining the occurrence of a respiratory event, the computing device 106 may cause the environmental information module to determine one or more environmental parameters from the environmental information platform based on the current location of the user 102. In other examples, the environmental information module may determine one or more environmental parameters based on user input, estimated spatial information associated with the user 102 (e.g., the last known location of the user 102, the location of the residence or workplace of the user 102, etc.). The environmental information module may transmit the one or more environmental parameters to at least one storage component in the storage component 158.
[0140] The computing device 106 may determine whether a respiratory event has occurred based on one or more environmental parameters. For example, the computing device 106 may determine an algorithm based on one or more of the following: temperature, air pressure, humidity percentage, dew point, precipitation probability percentage, cloud cover percentage, wind speed, air quality index (e.g., value, category, or both), major pollutants, pollen counts (e.g., relative scores associated with different types of pollen, etc.), UV index, such as environmental parameters or expected values of such environmental parameters or trends in values of such environmental parameters. As an example, the detection may be based on the air quality index of the current or predicted location of the user 102, so that the computing device 106 generates a notification to the user 102 indicating the probability of occurrence of a respiratory event. By basing the detection of respiratory events on one or more environmental parameters, the respiratory monitoring system 100 may more accurately determine at least one of the following: the occurrence of a respiratory event, a trigger associated with at least one occurrence of a respiratory event, a trend associated with at least one occurrence of a respiratory event or at least one trigger, a suggestion associated with at least one occurrence of a respiratory event, at least one trigger, at least one trend, etc.
[0141] In some examples, the detection module 164 uses the occurrence of a respiratory event, the location of the user 102, and at least one of one or more environmental parameters to determine a trigger associated with a corresponding occurrence of a respiratory event. A trigger is associated with the occurrence of a respiratory event when the trigger is associated with the occurrence of one or more respiratory events (e.g., temporally concurrent or spatially related), causes the occurrence of one or more respiratory events (e.g., a contributing factor, a source factor, or an exclusive factor), etc. In some examples, the trigger includes a potential trigger. The potential trigger may be based on at least one of location information, one or more environmental parameters, or user input before the respiratory event occurs. In an exemplary method, the trigger module may transmit the occurrence of a respiratory event to at least one storage component in the storage component 158.
[0142] In some examples, determining that a particular location is associated with the occurrence of a respiratory event can be based on two or more respiratory events occurring at the particular location, based on user input (e.g., a user identifying a location as more likely not to be associated with the occurrence of a respiratory event), etc. As an example, the triggering module can determine that a particular outdoor area is a trigger when the particular outdoor area is associated with two or more difficult breathing events.
[0143] In the same or different examples, determining that one or more environmental parameters are associated with the occurrence of a respiratory event can be based on two or more respiratory events occurring when the one or more environmental parameters occur near user 102. For example, when the two or more respiratory events occur at a location where the air quality index is equal to or greater than a particular air quality index value (the air quality index is in a range of 0 (best) to 500 (most dangerous)), the trigger module can determine that the particular air quality index is a trigger.
[0144] In some exemplary methods, computing device 106 may notify user 102 based on one or more triggers. As an example, notification may be based on a trigger associated with a particular location or one or more environmental parameters, such that the notification is based on a probability of occurrence of a respiratory event at a particular location, when one or more environmental parameters are present, or both. By basing notification on one or more triggers, monitoring system 100 may more accurately determine at least one of: an occurrence of a respiratory event, a second trigger associated with at least one occurrence of a respiratory event, a trend associated with at least one occurrence of a respiratory event or at least one trigger, a recommendation associated with at least one occurrence of a respiratory event, at least one trigger, at least one trend, and the like.
[0145] In some examples, detection module 164 uses the occurrence of two or more respiratory events, the location of user 102, one or more environmental parameters, and one or more triggers to determine a trend associated with the respective occurrences of respiratory events. The trend identifies the occurrence of multiple respiratory events associated with one or more locations, one or more environmental parameters, user input, etc., as described above. For example, detection module 164 may determine a notification indicating the one or more locations, one or more environmental parameters, user input, etc. associated with the occurrence of multiple respiratory events. Detection module 164 may transmit the trend to at least one storage component in storage component 248. By determining and transmitting the trend, monitoring system 100 may notify user 102 of the trigger.
[0146] In some examples, detection module 164 uses trends to determine one or more potential occurrences, potential triggers, and the like of respiratory events. As one example, detection module 164 may determine that a particular location is associated with the occurrence of a respiratory event, and computing device 106 may generate a notification to user 102 when user 102 is near, proximate, or at the particular location. As another example, detection module 164 may determine that one or more environmental parameters are associated with the occurrence of a respiratory event, and computing device 106 may generate a notification to user 102 when the one or more environmental parameters are present at the location of user 102, when environmental information shows a trend toward one or more environmental parameters, and the like. As another example, detection module 164 may determine that past user inputs are associated with the occurrence of a respiratory event, and computing device 106 may generate a notification to user 102 when user 102 provides the same or similar current user input to computing device 106. By determining trends, monitoring system 100 may notify user 102 of the potential occurrence of a respiratory event before the respiratory event occurs. In this way, detection module 164 may determine a notification indicating the potential occurrence of a respiratory event.
[0147] The computing device 106 may also generate notifications to the user 102 that identify occurrences of respiratory events over a period of time, rank triggers (e.g., location, one or more environmental parameters, user input, etc.), indicate a probability of occurrence of future respiratory events, etc. By basing the notifications on one or more trends, the respiratory monitoring system 100 may more accurately determine at least one of: an occurrence of a respiratory event, a trigger associated with at least one occurrence of a respiratory event, a recommendation associated with at least one occurrence of a respiratory event, at least one trigger, at least one trend, etc.
[0148] In some examples, detection module 164 uses at least one of the occurrence of respiratory events, the location of user 102, one or more environmental parameters, one or more triggers, and one or more trends to determine a recommendation. The recommendation may include any suitable information to help user 102 improve the respiratory function of user 102. For example, detection module 164 may determine a notification indicating that one or more locations, one or more environmental parameters, user input, one or more triggers, etc. are associated with the occurrence of one or more respiratory events. Detection module 164 may transmit the recommendation to at least one storage component in storage component 158. By determining and transmitting the recommendation, monitoring system 100 may notify user 102 of the recommendation.
[0149] In some examples, computing device 106 may adjust (eg, modify or update) detection of respiratory events, trends, and other indicators of respiratory function based on input from user 102 . Fig.16 is a flow chart of an exemplary technique for adjusting a detection algorithm based on input from a user 102 according to one aspect of the present disclosure. Figure 1 System 100 and Figure 2 Description of computing device 106 Fig.16 However, in other examples, different systems, different computing devices, or both may be used to perform Fig.16 Additionally, system 100 and computing device 106 may perform other techniques for receiving breathing-related parameters.
[0150] Fig.16 The illustrated technique includes determining, by computing device 106, at least one trigger, trend, and suggestion based on at least one of an occurrence of a respiratory event, environmental information, location information, and user input (350). For example, computing device 106 may apply a method to determine (e.g., a first algorithm) at least one trigger, trend, and suggestion based on at least one of an occurrence of a respiratory event, environmental information, location information, and user input.
[0151] After determining at least one trigger, trend, and recommendation (350), Figure 7 The technology includes receiving input (352) from a user 102. The user input is associated with at least one of a determined trigger, a determined trend, and a determined suggestion.
[0152] After receiving user input at 352, Fig.16 The technology includes determining whether the determined triggers, the determined trends, and the determined recommendations are accurate based on the received user input (354). For example, the received user input may include an indication that at least one of the location and one or more environmental parameters is associated with the occurrence of a respiratory event. In some examples, the second user input may indicate that the determined triggers, the determined trends, and the determined recommendations are accurate (yes branch). In other examples, the received user input may indicate that the determined triggers, the determined trends, and the determined recommendations are not accurate (no branch). In this way, Fig.16 The technique includes determining whether the first algorithm is accurate. In the example where the algorithm is accurate (yes branch), the algorithm may not be adjusted, and the technique may end.
[0153] In the example where the algorithm is inaccurate (no branch), computing device 106 may adjust the first algorithm based on the second user input to generate a second algorithm (356). After generating the second algorithm at 356, Fig.16The illustrated technique includes determining, by the computing device 106, for example, at least one trigger, trend, and recommendation based again on at least one of the occurrence of a respiratory event, environmental information, location information, and user input (repeating step 350). The computing device 106 may repeat steps 350, 354, and 356 n times until the nth algorithm is accurate. By adjusting the algorithm based on the received user input, the respiratory monitoring system 100 may more accurately determine at least one of the following: the occurrence of a respiratory event, a trigger associated with at least one occurrence of a respiratory event, a trend associated with at least one occurrence of a respiratory event or at least one trigger, a recommendation associated with at least one occurrence of a respiratory event, at least one trigger, at least one trend, etc.
[0154] Fig.17 is a block diagram illustrating a device training system according to one aspect of the present disclosure. Fig.17 In the example shown, device training system 140 includes sample quality detector 390 and training module 392. Sample quality detector 390 is connected to historical sensor data 142 via link 141. Training module 392 is connected to algorithm storage 144 via link 143. In some exemplary approaches, device training system 140 is connected to user device 101 via link 130. In one exemplary approach, device training system 140 includes a computing device, one or more storage components, and a user interface.
[0155] Fig.18 A flow chart showing an exemplary technique for generating an algorithm for detecting quality samples according to one aspect of the present disclosure is shown. Figure 1 Description of the respiratory monitoring system 100 Fig.18 However, in other examples, different systems, different computing devices, or both may be used to perform Fig.14 Additionally, the respiratory monitoring system 100 may implement other techniques for generating algorithms for detecting quality samples.
[0156] Fig.18 The illustrated technique includes receiving at least one output representing at least one breathing-related parameter from historical sensor data 142 (402). The breathing-related parameters include breathing parameters, environmental information, position information, user information, etc. In some examples, the breathing parameters include the amplitude, rate, and duration of inspiration, exhalation, or both. In other examples, the breathing parameters may include other parameters indicative of breathing, such as ventilation flow, tidal volume, consistency of breathing rate, pulse rate, oxygen saturation, spectral density, etc. In some examples, the device training system 140 receives at least one output representing at least one breathing-related parameter from other sources such as, for example, computing device 106, a third-party computing device, etc.
[0157] After receiving at least one output representing at least one breathing-related parameter, Fig.18 The illustrated technique includes extracting feature data from the historical data (404) and filtering outliers in such feature data (406). The technique then determines one or more quality detection algorithms 200 based on at least one available breath sample (408), and then stores the algorithms 200 to one or more of the algorithm storage 144 and the user device 101.
[0158] Next, techniques for detecting events based on time-series measurement samples of one or more parameters associated with a biological function monitored by a sensor device will be described.
[0159] Fig.19 A technique for adding a new user to a monitoring system according to one aspect of the present disclosure is shown. In one exemplary method, the technique utilizes historical data from a set of wearable devices and data received from a new user to detect, track, and predict events. The technique is based on the idea of transfer learning, enabling new users (technically referred to as "target" users) to be quickly uploaded by utilizing a classifier that is accurately trained by data available for existing users of the device (technically referred to as "source" users).
[0160] In the context of transfer learning, the main challenge is that the distribution of data acquired from wearable devices may vary greatly between users. This may be due to different wearing habits of each user or biological differences between them. Therefore, simply applying a trained classifier to data collected from one participant to another may not produce better results than a random classifier. In the transfer learning literature, the concept of "negative learning" was established to describe the scenario where the data distribution between users is so different that transferring the classifier may even harm the classification results.
[0161] While the technique is described in terms of wearable sensors and users of such devices, it can be applied to other fields and other types of sensors where the sensor characteristics are not the same. In the rest of this document, we use signals representing breathing and activity as examples, but the presented approach can be applied to other signals of a cyclic nature.
[0162] In one exemplary method, Fig.19The technical application of includes a pipeline of source domain training module 500, source domain prediction module 502, domain adaptation module 504 and target domain prediction module 506. In one such exemplary method, source domain training module 500 uses data from various existing source users to train accurate classifiers. Source domain prediction module 502 applies the classifier trained by module 500 to unlabeled data samples (collected from the target user's device) and makes predictions for these samples. Domain adaptation module 504 uses the (possibly very small number of) labeled and unlabeled samples obtained from the target domain user to adjust the existing source domain classifier to the (potentially different) data distribution from the new user. Finally, target domain prediction module 506 aggregates predictions from modules 502 and 504 to improve the prediction accuracy of one or more of modules 502 and 504. In the figures of this section, the boxes with dashed lines include (classification or clustering) rules learned experimentally from the data. Solid boxes represent, for example, data sets.
[0163] In one example for monitoring breathing patterns, the source domain predictive model may be derived from historical data on a large number of clinical subjects in respiratory studies, while the target domain model may be sought to have characteristics specific to a particular individual or to have characteristics specific to a class of individuals (e.g., people diagnosed with asthma).
[0164] In another example, using the example of a home HVAC system, a set of time series data can be used to monitor the functionality of air filters installed for different HVAC units. In this case, the source domain includes the units from which a large amount of labeled time series data is collected, and the target domain includes any new HVAC units that may not be seen in the source domain. Similar to the diversity that exists among human users in the previous biological example, HVAC units may vary greatly depending on their size, age, manufacturer, environmental conditions, and installation.
[0165] FIG. 20A to FIG. 20D It further shows Fig.19 In one exemplary method, Fig.19 The source domain training module 500 uses historical data to make predictions for new samples. One example is to use majority voting and average the predictions from classifiers previously trained on historical data. More advanced methods can also be applied. Fig. 20A An example is shown in , where the first module consists of several smaller blocks. This module takes labeled time series samples from multiple source domain users as its input and generates several classifiers (in Fig. 20A In the case of , there are M classifiers). Fig. 20AAs shown, each time series sample has three components: the original waveform sequence, a label (zero or one in the simple binary case), and information about the user from whom the sample was obtained. In the special case of an asthma user population, the user information may include a patient identification number or their asthma severity rating.
[0166] In one exemplary method, a data sequence representing samples 600 of time series measurements is first passed through a feature extraction block 602. This block creates features 604 using only the raw data component of each sample. Thus, even though, for example, a user ID may be used as part of the "information" component of the sample, it does not contribute to the output features of block 602. The number of features extracted by block 603 may be unlimited in order to capture all conceivable characteristics of the waveform. However, in practice, classification performance will saturate after including a limited number of features. Including more than this number of features will generally incur additional computational cost without providing further performance improvement.
[0167] The learn clustering block 606 divides the samples 600 into different clusters based on the distinction made by the criteria block 608. The basic assumption here is that the existing sample points are generated by a mixed distribution. Therefore, before training any classifier, it is important to cluster the samples and then train a classifier specific to the clustering. For example, the clustering criterion can be the user ID (assuming that all samples from a single user are generated from the same distribution, which may be different from the distribution of other users). Other examples of clustering criteria may include asthma classification, location, gender, age, body mass index, signal characteristics. The clustering module 610 is the result of block 606 and includes the clustering rules (represented by the dotted lines) learned by the clustering module 610.
[0168] In one exemplary method, module 500 applies clustering module block 610 to each data point to attach a length M vector of clustering weights to the data point. In one such exemplary method, the i-th weight element indicates the degree to which the sample belongs to the i-th cluster. Fig. 20A The clustering method used in can generate weights of zero or one (called "hard clusters"), or it can generate weights that are real-valued and lie between zero and one and sum to one (called "soft clusters").
[0169] The learning classifier module 614 receives the cluster feature data 612 and determines a cluster-specific classifier for the data 612, which is represented here by CS_1, CS_2...CS_M, where CS is used to represent a classifier trained in the source domain, and M represents the number of such clusters. Note that the number of clusters M is a hyperparameter that can be provided by the "criteria" block 608 during the clustering stage. The dotted line here represents the "classification rule" learned by the module 500.
[0170] Please note that Fig. 20A The performance of the illustrated learn clustering block 606 has an impact on the performance of the subsequent learn classifier block 614. Therefore, in the event that the training performance of the classifier does not meet the acceptance criteria, it may be important to provide feedback to the clustering module 610 and improve the data clustering task. Fig. 20A The arrows between the learned classifier 614 and the criterion 608 represent feedback. These two units may require multiple iterations until they reach near-optimal clustering and classification rules that meet the performance criteria.
[0171] Fig. 20B Shows Fig.19 An exemplary method for the source domain prediction module of Fig. 20B In the exemplary method of , the source domain prediction module 502 uses the classifier trained by the source domain training module 500 to predict the label of a new sample whose correct label is unknown. Fig. 20B As shown, the first block of this module (clustering module 620) is used to indicate the cluster to which the sample belongs. As explained in the previous section, in this figure, w 1 , w 2 …w M The cluster weights denoted by may be zero or one (in the case of hard clustering), or take any real value between zero and one (in the case of soft clustering). In either case, the weights must sum to one, i.e., ∑ i w i = 1. After obtaining the clustering weights, the additional sample vector can be input to all source domain classifiers, and the label of the vector will be predicted by these classifiers. Since when it comes to prediction, each classifier C j can be regarded as functions that operate on the sample feature vector x, so the label predicted by the classifier can be expressed as C i(x) .
[0172] In some exemplary methods, the final prediction is a weighted average of all M predictions from the source domain classifiers, where the weights come from the clustering module. The source domain module is most accurate when the input samples belong to the same distribution as the source domain training data. When this assumption does not hold, the domain adaptation module (discussed below) can be used to address the distribution difference between the source and target domains.
[0173] Fig. 20C Shows Fig.19 An exemplary method of the domain adaptation module 504. Fig. 20C In the exemplary method of , module 504 utilizes additional labeled data to create a classifier for classifier module 630. The classifier can be created from scratch using, for example, labeled data. Assume that several labeled samples (e.g. Fig. 20CThe purpose is to use the labeled samples to adjust the trained source domain classifier and obtain a new target domain classifier, which is composed of Fig. 20C CT 636 in . Similar to module 502 , at 632 , a clustering block 630 is first used to filter out samples that do not belong to the same cluster as the unlabeled samples.
[0174] As before, after passing the data points through block 630, each sample is appended with a vector of length M including clustering weights (here again we assume that the weights are strictly equal to zero or one). The adapted classifier from a set of filtered target domain samples is then trained using the Learn Target Classifier module 634 (described below). As shown, the Learn Target Classifier block also uses the source domain classifier as its input and attempts to learn an adapted classifier.
[0175] Fig.20D Shows Fig.19 An exemplary method of the target domain prediction module 506 in FIG. Fig.20D In the exemplary method of FIG. 6 , the first step is to extract features from the raw time series data via the feature extraction block 646 and form a feature vector 648 of the collected target domain samples. Then, depending on whether labeled samples are available (i.e., whether N>0), two cases are possible. In the case where no labeled samples are available, the user device 101 only uses Fig. 20B Module 502 (ie, source domain prediction module) in is used to predict the labels of unlabeled samples. In this case, the prediction accuracy may be highly dependent on the similarity between the distribution of target domain samples and the distribution of source domain samples used when training the source domain classifier.
[0176] In the case of N>0, features 642 and 648 are extracted from the target domain data by feature extraction blocks 640 and 646, respectively. The feature data may then pass through modules 502 and 504, and the predictions generated by the two modules may be aggregated by a classifier hybrid unit 650. In one exemplary approach, the classifier hybrid unit 650 simply averages the votes of the two modules 502 and 504. In another exemplary approach, the classifier hybrid unit assigns different weights to the predictions of modules 502 and 504 based on their reliability.
[0177] Next, techniques for learning the target classifier are discussed. In one exemplary approach, the system 100 utilizes transfer learning techniques. The transfer learning method utilized is a variant of the "TaskTrAdaboost" algorithm proposed by. TaskTrAdaboost is based on an overall learning approach that attempts to intelligently combine multiple classifiers from multiple source users to obtain a classifier for a new participant. In essence, the new classifier can be a weighted average of already existing classifiers, where the value of the (non-negative) weight is considered to determine the amount of knowledge transfer from the existing user pool to the new user pool.
[0178] Similar to the TaskTrAdaboost approach, the algorithm used to implement the learning target classifier 634 is a supervised ensemble method. Therefore, it requires a small set of labeled data collected from devices worn by the (new) target users. It differs from TaskTrAdaboost in some ways, which will be described later in this section.
[0179] In one exemplary approach, the training module 392 requires as input a set of source domain classifiers that have been trained with rich data from (pre-existing) source users. The source classifier set will be represented by C = {cs 1 ,cs 2 , ..., cs M}, indicating that cs j is the jth source domain classifier, as defined previously.
[0180] Similar to Adaboost, in one exemplary approach, the algorithm initially assigns the same importance value to all training data samples from the target user. Mathematically speaking, suppose there are n training samples from the target user, each consisting of a tuple (x i ,y i ) characterization, where 1≤i≤n, where x i represents the eigenvector, and y i represents the correct label of the sample. Then, the initial importance value i of the sample is simply set to Therefore, the sum of all importance values is equal to 1, that is
[0181] In each iteration of the algorithm, all source classifiers in C are applied to the target user’s labeled training data set, and the weighted error of each classifier is calculated by the following formula: where 1[·] is equal to 1 if the operand is true and zero otherwise. The classifier with the smallest error value is then selected for negative transfer testing (this is a factor that distinguishes it from the TaskTrAdaboost algorithm).
[0182] In one exemplary method, the negative transfer test is as follows: if the weighted error value ∈ of classifier c is less than a threshold γ (set to γ = 0.5 by default), then (1) classifier c is added to the initial empty set S of the final target classifiers, (2) classifier c is removed from the initial pool of source classifiers C, and (3) a scaling factor α>0 is calculated for this classifier (to be discussed). Otherwise, the algorithm terminates due to negative transfer and the current set of final classifiers S and the corresponding scaling factor α are returned. In the case that the set S is empty at this stage, this means that transfer learning is not more effective than a random classifier for this user!
[0183] Set the weight of classifier c to where ∈ is the error of the classifier calculated in step c.
[0184] After each iteration, the importance value of the data point can be modified as follows. For sample i, the importance value will be set to in is the predicted label for this sample by classifier c that has passed the negative transfer test of the current iteration. If the number of positive and negative samples in the training dataset is not almost equal, we use a slightly different update mechanism. In this case, we update according to the formula Update the importance value, where θ i ∈(0, 1) is inversely proportional to the cardinality of a set of identically labeled samples in the training dataset. This method of solving the problem of data imbalance is promoted. The algorithm continues until the set C is empty or negative transfer occurs. If S = {c 1 , c 2 , …, c T} and {α_1, α_2, …, α_T} represent the set of all selected classifiers and their corresponding scaling factors, where T represents the total number of algorithm iterations. The final target classifier is given by Given.
[0185] Next, a technique for detecting an event based on a combination of both value information and time information will be described.
[0186] The more the system 100 extracts and utilizes the information residing in the data received from the sensors 104, the more accurate such algorithms become. Fig.21 is a block diagram illustrating a technique for exploiting information residing in current time data (such as signal shape and characteristics) as well as information in the dynamics and transitions of the signal between successive time intervals to produce more accurate algorithms for detecting and predicting events.
[0187] Time series data is a special type of data that includes both value information and time information, and applying only machine learning methods such as classification may not produce acceptable results. Machine learning classifiers treat each time interval of data as an independent sample to extract features and assign a label or class to it. Therefore, in these methods, the dependency of time intervals and the dynamic information transformations residing in the data are largely ignored.
[0188] A sensor system designed to monitor changes in an individual's breathing pattern is an example of time series data that has both value information and time information. In the example of an electricity network, where the supplier wants to predict the future consumption of a user, a dynamic model can exploit the consumption patterns of the user over a given number of days; a measurement model can exploit any kind of sensory data that is directly or indirectly related to electricity use (e.g., current weather data or the number of people in a home can be used to develop a measurement-based model).
[0189] Fig.21 The method shown uses a dynamics-based algorithm to capture the dynamics of the time series, and the method is used to improve the accuracy of measurement-based models (such as classifiers). Fig.21 The method shown utilizes both information residing in the current time data, such as signal shape and characteristics (measurement-based models), and information in the signal history and transitions between successive time intervals (dynamic-based models). The method then intelligently fuses these two sources of information together to build a more accurate algorithm for detecting and predicting events based on time series measurement samples of one or more parameters associated with the biological function monitored by the user device 101.
[0190] Dynamic-based models are used to capture the dynamics of time series and to better describe the transformation patterns of the data. Dynamic-based algorithms provide the ability to fuse information from dynamic-based models with measurement-based models to improve / filter measurement-based results. In one exemplary method, Fig.21 The dynamics-based algorithm 700 shown is based on the following: a dynamics-based model 702, a measurement-based model 704, and a fusion of the two 706. The idea is to exploit both the information residing in the current time data, including signal shape and characteristics (measurement-based model), and information in the signal dynamics and transitions between successive time intervals (dynamics-based model) to produce the best prediction. Depending on the input and output data, this framework can be used for "detection" or "prediction."
[0191] Fig. 22 1 shows a time series of measurement samples received from a user device according to one aspect of the present disclosure. Fig. 22As shown, the general format of sensor data in the user device 101 is a collection of time series signals and corresponding tag sequences. In an exemplary method, the dynamic-based model 702 receives a tag sequence as input, which can also be considered as a discrete time series and a discrete value time series. The measurement-based model 704 does not care about the order (conversion) of the samples, so the samples are received as single samples. Each sample is equal to the time interval of the time series and the corresponding label.
[0192] As described above, the dynamics-based algorithm fuses information from the dynamics-based model 702 and the measurement-based model 704. Exemplary dynamics-based algorithms include Markov models and hidden Markov models (HMMs). In a Markov model, each state corresponds to an observable (physical) event. Such methods may be too limited to be applicable to many problems of interest. However, HMMs extend the concept of Markov models to include situations where observations are probability functions of the state. HMMs are a dual embedded stochastic process in which the underlying stochastic process is not observable (it is hidden) and can only be observed by another set of stochastic processes that produce a sequence of observations.
[0193] Generally speaking, the data input to the HMM should be (a set of) sequences; each sequence is a discrete time series. If the values (signal amplitudes) are discrete and finite, they are called observation words. Each of the following examples involves observation words.
[0194] In one exemplary method, the goal is to train the dynamics-based model 702 by using the observation sequence, and then use the model 702 to predict the most likely observation for the next time interval given the sequence up to the current time interval. In some exemplary methods, only the data up to time t-1 is used for the training phase, while the data from time t to the test phase is discarded. Note, however, that the length of the sequence can be arbitrary (different t) for both the training phase and the test phase, and the lengths are not necessarily all equal.
[0195] In one exemplary approach, the goal of the test phase is to find the probability distribution of the observed word at time t+1 given the sequence of observations up to time t:
[0196] P(O t+1 |O 1 , …, O t )
[0197] If HMM is used as the dynamics-based model 702, the target formula in the testing phase is as follows:
[0198] P(O t+1 |O 1 , …, O t)=P(O t+1 |s t+1 )P(s t+1 |O 1 , …, O t )
[0199] =P(〖O t+1 )|s t+1 ))P(s t+1 |s t )P(s t |O 1 , …, O t )
[0200] = emission probability × transition probability × forward algorithm likelihood (1)
[0201] Fig.23 A technique for training a dynamics-based model according to one aspect of the present disclosure is shown. Fig.24 A trained dynamics-based model 702 is shown applied to sensor data received from sensor 104 in accordance with one aspect of the present disclosure. Thus, variations of the dynamics-based model are as follows: Hidden Markov Model (HMM), one model trained for all data, one model trained for each data cluster; High-order Markov model, with appropriate choice of order.
[0202] In the following example, the system 100 trains an HMM model and uses the model to predict the Asthma Control Questionnaire (ACQ) score level and the user's daily reliever usage.
[0203] Observation = (ACQ score per day, # of reliever use per day) = (A, R)
[0204] Objective: Learn HMMs based on previous sequences of (A, R) for all users and predict the next day’s (A, R) for each user.
[0205] The daily ACQ scores (A) and reliever use status (R) were quantified into each interval and the following observation words were established: Observation word = {A0, A1, B0, B1, C0, C1, D0, D1}, where
[0206] A0: ACQ = [0, 0.5) and no mitigation agent is used
[0207] A1: ACQ = [0, 0.5) and use of one or more mitigating agents
[0208] B0: ACQ = [0.5, 1.5) and no mitigation agent is used
[0209] B1: ACQ = [0.5, 1.5) and use of one or more relievers
[0210] C0: ACQ = [1.5, 3) and no mitigation agent
[0211] C1: ACQ = [1.5, 3) and using one or more relievers
[0212] D0: ACQ = [3, 6] and no mitigation agent
[0213] D1: ACQ = [3, 6] and using one or more relievers
[0214] A training observation sequence is established based on the observation words until t-1. A HMM with 4 hidden states (representing the health status of the body, but not necessarily interpretable) is trained for all users (or each user category).
[0215] Parameters required to train HMM =
[0216] 4*4=16 conversion probabilities
[0217] 4*8=32 emission probability
[0218] 4 priorities (actually 3, since their sum is 1)
[0219] In the testing phase, the observation sequences of users up to t are provided to the trained HMM to find the most likely observation word for t+1 using formula (1).
[0220] Fig.25 A technique for training a measurement-based model according to one aspect of the present disclosure is shown. Fig.26 The application of a trained measurement-based model 704 to sensor data received from a sensor 104 is shown in accordance with one aspect of the present disclosure. The measurement-based model 704 is used with measurements / signals and labels / classes assigned to them to train the model. However, no labels are present for the signals during the testing phase, so the trained model 704 is used to assign labels to the signals. As an example of a measurement-based model, a machine learning classifier may be used to classify the signals based on features extracted from the signals and assign labels to them. If no labels are available at all, a machine learning clustering approach will be used as the measurement-based model 704.
[0221] Next we will discuss fusion. Fig.21 In the example shown, the outputs of the dynamic-based model 702 and the measurement-based model 704 are fused to improve and filter the results of each model individually. For this fusion, a linear combination of the results from the dynamic-based model and the measurement-based model is used to determine a probability distribution that is weighted summed and whose confidence (or training accuracy) is the weight:
[0222] k 1 P 1 +k 2 P 2
[0223] Note that this fusion model is not trained on the data, but is added to the framework after the training phase (for the test phase). Other fusion variants can use the same linear combination model, but instead train it during the training phase, where the weights k 1 and k 2 is part of the hyperparameters trained using the data. Any nonlinear combination of probability distributions, such as g(P 1 , P 2 ), other variations may be considered for the fusion part.
[0224] Fig. 27 A fusion example is shown in which the results of the HMM method as a dynamic-based model 702 are fused with the results of the machine learning classifier as a measurement-based model 704. M, Y, and O represent the measurement signal, the classifier result, and the observation, respectively. Note that the observation O in the test phase can come partly from the ground truth label and partly from the fusion output, or can come entirely from the fusion output. If the test user can use any historical ground truth label O 1 ,..., t , then they are used to predict from t+1, and after fusion, they build O t+1 , the rest of…
[0225] exist Fig. 27 In the example of , the fusion window size is 1, which can be pushed to higher orders in other variations. In addition, if M t It is input instead of M t+1 , the exact same framework can be used for “prediction” instead of “detection”.
[0226] Next, a framework for detecting and predicting respiratory events, such as asthma attacks, and other types of respiratory events that compromise human breathing patterns will be described. For clarity, "asthma attacks" are only a specific example of detection; the framework can be applied to other physiological signals.
[0227] During an asthma attack, air may have difficulty exiting the lungs, resulting in symptoms such as coughing, wheezing, chest tightness, shortness of breath, etc. The duration and symptoms of asthma attacks vary greatly between patients. While asthma patients are broadly categorized as mild, moderate, and severe, there is no clear pattern describing triggers and symptoms between different patients, making it a very difficult pattern recognition problem. At the same time, the varying duration of asthma attack events introduces additional difficulty, as it is difficult to pinpoint the exact timing of the event. The variation depends largely on the cause of the attack and how long the airways have been inflamed. An attack can last from just a few minutes to several hours.
[0228] The key to helping asthma patients is to enable them to have technology that can recognize asthma attacks early so that intervention can be made, such as through the use of rescue inhalers. In addition, an accurate tracking framework opens the door to trigger analysis using advanced data analytics tools to deploy preventive strategies.
[0229] Fig.28 800 is shown in which the system 100 receives raw data 802 according to one aspect of the present disclosure. Fig.28 In the example shown, the raw data 802 includes sensor data captured by the sensor 104, weak labels associated with events, and auxiliary information such as environmental information and demographic information. Fig.28 In the exemplary method of , feature extraction 804 extracts measurement samples from raw data 802 to deliver signal features based on sensor data as well as feedback from user 102, timestamps, and inhaler usage information. Fig.28 In the exemplary method of FIG. 8 , one or more algorithms are applied at 806 to detect strong labeled data and weak labeled data (such as those described above in Figures 3 to 13 The available signals are filtered at 808 and features are extracted from the available samples at 810. A check is performed at 812 to determine if a respiratory event has occurred, and at 814 the likelihood of symptoms occurring throughout the day and the likelihood of a respiratory event occurring are inferred.
[0230] In one exemplary method, the user 102 is asked to wear the sensor 104 so that proxy physiological signals can be measured, including but not limited to pressure when a person breathes, accelerometer capture activity, and body temperature. In theory, one sample in the raw data can represent one type of signal. Or the raw data 802 may include multiple signals stacked together, such as pressure data stacked with accelerometer (x-axis, y-axis, and z-axis) data. The raw data may also include auxiliary information, such as ambient temperature and pressure, various allergen counts in the atmosphere, etc.
[0231] Asthma events vary in duration, and may last from just a few minutes to several hours. In one exemplary method, Fig.28 An exemplary method of utilizes medical intervention to establish the peak concept of the ongoing event. For example, in Fig.28 In the example of , computing device 106 uses a timestamp to indicate when the subject used his / her rescue inhaler to treat an ongoing attack. Fig.29 The occurrence of interventions in a time series measurement sample stream according to one aspect of the present disclosure is shown. The underlying assumption is that patients will use a rescue inhaler when they realize that symptoms are getting worse and they need immediate treatment. Rescue inhalers provide immediate relief of asthma symptoms. In some exemplary methods, notification (timestamp) of rescue inhaler usage can be provided by the patient in the form of direct written feedback, digitally through a survey application, or a sensor deployed in the inhaler itself, which can transmit usage data via the cloud.
[0232] There may be uncertainty about when an asthma event begins and when it ends completely. Fig.28 In the exemplary method, the system 100 analyzes Fig.29 This uncertainty is addressed by sampling the raw data around the rescue inhaler timestamp shown. In one such approach, the sample duration "T" before and after the use of the rescue inhaler is a parameter in the proposed framework that can be optimized through experiments across various subjects. Data from the period before the use of the rescue inhaler is assigned a label of -1, while a +1 label is assigned to samples from after the use of the rescue inhaler. There are various ways in which a labeled data matrix can be created in which the last column corresponds to the label of the sample:
[0233] 1. Use each label as one example for each label before and after a sample of length T
[0234] 2. Create multiple samples of length T / N from before the emergency inhaler is used, all raw data are labeled as -1, and create another set of T / N samples from after the emergency data are labeled as +1, where N is used to further divide the samples of length T into smaller repeating units (e.g., cycles) for analysis (see Figure 3 ). N can also be considered as a parameter to be determined experimentally
[0235] 3. Detect individual breaths in the raw data and label them based on what occurred before and after using the rescue inhaler
[0236] Before training the model for event detection, the system 100 filters the data based on the quality of the data. This can be critical to ensure the accuracy and robustness of the trained model. Poor quality data can affect the performance of the machine learning algorithm, and such results can become less reliable. Some of the reasons that can cause data degradation for wearable sensors are when the sensor 104 is not worn, the sensor 104 is not worn correctly and has poor contact with the body, the sensor 104 is worn but the subject is doing physical activity that may affect the sensor's measurements, or the breathing data may have been modulated with low frequency activity.
[0237] As described above, various features may be extracted from the samples in the labeled data matrix to be used in the downstream pipeline. These features may include simple features such as the number of peaks, the value of the peaks, the inspiration time and the expiration time, as well as complex signal processing features including, but not limited to, autocorrelation values and Fourier coefficients at different lags. Features may be extracted from individual sensors such as pressure, accelerometers (x, y, z) or from a combination of signals by applying other methods such as cross spectral density. These signal-based features may also be supplemented with auxiliary information such as ambient temperature and pressure and various allergen counts in the atmosphere.
[0238] After sample filtering and feature extraction, the system 100 moves to a supervised classification problem with positively labeled data (before using the inhaler) and negatively labeled data (after using the inhaler). If the prediction model is intended to be generalizable (similar models across subjects), features from multiple sensors (subjects) can be stacked to create a model.
[0239] There are various machine learning methods, such as random forests, logistic regression, support vector machines, recursive neural networks, that can be used to train models to detect whether a sample corresponds to a pre-use / post-use class. Different weightings can also be used for samples. In one exemplary method, for example, the system 100 assigns lower weights to samples that are farther away from the emergency inhaler timestamp to reduce their impact on event detection.
[0240] Inference block 814 is Fig.28 The final block of the proposed framework is shown. The trained model can be used for various inference tasks. For example - the severity of asthma symptoms can be inferred by the confidence of the model prediction. This analysis can involve sliding window predictions over long time periods.
[0241] The trained model can also be used to detect asthma events in real time. This method allows users to track their overall health without manually recording their symptoms. Finally, the accurate detection model can be used together with the dynamic model to predict future asthma attacks. It is also noted that the training phase can be repeated as many times as needed. In one exemplary method, each time a new sample is captured, the sample is processed in a "batch processing" mode (where all samples are reprocessed) or an "update" mode (where the model is updated with the new sample obtained).
[0242] Fig.28 and Fig.29 The exemplary method shown provides a simple mechanism for labeling samples based on external activities. Such methods can also be used for other labels that are susceptible to labeling data.
[0243] An exemplary system for respiratory monitoring may include: a sensor, wherein the sensor monitors at least one respiratory-related parameter; a computing device connected to the sensor, wherein the computing device includes a processor, wherein the processor detects a first respiratory state based on at least one respiratory-related parameter received from the sensor; a user interface, wherein the user interface receives user input related to the first respiratory state, and wherein the processor modifies detection of one or more respiratory states based on the user input.
[0244] An exemplary non-transitory computer-readable storage medium stores computer system executable instructions that, when executed, configure a processor to: detect a first respiratory state based on at least one respiratory-related parameter received from a sensor, wherein the sensor monitors at least one respiratory-related parameter; and modify detection of one or more respiratory states based on user input associated with a first respiratory event, wherein a user interface receives the user input.
[0245] An exemplary method includes: receiving historical sensor data associated with a sensor device that monitors a biological function, the historical sensor data representing historical time series measurement samples of one or more parameters associated with the biological function monitored by the sensor device; extracting feature data from the historical sensor data, the feature data representing two or more features of the historical time series measurement samples; assigning the historical time series measurement samples to clusters; generating a cluster-specific source domain classifier for each cluster based on the extracted feature data; receiving unlabeled samples of target user sensor data as target domain samples, the target user sensor data representing time series measurement samples of one or more parameters associated with the biological function of the target user monitored by the sensor device; assigning a cluster identifier to each unlabeled target domain sample, the cluster identifier including information identifying a cluster-specific source domain classifier associated with the sample to be labeled; receiving labeled samples of the target user sensor data, the labeled samples representing time series measurement samples of one or more parameters associated with the biological function of the target user monitored by the sensor device; extracting feature data from the labeled samples associated with the target user, the feature data representing two or more features of the labeled samples; and generating a cluster-specific target domain classifier for each cluster based on the source domain classifier and the extracted feature data associated with the labeled samples. In one exemplary method, the method further includes training a machine learning algorithm to label unlabeled samples of the target user sensor data based on the source domain classifier and the target domain classifier.
[0246] An exemplary method for labeling sensor data includes: receiving sensor data associated with a sensor device that monitors a biological function, the sensor data representing time series measurement samples of one or more parameters associated with the biological function monitored by the sensor device; receiving sensor data representing an intervention known to cause a change in the time series measurement samples; determining time series measurement samples that fall before the intervention and time series measurement samples that fall after the intervention; labeling the time series measurement samples that fall before inhaler use as pre-intervention samples; labeling the time series measurement samples that fall after the intervention as post-intervention samples; and training a detection algorithm based on the labeled samples.
[0247] In one exemplary method, the time series measurement samples are breathing measurement samples, and wherein the intervention is inhaler use. In one exemplary method, training the detection algorithm includes reducing the contribution of the labeled data based on the time measured from the intervention. In one exemplary method, training the detection algorithm includes modifying the detection algorithm to reflect environmental information received with the sensor data. In one exemplary method, training the detection algorithm includes modifying the detection algorithm to reflect demographic information received with the sensor data. In one exemplary method, training the detection algorithm includes analyzing measurement samples captured at approximately the same time as the intervention, and modifying the intervention timestamp based on the analysis.
[0248] In one exemplary method, training the detection algorithm includes creating a labeled data matrix. In one such exemplary method, the labeled data matrix includes two or more measurement samples from before the intervention. In another such exemplary method, the labeled data matrix includes two or more measurement samples from after the intervention.
[0249] An exemplary method includes: receiving sensor data associated with a sensor device that monitors a biological function, the sensor data representing a time series measurement sample of one or more parameters associated with the biological function monitored by the sensor device, wherein the sensor data includes available samples and unavailable samples of the time series measurement; extracting data representing two or more features of the samples of the time series measurement; filtering the extracted data, wherein the filtering includes eliminating outliers in the extracted data based on an expected outlier ratio; and training a machine learning algorithm to identify events based on the filtered extracted data. In one such exemplary method, eliminating outliers in the extracted feature data includes applying an isolation forest technique to the extracted feature data. In one such exemplary method, training the machine learning algorithm includes applying a class of support vector machine (SVM) techniques to the filtered extracted feature data. In one such exemplary method, training the machine learning algorithm includes determining clusters of users, and applying a class of support vector machine (SVM) techniques to the filtered extracted feature data to determine a machine learning algorithm for each cluster. In one such exemplary method, the time series measurement samples include measurement samples associated with respiration, wherein the measurement samples associated with respiration include measurements of abdominal movement and acceleration. In one such exemplary method, the time series measurement samples include measurement samples associated with respiration, and wherein the features are selected from one or more parameters of the received sensor data, the parameters including relative amplitude, duration, respiration volume, slope, shape, inhalation time, exhalation time, inhalation to exhalation ratio, sample consistency, and sample reconstruction error.
[0250] In one such exemplary method, training a machine learning algorithm includes receiving labeled sensor data, the labeled sensor data including a first label identifying usable samples and unusable samples in the labeled sensor data; assigning a second label to samples in the labeled sensor data, wherein assigning the second label includes applying a machine learning algorithm to the labeled sensor data to detect usable samples and unusable samples in the labeled sensor data; and modifying an expected outlier ratio based on a difference between the first label and the second label.
[0251] In one exemplary method, the labeled sensor data includes data labeled according to simultaneous alternating measurements of the biological parameter. In one exemplary method, the time series of measurement samples include measurement samples associated with respiration, and receiving the labeled sensor data includes: simultaneously capturing the measurement samples associated with respiration via the sensor device and via a respiration measurement device; and labeling the respiration measurement captured by the sensor device based on the measurement samples associated with respiration captured by the respiration measurement device. In one such exemplary method, the respiration measurement device is a respirator.
[0252] In one exemplary method, the method includes: receiving sensor data associated with a sensor device that monitors a biological function, the sensor data representing time series measurement samples of one or more parameters associated with the biological function monitored by the sensor device; applying a dynamics-based model to the sensor data; applying a measurement-based model to the sensor data; and fusing the dynamics-based model and the measurement-based model.
[0253] In one such exemplary method, the fusion includes assigning weights to the two models, and determining the fused model based on a weighted sum of elements of the dynamic-based model and the measurement-based model. In another such exemplary method, the fusion is based on observations and ground truth labels. In another such exemplary method, the time series measurements include respiration measurements, wherein the respiration measurements include measurements of pressure and acceleration.
[0254] In another such exemplary method, the time series measurements include respiration measurements and wherein the features are selected from one or more parameters of the received sensor data, the one or more parameters comprising relative amplitude, duration, respiration volume, slope, shape, inspiratory time, expiratory time, inspiratory to expiratory ratio, sample consistency, and sample reconstruction error.
[0255] In another such exemplary method, training a machine learning algorithm includes receiving labeled sensor data, the labeled sensor data including a first label identifying usable samples and unusable samples in the labeled sensor data; assigning a second label to samples in the labeled sensor data, wherein assigning the second label includes applying a machine learning algorithm to the labeled sensor data to detect usable samples and unusable samples in the labeled sensor data; and modifying an expected outlier ratio based on a difference between the first label and the second label.
[0256] In one such exemplary method, labeling sensor data includes labeling data according to alternating measurements of a biological parameter.
[0257] In one such exemplary method, the time series measurements include respiration measurements, and receiving the labeled sensor data includes: simultaneously capturing the respiration measurements via the sensor and via the ventilator; and labeling the respiration measurements captured by the sensor based on the respiration measurements captured by the ventilator.
[0258] Exemplary embodiments
[0259] In exemplary embodiment A1, the method includes: receiving sensor data associated with a sensor device that monitors a biological function, the sensor data representing time series measurement samples of one or more parameters associated with the biological function monitored by the sensor device, wherein the sensor data includes available samples and unavailable samples of the time series measurements; extracting data representing two or more features of the samples of the time series measurements; filtering the extracted data, wherein the filtering includes eliminating outliers in the extracted data based on an expected outlier ratio; and training a machine learning algorithm to identify events based on the filtered extracted data.
[0260] In Exemplary Embodiment A2, according to the method of Exemplary Embodiment A1, eliminating outliers in the extracted feature data includes applying an isolation forest technique to the extracted feature data.
[0261] In exemplary embodiment A3, according to the method described in any one of exemplary embodiments A1 or A2, training the machine learning algorithm includes applying a class of support vector machine (SVM) technology to the filtered extracted feature data.
[0262] In exemplary embodiment A4, according to the method described in any one of exemplary embodiments A1, A2 or A3, training the machine learning algorithm includes determining clusters of users and applying a class of support vector machine (SVM) technology to the filtered extracted feature data to determine the machine learning algorithm for each cluster.
[0263] In exemplary embodiment A5, according to the method described in any one of exemplary embodiments A1 to A4, the time series measurement samples include measurement samples associated with breathing, wherein the measurement samples associated with breathing include measurements of abdominal movement and acceleration.
[0264] In exemplary embodiment A6, according to the method described in any one of exemplary embodiments A1 to A5, the time series measurement samples include measurement samples associated with breathing, and wherein the feature is selected from one or more parameters of the received sensor data, the parameters including relative amplitude, duration, breathing volume, slope, shape, inhalation time, exhalation time, inhalation to exhalation ratio, sample consistency and sample reconstruction error.
[0265] In exemplary embodiment A7, according to the method described in any one of exemplary embodiments A1 to A6, training the machine learning algorithm includes: receiving labeled sensor data, the labeled sensor data including a first label identifying available samples and unavailable samples in the labeled sensor data; assigning a second label to samples in the labeled sensor data, wherein assigning the second label includes applying the machine learning algorithm to the labeled sensor data to detect available samples and unavailable samples in the labeled sensor data; and modifying the expected outlier ratio based on the difference between the first label and the second label.
[0266] In exemplary embodiment A8, according to the method of any one of exemplary embodiments A1 to A7, eliminating outliers in the extracted feature data includes applying an isolation forest technique to the extracted feature data.
[0267] In exemplary embodiment A9, the method according to any one of exemplary embodiments A1 to A8, wherein the labeled sensor data includes data labeled according to simultaneous alternating measurements of biological parameters.
[0268] In exemplary embodiment A10, according to the method described in any one of exemplary embodiments A1 to A9, the time series measurement samples include measurement samples associated with respiration, and wherein receiving labeled sensor data includes: simultaneously capturing measurement samples associated with respiration via the sensor device and via a respiration measurement device; and labeling respiration measurements captured by the sensor device based on the measurement samples associated with respiration captured by the respiration measurement device.
[0269] In exemplary embodiment A11, the system includes: a sensor device, wherein the sensor device monitors at least one biological function; one or more processors, the one or more processors are connected to the sensor device; and a memory, the memory is connected to the one or more processors, wherein the memory contains instructions that, when executed by one or more of the processors, cause the processors to: receive sensor data from the sensor device, the sensor data representing time series measurement samples of one or more parameters associated with the biological function monitored by the sensor device, wherein the sensor data includes available samples and unavailable samples of the time series measurements; extract data representing two or more features of the samples of the time series measurements; filter the extracted data, wherein the filtering includes eliminating outliers in the extracted data based on an expected outlier ratio; and train a machine learning algorithm to identify events based on the filtered extracted data.
[0270] In exemplary embodiment A12, the system includes the system according to exemplary embodiment A11, wherein the sensor device includes a respirator.
[0271] In exemplary embodiment A13, the system includes a system according to any one of exemplary embodiments A11 or A12, wherein training the machine learning algorithm includes: receiving labeled sensor data, the labeled sensor data including a first label that identifies available samples and unavailable samples in the labeled sensor data; assigning a second label to samples in the labeled sensor data, wherein assigning the second label includes applying the machine learning algorithm to the labeled sensor data to detect available samples and unavailable samples in the labeled sensor data; and modifying the expected outlier ratio based on a difference between the first label and the second label.
[0272] In exemplary embodiment A14, the system includes a system according to any one of exemplary embodiments A11, A12 or A13, wherein the time series measurement samples include measurement samples associated with respiration, and wherein training the machine learning algorithm includes receiving labeled sensor data, wherein the receiving labeled sensor data includes simultaneously capturing measurement samples associated with respiration via the sensor device and via a respiration measurement device; and labeling respiration measurements captured by the sensor device based on the measurement samples associated with respiration captured by the respiration measurement device.
[0273] In exemplary embodiment A15, the system includes the system according to any one of exemplary embodiments A11 to A14, wherein the sensor device includes a sensor for time series measurement of abdominal movement and acceleration.
[0274] In exemplary embodiment A16, a non-transitory computer-readable storage medium stores instructions that, when executed, cause a processor to: receive sensor data from a sensor device, the sensor data representing time series measurement samples of one or more parameters associated with a biological function monitored by the sensor device, wherein the sensor data includes available samples and unavailable samples of the time series measurements; extract data representing two or more features of the samples of the time series measurements; filter the extracted data, wherein the filtering includes eliminating outliers in the extracted data based on an expected outlier ratio; and train a machine learning algorithm to identify events based on the filtered extracted data.
[0275] In exemplary embodiment A17, the non-transitory computer-readable storage medium includes instructions according to exemplary embodiment A16, wherein the instructions that, when executed, cause the processor to train the machine learning algorithm include instructions that, when executed, cause the processor to: receive labeled sensor data, the labeled sensor data including a first label that identifies available samples and unavailable samples in the labeled sensor data; assign a second label to samples in the labeled sensor data, wherein assigning the second label includes applying the machine learning algorithm to the labeled sensor data to detect available samples and unavailable samples in the labeled sensor data; and modify the expected outlier ratio based on a difference between the first label and the second label.
[0276] In exemplary embodiment A18, the computing device is configured to perform the method according to any one of exemplary embodiments A1 to A10.
[0277] In exemplary embodiment A19, the system is configured to perform the method according to any one of exemplary embodiments A1 to A10.
[0278] In exemplary embodiment A20, a non-transitory computer-readable medium, a computing system, or a device is configured to perform any of the methods according to any one of exemplary embodiments A1 to A10.
[0279] In exemplary embodiment B1, the method includes: receiving sensor data associated with a sensor device for monitoring a biological function, the sensor data representing time series measurement samples of one or more parameters associated with the biological function monitored by the sensor device; applying a dynamics-based model to the sensor data; applying a measurement-based model to the sensor data; and fusing the dynamics-based model and the measurement-based model.
[0280] In exemplary embodiment B2, the method according to exemplary embodiment B1, wherein the fusion includes assigning weights to the two models, and determining the fused model based on a weighted sum of elements of the dynamic-based model and the measurement-based model.
[0281] In exemplary embodiment B3, according to the method of any one of exemplary embodiments B1 or B2, the fusion is based on one or more of the observed labels and the reference truth labels.
[0282] In exemplary embodiment B4, according to the method of any one of exemplary embodiments B1, B2 or B3, the time series measurement includes respiration measurement, wherein the respiration measurement includes measurement of pressure and acceleration.
[0283] In exemplary embodiment B5, a method according to any one of exemplary embodiments B1 to B4, wherein the time series measurement includes respiratory measurements, and wherein the features are selected from one or more parameters of the received sensor data, wherein the one or more parameters include relative amplitude, duration, respiratory volume, slope, shape, inhalation time, exhalation time, inhalation to exhalation ratio, sample consistency, and sample reconstruction error.
[0284] In exemplary embodiment B6, according to the method described in any one of exemplary embodiments B1 to B5, training the machine learning algorithm includes: receiving labeled sensor data, the labeled sensor data including a first label identifying available samples and unavailable samples in the labeled sensor data; assigning a second label to samples in the labeled sensor data, wherein assigning the second label includes applying the machine learning algorithm to the labeled sensor data to detect available samples and unavailable samples in the labeled sensor data; and modifying the expected outlier ratio based on the difference between the first label and the second label.
[0285] In Exemplary Embodiment B7, the method according to any one of Exemplary Embodiments B1 to B6, wherein the labeled sensor data comprises data labeled according to alternating measurements of a biological parameter.
[0286] In exemplary embodiment B8, according to the method described in any of exemplary embodiments B1 to B7, the time series measurements include respiratory measurements, and wherein receiving labeled sensor data includes: simultaneously capturing respiratory measurements via the sensor and via a ventilator; and labeling the respiratory measurements captured by the sensor based on the respiratory measurements captured by the ventilator.
[0287] In exemplary embodiment B9, the system includes: a sensor device, wherein the sensor device monitors at least one biological function; one or more processors, the one or more processors are connected to the sensor device; and a memory, the memory is connected to the one or more processors, wherein the memory contains instructions that, when executed by one or more of the processors, cause the processor to: receive sensor data associated with the sensor device that monitors the biological function, the sensor data representing a time series measurement sample of one or more parameters associated with the biological function monitored by the sensor device; apply a dynamic-based model to the sensor data; apply a measurement-based model to the sensor data; and fuse the dynamic-based model and the measurement-based model.
[0288] In exemplary embodiment B10, the system according to exemplary embodiment B9, wherein the time series measurements include breathing measurements, and wherein receiving labeled sensor data includes: simultaneously capturing the breathing measurements via the sensor and via a ventilator; and labeling the breathing measurements captured by the sensor based on the breathing measurements captured by the ventilator.
[0289] In exemplary embodiment B11, according to any one of exemplary embodiments B9 or B10, the instructions that when executed by one or more of the processors cause the processor to fuse the dynamics-based model and the measurement-based model include instructions that when executed by one or more of the processors cause the processor to assign weights to the two models and determine the fused model based on the weighted sum of elements of the dynamics-based model and the measurement-based model.
[0290] In exemplary embodiment B12, the system according to any one of exemplary embodiments B9 to B11, wherein the processor fuses the dynamic-based model and the measurement-based model based on one or more of observed labels and reference truth labels.
[0291] In exemplary embodiment B13, a system according to any one of exemplary embodiments B9 to B12, wherein the time series measurements include respiration measurements, wherein the respiration measurements include measurements of pressure and acceleration.
[0292] In exemplary embodiment B14, a non-transitory computer-readable storage medium stores instructions that, when executed, cause a processor to: receive sensor data associated with a sensor device that monitors a biological function, the sensor data representing time series measurement samples of one or more parameters associated with the biological function monitored by the sensor device; apply a dynamics-based model to the sensor data; apply a measurement-based model to the sensor data; and fuse the dynamics-based model and the measurement-based model.
[0293] In exemplary embodiment B15, according to the non-transitory computer-readable storage medium described in exemplary embodiment B14, the processor fuses the dynamic-based model and the measurement-based model based on one or more of the observed labels and the reference truth labels.
[0294] In exemplary embodiment B16, according to the non-transitory computer-readable storage medium described in any one of exemplary embodiments B14 or B15, the processor fuses the dynamic-based model and the measurement-based model based on one or more of the observed labels and the baseline truth labels.
[0295] In exemplary embodiment B17, according to the non-transitory computer readable storage medium any one of exemplary embodiments B14 to B16, wherein the time series measurement includes a respiration measurement, wherein the respiration measurement includes a measurement of pressure and acceleration.
[0296] In exemplary embodiment B18, the computing device is configured to perform the method according to any one of exemplary embodiments B1 to B8.
[0297] In exemplary embodiment B19, the system is configured to perform the method according to any one of exemplary embodiments B1 to B8.
[0298] In exemplary embodiment B20, a non-transitory computer readable medium, computing system, or device is configured to perform any of the methods according to any one of exemplary embodiments B1 to B8.
Claims
1. A method, comprising: receiving sensor data associated with a sensor device monitoring a biological function, the sensor data representing a time series of measurement samples of one or more parameters associated with the biological function being monitored by the sensor device, wherein the time series of measurement samples includes usable samples and unusable samples; extracting data representing two or more features of samples in the time series measurement sample; filtering the extracted data, wherein the filtering step includes eliminating outliers in the extracted data based on an expected outlier ratio; as well as training a machine learning algorithm to identify events based on the filtered extracted data; Wherein training the machine learning algorithm comprises: receiving labeled sensor data, the labeled sensor data comprising a first tag identifying usable samples and unusable samples in the labeled sensor data; Assigning a second label to samples in the labeled sensor data, wherein assigning the second label comprises applying the machine learning algorithm to the labeled sensor data to detect usable samples and unusable samples in the labeled sensor data; and The expected outlier ratio is modified based on a difference between the first label and the second label. 2 . The method of claim 1 , wherein eliminating outliers in the extracted feature data comprises applying an isolation forest technique to the extracted feature data.
3. The method of claim 1, wherein training the machine learning algorithm comprises applying a class of support vector machine (SVM) techniques to the filtered extracted feature data.
4. The method of claim 1, wherein training the machine learning algorithm comprises determining clusters of users and applying a class of support vector machine (SVM) techniques to the filtered extracted feature data to determine a machine learning algorithm for each cluster. 5 . The method of claim 1 , wherein the time series of measurement samples include measurement samples associated with breathing, wherein the measurement samples associated with breathing include measurements of abdominal movement and measurements of acceleration.
6. A method according to claim 1, wherein the time series measurement samples include measurement samples associated with breathing, and wherein the features are selected from one or more parameters of the received sensor data, the parameters including relative amplitude, duration, respiratory volume, slope, shape, inspiration time, exhalation time, inspiration to exhalation ratio, sample consistency and sample reconstruction error.
7. The method of claim 1, wherein the labeled sensor data comprises data labeled according to simultaneous alternating measurements of biological parameters.
8. The method of claim 1 , wherein the time series of measurement samples comprises measurement samples associated with respiration, and wherein receiving labeled sensor data comprises: capturing simultaneously via the sensor device and via a breath measurement device a measurement sample associated with breathing; and labeling a respiration measurement captured by the sensor device based on the measurement samples associated with respiration captured by the respiration measurement apparatus.
9. A system, comprising: a sensor device configured to monitor at least one biological function; one or more processors connected to the sensor device; and A memory connected to the one or more processors, wherein the memory contains instructions that, when executed by the one or more processors, cause the one or more processors to perform the following: receiving sensor data from the sensor device, the sensor data representing a time series of measurement samples of one or more parameters associated with the biological function being monitored by the sensor device, wherein the time series of measurement samples includes usable samples and unusable samples; extracting data representing two or more features of samples in the time series measurement sample; filtering the extracted data, wherein the filtering step includes eliminating outliers in the extracted data based on an expected outlier ratio; as well as training a machine learning algorithm to identify events based on the filtered extracted data; Wherein the instructions causing the one or more processors to train the machine learning algorithm include instructions that, when executed, cause the one or more processors to: receiving labeled sensor data, the labeled sensor data comprising a first tag identifying usable samples and unusable samples in the labeled sensor data; Assigning a second label to samples in the labeled sensor data, wherein assigning the second label comprises applying the machine learning algorithm to the labeled sensor data to detect usable samples and unusable samples in the labeled sensor data; and The expected outlier ratio is modified based on a difference between the first label and the second label.
10. The system of claim 9, wherein the sensor device comprises a respirator.
11. The system of claim 9, wherein the time series of measurement samples comprises measurement samples associated with respiration, and Wherein the instructions causing the one or more processors to train the machine learning algorithm include instructions that, when executed, cause the one or more processors to: receiving tagged sensor data, the receiving tagged sensor data comprising simultaneously capturing measurement samples associated with respiration via the sensor device and via a respiration measurement device; and Respiration measurements captured by the sensor device are labeled based on the measurement samples associated with respiration captured by the respiration measurement apparatus.
12. The system of claim 9, wherein the sensor device comprises a sensor for time series measurement of abdominal movement and a sensor for time series measurement of acceleration.
