Machine Learning and Python for Human Behavior Emotion and Health Status Analysis 1st Edition Md Zia. Uddin All Chapters Instant Download
Machine Learning and Python for Human Behavior Emotion and Health Status Analysis 1st Edition Md Zia. Uddin All Chapters Instant Download
https://ebookfinal.com/download/python-machine-learning-second-
edition-sebastian-raschka/
ebookfinal.com
https://ebookfinal.com/download/deep-learning-for-finance-creating-
machine-deep-learning-models-for-trading-in-python-1st-edition-kaabar/
ebookfinal.com
https://ebookfinal.com/download/python-machine-learning-by-example-
yuxi-hayden-liu/
ebookfinal.com
https://ebookfinal.com/download/thoughtful-machine-learning-with-
python-early-release-matthew-kirk/
ebookfinal.com
https://ebookfinal.com/download/human-behavior-learning-and-
transfer-1st-edition-yangsheng-xu-author/
ebookfinal.com
https://ebookfinal.com/download/human-behavior-learning-and-the-
developing-brain-atypical-development-1st-edition-donna-coch-edd/
ebookfinal.com
https://ebookfinal.com/download/advances-in-machine-learning-and-data-
mining-for-astronomy-1st-edition-michael-j-way/
ebookfinal.com
https://ebookfinal.com/download/learning-and-behavior-7th-edition-
paul-chance/
ebookfinal.com
Machine Learning and Python for Human Behavior
Emotion and Health Status Analysis 1st Edition Md Zia.
Uddin Digital Instant Download
Author(s): MD ZIA. UDDIN
ISBN(s): 9781032544786, 1032544783
Edition: 1
File Details: PDF, 5.45 MB
Year: 2024
Language: english
Machine Learning and Python for
Human Behavior, Emotion, and
Health Status Analysis
This book is a practical guide for individuals interested in exploring and implementing
smart home applications using Python. Comprising six chapters enriched with hands-on
codes, it seamlessly navigates from foundational concepts to cutting-edge technologies,
balancing theoretical insights and practical coding experiences. In short, it is a gateway to
the dynamic intersection of Python programming, smart home technology, and advanced
machine learning applications, making it an invaluable resource for those eager to explore
this rapidly growing field.
Key Features:
• Throughout the book, practicality takes precedence, with hands-on coding examples
accompanying each concept to facilitate an interactive learning journey.
• Striking a harmonious balance between theoretical foundations and practical cod-
ing, the book caters to a diverse audience, including smart home enthusiasts and
researchers.
• The content prioritizes real-world applications, ensuring readers can immediately
apply the knowledge gained to enhance smart home functionalities.
• Covering Python basics, feature extraction, deep learning, and XAI, the book pro-
vides a comprehensive guide, offering an overall understanding of smart home
applications.
Machine Learning and
Python for Human Behavior,
Emotion, and Health Status
Analysis
Written by
Md Zia Uddin
Designed cover image: Freepik
First edition published 2025
by CRC Press
2385 NW Executive Center Drive, Suite 320, Boca Raton FL 33431
and by CRC Press
4 Park Square, Milton Park, Abingdon, Oxon, OX14 4RN
CRC Press is an imprint of Taylor & Francis Group, LLC
© 2025 Md Zia Uddin
Reasonable efforts have been made to publish reliable data and information, but the author and publisher
cannot assume responsibility for the validity of all materials or the consequences of their use. The authors and
publishers have attempted to trace the copyright holders of all material reproduced in this publication and
apologize to copyright holders if permission to publish in this form has not been obtained. If any copyright
material has not been acknowledged please write and let us know so we may rectify in any future reprint.
Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, transmit-
ted, or utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented,
including photocopying, microfilming, and recording, or in any information storage or retrieval system,
without written permission from the publishers.
For permission to photocopy or use material electronically from this work, access www.copyright.com or
contact the Copyright Clearance Center, Inc. (CCC), 222 Rosewood Drive, Danvers, MA 01923, 978-750-
8400. For works that are not available on CCC please contact [email protected]
Trademark notice: Product or corporate names may be trademarks or registered trademarks and are used
only for identification and explanation without intent to infringe.
ISBN: 978-1-032-54478-6 (hbk)
ISBN: 978-1-032-54635-3 (pbk)
ISBN: 978-1-003-42590-8 (ebk)
DOI: 10.1201/9781003425908
Typeset in Minion
by SPi Technologies India Pvt Ltd (Straive)
Contents
Preface , ix
Acknowledgments, xii
About the Author, xiii
v
vi ◾ Contents
INDEX240
Preface
This book is a practical guide to smart home applications using Python, divided into six
chapters with hands-on codes. It starts with an introduction and covers Python basics in
the second chapter. Chapter 3 explores pulling important info from data through feature
extraction techniques, and then Chapter 4 dives into machine learning and Explainable AI
(XAI). The exciting part of the book is to be found in Chapters 5 and 6. Chapter 5 presents
real-life examples of behavior and health analysis using deep learning and XAI. Then, the
final chapter explores recognizing emotions through cameras and audio using deep learn-
ing and XAI. The book strikes a balance between theory and practical coding, making it
accessible for both smart home enthusiasts and researchers. A little glimpse of each chapter
follows:
The opening chapter introduces the topic of smart homes and machine learning, shed-
ding light on diverse projects. It explores various smart home initiatives, showcasing the
seamless integration of technology into daily life. A central focus is the pivotal role of
machine learning in data extraction and analysis. Machine learning tools emerge as trans-
formative, aiding caregivers and clinical experts in diagnosis and decision-making. The
chapter unravels insights into the impact of these projects on healthcare and caregiving
landscapes, laying the groundwork for a deeper understanding of the symbiotic relation-
ship between smart homes and machine learning. Readers embark on a journey where
innovative technologies not only enhance our homes but also revolutionize the delivery of
healthcare. This chapter sets the stage for a comprehensive exploration, promising a deeper
dive into the fascinating fusion of smart living and machine intelligence.
Chapter 2 focuses on Python and its libraries, with a number of real-world examples. It
starts with the basics of Python, in order to ensure that everyone feels comfy and ready for
the journey. We learn about things like variables, data types, and making choices in our
code. It’s like building the ABCs of Python! This part is great for beginners because lots of
hands-on activities are there to really understand how Python works. It then jumps into
some cool libraries, which are like special tools that make Python even more awesome. It
then checks out NumPy for doing math stuff, Pandas for playing with data, Matplotlib for
creating cool charts, and Seaborn for even fancier visualizations. Each library is explained
with real examples, so it’s not just theory—you get to see how these tools can solve real
problems. By the end of this chapter, you’ll know the ABCs of Python and have some nifty
tools in your coding backpack. It’s like starting with the basics to build a strong foundation
for all the cool things discussed in the next chapters.
ix
x ◾ Preface
Chapter 3 dives into the world of feature extraction techniques using Python—PCA,
Kernel PCA (KPCA), Independent Component Analysis (ICA), and Linear Discriminant
Analysis (LDA). It’s like uncovering secrets to refine data in machine learning! With
Python, PCA steals the spotlight, making data simpler by capturing the important stuff
and reducing complexity. KPCA takes it a step further, smoothly handling tricky nonlin-
ear data structures. Then, it explores ICA, pulling out hidden factors in the data by focus-
ing on independent components. LDA steps up with Python demos, showing off its skill in
boosting supervised learning by making classes more distinct. These techniques are not
just theoretical—they get down to real-world applications like image processing, signal
analysis, and text mining. The chapter proves how adaptable and useful these techniques
are across different fields. By using them, machine learning models become champs at
spotting important patterns.
Chapter 4 unfolds the world of deep learning and explainable AI. Recently, researchers
have been drawn to deep learning techniques for modeling patterns in input data, with
Convolutional Neural Networks (CNN) gaining popularity for its superior discriminative
power compared to previous approaches. CNN, a type of deep learning, involves feature
extractions and convolutional stacks to build a hierarchy of abstract features. For time-
sequential event analysis, Recurrent Neural Networks like long short- term memory
(LSTM) shine, offering strong discriminative power. Enter Neural Structured Learning
(NSL), an advanced open-source framework within deep learning algorithms designed to
grasp events in data. NSL leverages structured signals tied to feature inputs, employing
neural graph learning to train networks based on graphs and structured data. It extends
basic adversarial learning by utilizing structured data with valuable relational information
among samples. Acknowledging the remarkable strides in Artificial Intelligence (AI), the
chapter addresses the challenge of explainability (XAI) arising amid AI success. It explores
various machine learning techniques—both shallow and deep—alongside XAI algorithms,
navigating the dynamic landscape of AI advancements and challenges.
Chapter 5 is packed with cool stories showing how wearable sensors, machine learning,
and explainable AI (XAI) can be combined in real-life situations. First up is behavior
recognition—it’s like teaching computers to understand how people act using wearable
sensors and smart learning. They look at public datasets to figure out and explain what
our actions mean. Next, it jumps into real-time activity recognition. Imagine your fitness
tracker not just counting steps but instantly knowing if you’re running, walking, or doing
yoga. That’s the magic of wearable sensors and machine learning working together, mak-
ing our gadgets super-smart. The tech adventure continues with real-time body skeleton
tracking using cameras that can see both color and heat. It’s like having a virtual map of
how people move in real time, opening doors for lots of cool applications. Heading home,
we explore real-time home monitoring and behavior prediction. Ambient sensors keep an
eye on what’s happening, and machine learning predicts what might happen next. It’s like
having a super-smart home that understands your routines. Health takes the spotlight next
with predictions about oxygen levels and pulse using wearable sensors. It’s not just about
tracking—it’s also predicting, and thereby making health monitoring more personalized
and efficient. We wrap up the tech journey with real-time respiration prediction, where
Preface ◾ xi
ultra-wideband sensors and machine learning team up to give instant and accurate predic-
tions, taking healthcare to a whole new level. In a nutshell, Chapter 5 is all about real stories
where technology, smart sensors, and intelligent machine learning work together to under-
stand our behavior, predict activities, monitor our homes, and even take health monitoring
to new heights.
Chapter 6 takes us into the world of recognizing emotions, first through cameras and
then using audio. With cameras, it explores different features like Principal Component
Analysis (PCA), Independent Component Analysis (ICA), and Local Directional Patterns
(LDP), teaming up with machine learning to understand facial expressions and emotions
in pictures. The chapter doesn’t stop there—it goes into real-time emotion recognition,
making things even more exciting. To help us understand how the computer makes these
predictions, it introduces Explainable AI (XAI). Moving on to audio-based emotion recog-
nition, the chapter introduces Mel-Frequency Cepstral Coefficients (MFCC) as special fea-
tures to capture emotions in sound. Different machine learning algorithms join the party
to decode the emotional vibes hidden in spoken words or audio signals. In a nutshell, the
chapter unfolds a journey where technology learns to recognize emotions, in terms of both
pictures and also what we say. It’s not just about understanding technical details; it’s about
seeing how these smart systems can grasp and respond to human emotions. Whether it’s
decoding smiles on camera or sensing emotions in our voice, this chapter shows us the
exciting possibilities of machines understanding how we feel.
Acknowledgments
To my beloved wife (Syeda Farzana Zerin) and children (Zayan Adeeb and Fayzan Aabid),
your relentless support, love, and encouragement have been the guiding forces on my jour-
ney. You are my inspiration, my motivation, and my greatest treasures.
To my dear parents (Ahmed Sharif and Monoara Begum), your love, sacrifices, and
commitments have shaped me into the person I am today.
This book is dedicated to you all, as a token of my deepest gratitude and appreciation.
xii
Author
Dr. Zia Uddin has got more than 150 peer-reviewed research publications including pres-
tigious international journals, conferences, and book chapters. Half of the publications are
led or mostly done by him. His google scholar citations are around 4500. He got Gold Medal
Award (2008) for academic excellence in undergraduate study. He was also Awarded Korean
Government IT Scholarship (March 2007 to February 2011) and Kyung Hee University
President Scholarship (March 2007 to February 2011). His research works received best/
outstanding paper awards in several peer reviewed international conferences. He acted as
a reviewer in many prestigious journals including IEEE Transactions on Pattern Analysis
and Machine Intelligence (TPAMI), Information Fusion, IEEE Transactions on Industrial
Informatics, and IEEE Transactions on Biomedical Engineering, etc.
Dr. Zia Uddin has been leading/working in different work packages of national and inter-
national research projects. He has been enlisted in the World’s Top 2% Scientists since 2019,
conducted by Stanford University of USA and Elsevier BV. For more information about his
work and background: https://sites.google.com/site/webpagezia/home
xiii
CHAPTER 1
1.1 SMART HOMES
A smart home, or a connected or automated home, is a dwelling equipped with the lat-
est technology and built with systems and devices that can be interconnected to make
your life easier and more comfortable [1–3]. Examples are the Internet of Things (IoT),
artificial intelligence (AI), and various communication technologies that have combined
to pave the way for smart homes. So, an integrated and connected smart home is an inte-
grated and controlled environment that allows the control, monitoring, and automation
of various devices and systems. It is often possible to manage and optimize living spaces
through the Internet or a local network, a capability once considered inconceivable
for homeowners. The concept of smart homes has traversed a remarkable evolutionary
journey. It commenced with rudimentary automation features such as programmable
thermostats and remote-controlled garage doors. Today, smart homes have become
sophisticated ecosystems due to the rapid advancement of technology, particularly in
the Internet of Things (IoT) and AI. The significance of smart homes extends beyond
mere convenience. They are designed to address the practical needs and challenges of
contemporary living. These connected spaces aim to enhance comfort, energy efficiency,
security, and the overall quality of life. Moreover, smart homes contribute to broader
societal goals, such as sustainable living and improved healthcare. The foundation of
smart homes lies in a synergy of cutting-edge technologies that enable seamless integra-
tion and intelligent control. Understanding these technologies is crucial to grasping the
essence of smart homes.
DOI: 10.1201/9781003425908-1 1
2 ◾ ML and Python for Behavior, Emotion, and Health Status
1.1.1 Technologies
At the heart of smart homes is the Internet of Things (IoT), a vast network of interconnected
physical objects equipped with sensors, software, and coy features. IoT devices collect and
communicate data over the Internet or other networks, forming the basis for smart home
functionality. AI, specifically machine learning, is the brainpower behind smart homes.
Machine learning algorithms empower devices to learn from user behavior, adapt to pref-
erences, and make intelligent decisions. Voice assistants like Amazon’s Alexa and Google
Assistant are prime examples of AI in action. Effective communication between devices
is essential in a smart home ecosystem. Various communication protocols, such as Wi-Fi,
Zigbee, and Z-Wave, facilitate seamless data exchange, ensuring devices can work together
harmoniously. Sensors, ranging from motion detectors to temperature sensors, gather
environmental data. Actuators, like motors or switches, execute actions based on this data.
For instance, smart thermostats use temperature sensors to regulate heating and cooling,
enhancing comfort and energy efficiency. Voice assistants have become the central inter-
face in many smart homes. They utilize natural language processing to understand and
respond to voice commands, serving as the command centers for controlling a wide array
of smart devices. A smart home’s ecosystem comprises various components, each con-
tributing to the overall functionality and experience. Let’s explore the key elements that
define a modern smart home. Smart appliances encompass a range of household machines,
including refrigerators, ovens, washing machines, and dishwashers. What sets them apart
is their connectivity and ability to be remotely controlled and monitored. These appliances
often feature energy-saving modes and can even provide notifications when maintenance
is required. Intelligent lighting systems offer homeowners complete control over their
lighting environments. Users can adjust brightness, color, and scheduling to create custom
lighting scenarios. Automation capabilities enable lights to adapt based on time of day or
occupancy, enhancing energy efficiency and security.
Smart thermostats have redefined heating and cooling management in homes. They
learn user preferences, adapt to daily routines, and optimize temperature settings for com-
fort and energy savings. They can be controlled remotely via smartphone apps, ensuring a
comfortable environment upon arrival. Security is a top priority for homeowners, and
intelligent security systems provide advanced solutions. These systems include intelligent
cameras, smart doorbells, motion sensors, and locks. With remote monitoring and real-
time alerts, homeowners can enhance security and peace of mind. Voice assistants, such as
Amazon’s Alexa and Google Assistant, have become integral to many smart homes. They
serve as the central control hubs for various devices, responding to voice commands to
control lighting, music, thermostats, and more. Smart TVs and speakers offer access to
extensive entertainment options, from streaming services to music and games. Voice con-
trol simplifies content access and navigation, providing a seamless and immersive enter-
tainment experience. Smart homes increasingly incorporate health and wellness devices,
catering to residents’ well-being. These devices include fitness trackers, smart scales, air
quality monitors, and connected medical devices. They empower individuals to monitor
and manage their health from the comfort of their homes. Energy management systems tie
together various devices and sensors to optimize energy usage. Homeowners can track
Smart Assisted Homes, Sensors, and Machine Learning ◾ 3
energy consumption, receive insights, and make informed decisions to reduce their carbon
footprint and utility bills. Home automation hubs serve as centralized controllers for
diverse smart devices. They enable automation, scheduling, and remote control, offering a
single interface for managing the entire smart home ecosystem.
1.1.2 Benefits
Smart homes bring numerous advantages to homeowners, enhancing their living experi-
ences. Let’s explore the key benefits that have made smart homes increasingly popular. The
most apparent benefit of smart homes is their unparalleled convenience. Homeowners can
effortlessly automate daily tasks, adjust settings, and control devices with a simple tap on
a smartphone or a voice command. From adjusting lighting to regulating temperature,
smart homes prioritize user comfort. Smart homes are designed to be energy-efficient.
Smart thermostats and lighting systems optimize energy usage, lowering utility bills.
Moreover, they contribute to reducing the overall carbon footprint, aligning with sustain-
ability goals. Security is a paramount concern for homeowners, and smart homes address
this with advanced solutions. Surveillance cameras, motion sensors, and smart locks pro-
vide real-time monitoring and immediate alerts, bolstering home security. Innovative
entertainment systems offer access to vast content and entertainment options. With voice-
controlled interfaces, users can navigate their favorite shows, movies, and music, creating
an immersive and enjoyable entertainment experience.
Health and wellness devices within smart homes enable individuals to take charge of
their well-being. Fitness trackers, for instance, track physical activity, while air quality
monitors ensure a healthy living environment. The ability to remotely monitor and control
smart homes is a game-changer. Whether adjusting the thermostat while at work or check-
ing security cameras while on vacation, homeowners can stay connected to their resi-
dences, enhancing security and convenience. While the initial investment in smart home
technology can be substantial, long-term savings from reduced energy consumption,
improved maintenance, and enhanced security often outweigh the upfront costs.
1.1.3 Challenges
Despite their numerous advantages, smart homes also present a set of challenges and con-
cerns that homeowners and manufacturers must address to ensure a secure and seamless
experience. The interconnected nature of smart homes raises concerns about privacy and
data. Unauthorized access to devices or data breaches can compromise sensitive infor-
mation. Implementing robust security measures, such as encryption and regular software
updates, is essential to mitigate these risks. Not all smart devices are compatible, which can
lead to interoperability issues. This can frustrate homeowners who desire a seamless expe-
rience across their devices and ecosystems. The upfront costs of purchasing and install-
ing smart devices can hinder adoption for some homeowners. However, it’s essential to
consider the long-term savings and benefits when evaluating these costs. Setting up and
configuring a smart home ecosystem can be complex, often requiring technical expertise.
Manufacturers are working to simplify installation, but it remains challenging for some
users. Smart devices rely on stable internet connections, and if the network goes down,
4 ◾ ML and Python for Behavior, Emotion, and Health Status
The researchers in the project adopted machine learning tools for user behavior analysis.
They focused on creating a lightweight design that could be easily set up without further
customization. SWEET-HOME was a French project on developing a smart home system
primarily based on audio technology [19]. The project aimed at three key goals: developing
an audio-based interactive technology that gives users complete control over the home
environment. Figure 1.1 shows an example of a smart home with sensors installed in dif-
ferent places.
applications include monitoring dangerous attitudes, such as smoking, calorie intake for
diet and exercise, and physical activity levels. Table 1.1 shows the possible list of events.
In assisted living technology-based literature, most researchers have focused on assisted
systems for indoor environments. One of the critical application contexts related to medi-
cal and public health practices is supported by devices that deliver healthcare services via
mobile communication. New technologies and systems have been developed for the con-
tinuous monitoring of physical, behavioral, and environmental data and for assessing out-
comes from the data. Via the development of systems based on the data from distinguished
heterogeneous sensors and additional self-reported data, new information regarding phys-
iological, psychological, emotional, and environmental states can be derived.
Indoor environments can mainly be differentiated into two categories: firstly, homes
where people usually live alone or possibly live with a few relatives; secondly, retirement
Smart Assisted Homes, Sensors, and Machine Learning ◾ 7
residences where more people live together, move in shared spaces, perform group or indi-
vidual activities, and undertake controlled physical activities. People’s health status can be
evaluated by observing their movements, recognizing their actions, evaluating resting peri-
ods, monitoring food intake, etc. People’s behavioral analysis can be done by detecting
anomalies while comparing the actual behavioral events with the expected ones. Besides,
social activities in a group and interactions with relatives or friends can also be monitored.
1.4.1 Wearable Sensors
The wearable sensor industry has made several advances in miniaturization and energy
efficiency in recent years. The most common wearable sensors, usually worn around the hip
or wrist, are three-a xis accelerometers, gyroscopes, and magnetometers. As well as assess-
ing postural stability, detecting and classifying falls, or analyzing gait cycles, they have
been extensively applied to various purposes [20–29]. Further, these sensors are embedded
in mobile technologies, such as smartphones, smartwatches, and wristbands, which can
also continuously monitor biological, behavioral, and environmental data.
The passive technology of Radio-Frequency Identification (RFID) has been widely
employed for identifying dynamic positions in indoor environments by identifying peo-
ple’s dynamic positions. A wearable electromagnetic marker (tag) generating information
regarding human motion can be detected by an interrogating antenna that radiates an
electromagnetic field that a remote receiver or reader senses. In addition to monitoring
movement, location, and even accidental falls, this type of system is also used to detect a
fall in the event of an accident.
As far as assisted living systems have been evaluated, they are primarily concerned with
monitoring the behavior of residents. To determine an individual’s overall health status,
several other relevant parameters must also be observed. A physiological parameter is a
8 ◾ ML and Python for Behavior, Emotion, and Health Status
parameter that is measured and referred to as a vital sign. Such parameters include a per-
son’s heart rate (HR), blood pressure, temperature, respiration rate, and blood oxygen satu-
ration. For a complete and long-term health monitoring system to be built into everyday
scenarios, different sensors can be used to monitor vital bodily functions in addition to the
sensors above, which are complementary to each other to monitor critical body functions.
There are new possibilities for continuous vital sign monitoring with microelectromec
hanical systems due to recent advances in performance and cost-effectiveness. Several
promising techniques are being explored to extract information on cardiac events and
phases, especially ballistocardiography (BCG) and seismocardiography (SCG). In addition
to measuring breathing rates and quality metrics of physical activity, they also measure
vibrations caused by heart muscle contractions. They are based on IMU sensors placed
over the subject’s sternum. In addition to smart technology, portable objects, such as
glasses, can also be equipped with sensors to monitor some vital signs, including the heart
rate and respiration rate, the regularity of pulse and respiration, the occurrence of and
duration of apneas, and the distribution of temperature on the face. The use of such tech-
niques is very significant for healthcare professionals, because it allows them to collect
necessary information regarding the medical condition of their patients without the use of
dedicated hardware, but instead by using more natural methods.
Smart Assisted Homes, Sensors, and Machine Learning ◾ 9
1.4.2 Ambient Sensors
Sensors for environmental monitoring are used to detect parameters that may adversely
impact elderly people, such as temperature or air quality. Furthermore, they assist in moni-
toring daily living activities or localizing individuals and objects around them [30–44].
Environmental sensors are not invasive for people and are not structured or replaced by
household objects as opposed to wearable and smart object sensors. It is possible to monitor
the different activities of different people through radio frequency-based systems, which
analyze the reflections of radio frequency signals. For example, the sleep quality of older
adults can be analyzed by inferring the sleeping posture of a subject, capturing people’s 3D
dynamics, and detecting changes in movement patterns. In addition to operating through
optically opaque materials, such as clothing, microwave sensors may eventually detect fog
and smoke as they are not affected by external visible lights and scene colours, and they
will ultimately be capable of sensing through these materials. It is possible to recognize
multiple non-cooperative people’s hands and vital signs using intelligent metasurface sys-
tems capable of translating microwave data into images. There are several environmental
sensory systems that can be utilized to collect biomedical signals, but intelligent optical
systems are an example of these systems. These systems can detect rigid and uncontrollable
gestures, postural instability, or small tremors, warning signs of neurological conditions.
To maintain a healthy lifestyle under observation and notify caregivers during a call for
help, low-cost devices such as Kinect, RealSense, and Wii can be easily installed to monitor
people’s day-to-day activity.
It has been reported that passive infrared (PIR) motion sensors can be used to detect
individual movements in research works [45–60]. Usually, PIR motion sensors are heat-
sensitive and can detect the presence of users in a room by utilizing temperature changes
produced by the sensors. They are installed in the walls of the home of older homes to
continuously collect motion data that is related to predefined activities within the sensor’s
range. A PIR motion sensor can detect various events, such as stove use, temperature
changes, water use, and cabinet openings. All of these events can be detected with motion
sensors. Motion data can be obtained by a base station that collects data and forwards it to
caregivers so that trend analysis can be performed to detect changes in daily activities.
Once the data has been gathered, the caregivers can analyze the data and determine what
changes have occurred. PIR sensors can also be used to detect changes in health status by
using the analysis results. Therefore, they can recognize patterns in daily activities and be
triggered as soon as deviations occur to provide alerts. Smart homes can adopt the sensors
for various applications, including monitoring the level of activity and detecting falls or
other significant events that may occur. An everyday use of monitoring technologies is to
detect daily activities and essential events simultaneously so they can be combined to
achieve several aims. A PIR motion sensor can also analyze gait velocity, user location,
time spent out of the home, sleeping patterns, and nighttime activities. A lot of PIR sensors
have been investigated for a wide range of purposes.
For eldercare, video sensors are the most widely used ambient sensors. In ambient assis-
tive living, many studies have been conducted using video cameras to locate and recognize
10 ◾ ML and Python for Behavior, Emotion, and Health Status
residents within their homes to perform various tasks [61–80]. By removing background
from the background, obtaining body shape from the body, analyzing features, and apply-
ing machine learning to the data, cameras on walls or ceilings can detect activity. Video-
monitoring technology has been utilized primarily to detect activities of daily living, falls,
and other significant occurrences.
Among ambient sensors, the Doppler radar is one of the most appealing because it can
detect when there is stationary clutter in the background such as a wall [81–83]. As a result
of its ability to penetrate intense obstacles, such as furniture items and walls, it achieves a
better perception of older adults compared to vision-based sensors. Furthermore, the sys-
tem does not create any privacy issues when monitoring the home and does not provide the
inconvenience of wearables. Moreover, Doppler radar can also be utilized to detect human
cardiopulmonary motion, which may offer a promising approach to eliminating the prob-
lems of false triggers. Ultra-wideband radar sensors are also prominent candidates for
monitoring older adults’ occupancy, sleep, and respiration in real time [84–88]. There are
many practical applications for the sensor, including monitoring the vital signs of elderly
persons, personal security, environmental monitoring, industrial automation, and home
automation.
1.5 MACHINE LEARNING
Smart assisted homes are closely related to machine learning since system intelligence is
crucial to this research area [89–90]. As a subfield of AI, machine learning focuses on cre-
ating algorithms and statistical models that allow computers to enhance their performance
in specific tasks by learning from data. Unlike traditional programming, machine learn-
ing systems acquire knowledge from data, detect patterns, and make decisions or predic-
tions. Machine learning has gained immense importance across diverse industries, such
as healthcare, finance, marketing, and technology. It has revolutionized decision-making,
process automation, and insights extraction from large datasets. Its key benefits include
automation, predictive analytics, personalization, medical diagnosis, and natural language
processing (Table 1.3).
There are four fundamental concepts of machine learning described as follows:
• Data serves as the lifeblood of machine learning, taking forms such as structured data
(e.g., tables), unstructured data (e.g., text, images, and audio), and semi-structured
data (e.g., JSON, XML). Features represent the variables or attributes in data that
models use for predictions. Data preprocessing, encompassing cleaning, normal-
ization, and feature engineering, is a pivotal step in data preparation for machine
learning.
• Machine learning models act as mathematical representations of systems or prob-
lems learned from data. These models can range from simple linear regression to
complex deep neural networks. Algorithms constitute the mathematical techniques
used for model training and optimization. Standard algorithms include decision
trees, k-nearest neighbors, support vector machines, and gradient boosting.
Smart Assisted Homes, Sensors, and Machine Learning ◾ 11
• Training a machine learning model involves exposing it to labeled data (data with
known outcomes) to learn patterns and relationships. Subsequently, model testing on
unseen data assesses its performance. Data typically splits into training, validation,
and test sets to ensure robust generalization.
• Evaluating a machine learning model’s performance is vital to gauge its effectiveness.
Standard evaluation metrics include accuracy, precision, recall, F1-score, and mean
squared error (MSE) tailored to the problem type (classification, regression, etc.).
12 ◾ ML and Python for Behavior, Emotion, and Health Status
1.5.1 Supervised Learning
Supervised learning is one of the most prevalent and utilized machine learning types. In
supervised learning, models train on a labeled dataset, where each input data point cor-
responds to a known output or target [91–92]. The objective is to learn a mapping from
input features to the correct output. Supervised learning holds diverse applications across
domains, such as
Supervised learning is divided into two primary subcategories: classification and regression.
Classification tasks entail assigning input data points to predefined categories or classes.
For instance, given an image of a handwritten digit, the goal might be to classify it as one
of the digits from 0 to 9. Standard algorithms encompass logistic regression, decision trees,
Support Vector Machines, and neural networks.
Regression tasks involve predicting continuous numeric values or quantities. Examples
include forecasting house prices based on factors like square footage and location or esti-
mating a person’s age based on various demographic variables. Linear regression, polyno-
mial regression, and neural networks apply to regression tasks.
1.5.2 Unsupervised Learning
Unsupervised learning addresses data lacking labels or categorization. In unsupervised
learning, algorithms seek patterns, structures, or relationships within data without
prior knowledge of these patterns [93, 94]. Unsupervised learning applies across diverse
domains:
• Clustering involves grouping similar data points into clusters or categories based
on their inherent similarities. Prominent clustering algorithms encompass k-means
clustering and hierarchical clustering. Clustering finds utility in customer segmenta-
tion, image segmentation, and document clustering.
• Dimensionality reduction techniques strive to reduce data dimensions while preserv-
ing essential information. Principal Component Analysis (PCA) and t-distributed
Stochastic Neighbor Embedding (t-SNE) are prevalent dimensionality reduction
techniques. They support data visualization and feature selection.
• Anomaly detection identifies data points that are significantly divergent from the
majority. It proves valuable in scenarios like fraud detection, network security, and
manufacturing quality control.
1.5.3 Semi-Supervised Learning
Semi-supervised learning amalgamates elements from supervised and unsupervised learn
ing [95, 96]. In this paradigm, the algorithm receives a small, labeled dataset alongside a
more extensive unlabeled dataset. The goal is to enhance model performance using the
labeled data. Semi-supervised learning finds relevance in scenarios where obtaining
labeled data poses challenges, such as the following.
nodes, or neurons, that process and transmit information. The term “deep” in deep learn-
ing refers to the multiple layers these networks can possess, allowing them to uncover
intricate patterns and representations within raw data.
Deep neural networks are characterized by including numerous hidden layers between
the input and output layers. These hidden layers enable the network to acquire intricate and
hierarchical data representations. Convolutional Neural Networks (CNNs) and Recurrent
Neural Networks (RNNs) are prevalent types of deep neural networks. Deep learning per-
sists as a vibrant and quickly evolving domain, with ongoing research and groundbreaking
developments across diverse domains. Deep learning has realized notable advancements
across a spectrum of applications:
The impact of deep learning extends across a multitude of industries. In computer vision,
deep neural networks adeptly process visual data, empowering self-driving cars to iden-
tify pedestrians, road signs, and other vehicles, thus ensuring safe navigation. In natural
language processing (NLP), deep learning models proficiently comprehend and respond
to human language, powering chatbots and virtual assistants such as Siri and ChatGPT.
Healthcare experiences significant improvements as deep learning aids in disease diag-
nosis, drug discovery, and the analysis of medical images, ultimately enhancing patient
care and outcomes. In the financial sector, deep learning algorithms are at the forefront
of fraud detection, algorithmic trading, risk assessment, and safeguarding financial sys-
tems. Autonomous vehicles heavily rely on deep learning for navigation, environmental
perception, and real-time decision-making, offering a future of safer and more efficient
transportation. In robotics, deep learning augments the capabilities of robots, enabling
them to execute intricate tasks in unstructured environments. Creative industries harness
the power of deep learning to generate art, music, and video content, enriching the world
of entertainment and artistic expression.
Nevertheless, deep learning is full of its set of challenges and limitations. One signifi-
cant challenge is its reliance on copious amounts of labeled data for training, which may
only sometimes be readily available for specific tasks or domains. Overfitting poses another
issue: models excel in training data but need to improve on unseen data, necessitating the
deployment of regularization techniques. The training process for deep neural networks
demands substantial computational resources, including the utilization of GPUs or TPUs,
Smart Assisted Homes, Sensors, and Machine Learning ◾ 15
and an extensive amount of time. Moreover, the interpretability of deep learning models
remains a concern, as they are often regarded as “black boxes,” making it arduous to com-
prehend their decision-making processes. Transfer learning, the knowledge gained from
one task to another, only sometimes lends itself to seamless application in deep learning
and necessitates judicious model selection and adaptation.
Deep learning continues to evolve, propelled by a slew of promising trends. Research
into explainable AI seeks to imbue deep learning models with greater transparency and
interpretability, providing insight into their decision-making processes. Federated learn-
ing introduces the concept of models being collaboratively trained on decentralized data
sources, thus elevating privacy and security. By blending deep learning with reinforcement
learning techniques, reinforcement learning enables machines to acquire knowledge and
make decisions via interactions with their surroundings. The intersection of quantum
computing and deep learning, known as quantum machine learning, holds the potential to
solve complex problems exponentially faster. Ethical considerations gain increasing impor-
tance, ensuring that deep learning models remain equitable, unbiased, and accountable in
their decision-making processes. The following are different deep learning methods used
in short.
• Convolutional Neural Networks (CNNs) excel in tasks involving images and grid-
like data. They harness convolutional layers to discern features from raw pixel values
autonomously. CNNs have demonstrated their mettle in image classification, object
detection, and image generation.
• Recurrent Neural Networks (RNNs) are custom-built for sequential data, making
them suitable for tasks centered on time series data, NLP, and speech recognition.
RNNs boast a recurrent or feedback connection that facilitates the retention of prior
inputs.
• Generative Adversarial Networks (GANs) offer a unique approach by orchestrating
a face-off between two networks: a generator and a discriminator. GANs find util-
ity in generating fresh data samples, such as images, music, or text, by training the
generator to produce indistinguishable contents from genuine data. This innovative
technology is extensively employed in art generation, video game design, and special
effects.
• Autoencoders are another subset of neural networks adept at unsupervised learning
and data compression. Comprising an encoder and a decoder, autoencoders deftly
reduce the dimensionality of input data while preserving essential information. They
come to the fore in tasks such as image denoising and anomaly detection.
1.6.1 Transfer Learning
Transfer learning emerges as a machine learning technique that leverages knowledge gar-
nered from one task to amplify performance on another related yet distinct task [97–100].
In transfer learning, a model initially trains on a source task and subsequently adapts or
16 ◾ ML and Python for Behavior, Emotion, and Health Status
fine-tunes for a target task. Transfer learning emerges as an invaluable tool for construct-
ing effective machine learning models under restricted data and computational resources.
Transfer learning finds extensive utility across a range of applications:
Transfer learning frequently commences with a pre-trained model that has already cap-
tured valuable features from an extensive dataset, such as a deep neural network trained
on an extensive image dataset like ImageNet. These pre-trained models encode general
features, including edges, textures, and high-level object representations.
To implement transfer learning, the pre-trained model undergoes adaptation or fine-
tuning using a smaller dataset pertinent to the target task. This adaptation process empow-
ers the model to specialize in the target domain’s subtleties while retaining the source
task’s general knowledge.
On the other side of the spectrum, we have overfitting. This happens when a machine
learning model is too complex and tries to memorize the training data instead of learning
the underlying patterns. It’s like a student who memorizes answers without understanding
the concepts in a textbook. Consider a spam email filter. If we train a model on a dataset of
spam and non-spam emails, an overly complex model might remember each email’s unique
characteristics, including typos, font styles, or specific keywords. As a result, it would
struggle to generalize to new, unseen emails, marking some legitimate ones as spam and
vice versa.
Machine learning aims to find the right level of model complexity, a balance between
underfitting and overfitting. This sweet spot is where the model generalizes well to new,
unseen data. Achieving this balance requires careful model selection, feature engineering,
and tuning. Let’s explore how to identify and address both underfitting and overfitting.
Signs of underfitting can be:
• High training error (i.e., model performs poorly even on the training data).
• High validation error (i.e., model performs poorly on new data).
• The model’s predictions are too simplistic and inaccurate.
• Increase model complexity: Choose a more complex algorithm or increase the mod-
el’s capacity (e.g., using a deeper neural network).
• Add relevant features: Incorporate more meaningful features from the data to help
the model learn better.
• Low training error (i.e., model fits the training data almost perfectly).
• High validation error (i.e., model performs poorly on new data).
• The model’s predictions are overly sensitive to noise in the training data.
• Reduce model complexity: Simplify the model architecture by reducing the number of
features, nodes in a neural network, or tree depth in decision trees.
• Strengthen regularization techniques.
• Get more data: Additional high-quality data can help the model generalize better.
• Employ techniques like k-fold cross-validation to evaluate model performance more
robustly.
18 ◾ ML and Python for Behavior, Emotion, and Health Status
Let’s apply these concepts to a real-world problem: image classification. Suppose we want
to build a machine-learning model that can distinguish between cats and dogs based on
images. If we use a simple algorithm, like logistic regression, to classify these images, it
might need help to capture the intricate details that differentiate cats from dogs, resulting
in poor accuracy. That is the underfitting scenario.
Conversely, suppose we employ an intense neural network with millions of parameters
and train it on a relatively small dataset. In that case, the model may memorize the training
images’ pixel values rather than learning meaningful features. This leads to high training
accuracy but needs to improve generalization to new, unseen cat and dog images. That is
overfitting scenario.
1.7.2 Other Limitations
The efficacy of machine learning models heavily hinges on the quality and quantity of
data. Noisy or biased data can result in inaccurate predictions. Furthermore, obtaining
labeled data for supervised learning can be costly and time-consuming. Machine learning
models can inherit biases from the training data, culminating in unfair or discrimina-
tory outcomes. Ensuring fairness and mitigating bias in models stands as a critical ethical
concern. Deep learning models, in particular, often assume the guise of “black boxes” due
to the intricacy of understanding their decision-making processes. Interpretability is cru-
cial, especially in high-stakes domains such as healthcare and finance. Machine learning’s
heavy reliance on data is fundamental. Data quality and quantity significantly affect algo-
rithm performance. Biased, incomplete, or unrepresentative data can lead to accurate or
fair predictions. Collecting and labeling large datasets can be time-consuming and costly,
posing challenges for specific applications.
Machine learning models often need help to generalize beyond their training data.
While they may excel in the training data, they can fail on unseen or out-of-distribution
data, known as overfitting. Overfitting occurs when models become too specialized in
capturing noise in the training data, hampering generalization. Addressing overfitting
requires model selection, regularization, and cross-validation. Many machine learning
models, intense learning models, are viewed as black boxes. They provide predictions, but
understanding why a particular decision was made can be challenging. This lack of inter-
pretability and explainability is problematic in critical domains like healthcare or finance,
where trust and accountability require understanding the model’s reasoning. Machine
learning models can unintentionally perpetuate biases from the training data. Biases
related to race, gender, or other sensitive attributes in the training data may lead to biased
predictions. Mitigating bias and ensuring fairness is an ongoing challenge, requiring care-
ful data preprocessing, algorithmic fairness techniques, and ongoing monitoring. Some
shot notes of related problems can be described below.
• Many machine learning models, intense learning models, demand substantial compu-
tational resources. This includes high-performance hardware and energy consump-
tion, making them inaccessible to smaller organizations and raising environmental
concerns. Efficient model architectures and optimization techniques are developed to
address these resource limitations.
• Machine learning models excel at finding correlations but struggle with causality.
While they predict outcomes based on data patterns, they cannot establish underly-
ing cause-and-effect relationships. This limitation is crucial in domains where cau-
sality is essential, such as scientific research and public policy.
• Machine learning models assume data distributions remain constant over time.
However, real-world data distributions can change due to various factors, leading to
concept drift. Models that do not adapt to these changes may become obsolete, neces-
sitating continuous monitoring and retraining.
• Machine learning models lack the common sense and contextual understanding
humans naturally possess. While they may make data-driven predictions, they lack
the intuition and contextual knowledge humans use for decision-making. This limi-
tation hinders their suitability for tasks requiring a deep understanding of the world.
1.8 CONCLUSION
Smart assisted homes and machine learning are two technological innovations fundamen-
tally changing how we experience our living environments. A smart assisted home, com-
monly known as a smart home, incorporates interconnected devices and systems that can
be managed and automated through technology. Machine learning, a subset of AI, empow-
ers these smart homes by allowing them to learn from data and make informed decisions
without explicit programming. The application of machine learning within smart homes
is reshaping home automation. Machine learning algorithms can analyze data from vari-
ous sensors and devices in the home, including motion sensors, temperature detectors,
and cameras. They then use this data to understand and predict patterns of user behavior.
For example, a smart home system can learn when occupants usually return home from
work and adjust lighting, temperature, and security accordingly. Over time, these systems
become more attuned to the inhabitants’ routines, making the home more comfortable
and efficient. Energy management is another critical area where machine learning is mak-
ing a significant impact in smart homes. By utilizing historical data and real-time environ-
mental conditions, machine learning algorithms can optimize the operation of heating,
cooling, and lighting systems. A smart thermostat equipped with machine learning can
adapt heating and cooling schedules to minimize energy consumption while maintaining
comfort levels. This not only reduces energy costs but also contributes to environmental
sustainability. Security and safety are paramount concerns in any household, and machine
learning is crucial in enhancing these aspects within smart homes. Machine learning
also contributes significantly to improving the user experience in smart homes. Natural
language processing (NLP) algorithms enable voice assistants like Amazon’s Alexa and
20 ◾ ML and Python for Behavior, Emotion, and Health Status
REFERENCES
[1] L. Heron, “Smart Solutions for Seniors [Smart Homes - Consumer Technology],” Engineering &
Technology, vol. 18, no. 3, pp. 42–45, 2023, doi: 10.1049/et.2023.0308
[2] (a) A. Friedman, “Homes for Changing Times,” The Urban Book Series, pp. 1–29, 2023, doi:
10.1007/978-3-031-35368-0_1. (b) C. Warner Frieson, “Predictors of Recurrent Falls in Com
munity-Dwelling Older Adults after Fall-Related Hip Fracture,” Journal of Perioperative &
Critical Intensive Care Nursing, vol. 2, no. 2, pp. 1–2, 2016.
[3] L. Vijayaraja, N. S. Jayakumar, R. Dhanasekar, M. P. Manibha, V. Vignesh, and R. Kesavan,
“Sustainable Smart Homes Using IoT for Future Smart Cities,” in: 2023 4th International
Conference on Smart Electronics and Communication (ICOSEC), Tamil Nadu, India, Sep 20-22,
2023, doi: 10.1109/icosec58147.2023.10276371
[4] M. A. Fiatarone Singh, “Exercise, Nutrition and Managing Hip Fracture in Older Persons,”
Current Opinion in Clinical Nutrition and Metabolic Care, vol. 1, no. 1, p. 1, Nov 2013.
[5] M. Alwan, S. Dalal, D. Mack, S. Kell, B. Turner, J. Leachtenauer, and R. Felder, “Impact of
Monitoring Technology in Assisted Living: Outcome Pilot,” IEEE Transactions on Information
Technology in Biomedicine, vol. 10, no. 1, pp. 192–198, Jan 2006.
[6] C. N. Scanaill, S. Carew, P. Barralon, N. Noury, D. Lyons, and G. M. Lyons, “A Review of
Approaches to Mobility Telemonitoring of the Elderly in Their Living Environment,” Annals of
Biomedical Engineering, vol. 34, no. 4, pp. 547–563, Mar 2006.
[7] M. Perry, A. Dowdall, L. Lines, and K. Hone, “Multimodal and Ubiquitous Computing Systems:
Supporting Independent-living Older Users,” in: IEEE Transactions on Information Technology
in Biomedicine, vol. 8, no. 3, pp. 258–270, Sep 2004.
[8] R. Al-Shaqi, M. Mourshed, and Y. Rezgui, “Progress in Ambient Assisted Systems for
Independent Living by the Elderly,” SpringerPlus, vol. 5, no. 1, May 2016, doi: doi.org/10.1186/
s40064-016-2272-8
Smart Assisted Homes, Sensors, and Machine Learning ◾ 21
[9] Q. Ni, A. García Hernando, and I. de la Cruz, “The Elderly’s Independent Living in Smart
Homes: A Characterization of Activities and Sensing Infrastructure Survey to Facilitate
Services Development,” Sensors, vol. 15, no. 5, pp. 11312–11362, May 2015.
[10] M. R. Alam, M. B. I. Reaz, and M. A. M. Ali, “A Review of Smart Homes—Past, Present, and
Future,” in: IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and
Reviews), vol. 42, no. 6, pp. 1190–1203, Nov 2012.
[11] P. Rashidi and A. Mihailidis, “A Survey on Ambient-Assisted Living Tools for Older Adults,”
IEEE Journal of Biomedical and Health Informatics, vol. 17, no. 3, pp. 579–590, May 2013.
[12] A. S. M. Salih and A. Abraham, “A Review of Ambient Intelligence Assisted Healthcare
Monitoring,” International Journal of Computer Information Systems and Industrial Management
Applications, vol. 5, pp. 741–750, 2013.
[13] K. K. B. Peetoom, M. A. S. Lexis, M. Joore, C. D. Dirksen, and L. P. De Witte, “Literature Review
on Monitoring Technologies and Their Outcomes in Independently Living Elderly People,”
Disability and Rehabilitation: Assistive Technology, vol. 10, no. 4, pp. 271–294, Sep 2014.
[14] R. Khusainov, D. Azzi, I. Achumba, and S. Bersch, “Real-Time Human Ambulation, Activity,
and Physiological Monitoring: Taxonomy of Issues, Techniques, Applications, Challenges and
Limitations,” Sensors, vol. 13, no. 10, pp. 12852–12902, Sep 2013.
[15] A. Avci, S. Bosch, M. Marin-Perianu, R. Marin-Perianu, and P. Havinga, “Activity Recognition
Using Inertial Sensing for Healthcare, Wellbeing and Sports Applications: A Survey,” in: 23rd
International Conference on Architecture of Computing Systems, Hannover, Germany, pp. 1–10,
2010.
[16] A. Bulling, U. Blanke, and B. Schiele, “A Tutorial on Human Activity Recognition Using Body-
worn Inertial Sensors,” ACM Computing Surveys, vol. 46, no. 3, pp. 1–33, Jan 2014.
[17] S. Helal, W. Mann, H. El-Zabadani, J. King, Y. Kaddoura, and E. Jansen, “The Gator Tech Smart
House: A Programmable Pervasive Space,” Computer, vol. 38, no. 3, pp. 50–60, Mar 2005.
[18] J. Cook, A. S. Crandall, B. L. Thomas, and N. C. Krishnan, “CASAS: A Smart Home in a Box,”
Computer, vol. 46, no. 7, pp. 62–69, Jul 2013.
[19] M. Vacher, B. Lecouteux, P. Chahuara, F. Portet, B. Meillon, and N. Bonnefond, “The Sweet-
Home Speech and Multimodal Corpus for Home Automation Interaction,” in: Proceedings of
the Ninth International Conference on Language Resources and Evaluation (LREC’14), Reykjavik,
Iceland, pp. 4499–4506, 2014.
[20] J. Lloret, A. Canovas, S. Sendra, and L. Parra, “A Smart Communication Architecture for
Ambient Assisted Living,” in IEEE Communications Magazine, vol. 53, no. 1, pp. 26–33, Jan
2015, doi: 10.1109/MCOM.2015.7010512
[21] B. Andó, S. Baglio, C. O. Lombardo, and V. Marletta, A Multisensor Data-Fusion Approach for
ADL and Fall Classification. IEEE Transactions on Instrumentation and Measurement, vol. 65,
pp. 1960–1967, 2016.
[22] S. Badgujar and A. S. Pillai, “Fall Detection for Elderly People using Machine Learning,” in:
Proceedings of the 11th International Conference on Computing, Communication and Networking
Technologies (ICCCNT), Kharagpur, India, Jul 1–3, 2020.
[23] J. Xie, K. Guo, Z. Zhou, Y. Yan, and P. Yang, “ART: Adaptive and Real-time Fall Detection Using
COTS Smart Watch,” in: Proceedings of the 6th International Conference on Big Data Computing
and Communications (BIGCOM), Deqing, China, Jul 24–25, 2020.
[24] M. Nouredanesh, K. Gordt, M. Schwenk, and J. Tung Automated Detection of Multidirectional
Compensatory Balance Reactions: A Step Towards Tracking Naturally Occurring Near Falls,
IEEE Transactions on Neural Systems and Rehabilitation Engineering, vol. 28, pp. 478–487,
2020.
[25] D. Sarabia, R. Usach, C. Palau, and M. Esteve, “Highly-Efficient Fog-Based Deep Learning Aal
Fall Detection System,” Internet Things, vol. 11, p. 100185, 2020.
[26] R. Z. Ur Rehman, C. Buckley, M. E. Micó-Amigo, C. Kirk, M. Dunne-Willows, C. Mazzá, J. Qing
Shi, L. Alcock, L. Rochester, and S. Del Din, “Accelerometry-Based Digital Gait Characteristics
22 ◾ ML and Python for Behavior, Emotion, and Health Status
for Classification of Parkinson’s Disease: What Counts?,” IEEE Open Journal of Engineering in
Medicine and Biology, vol. 1, pp. 65–73, 2020 [CrossRef].
[27] R. Lutze, “Practicality of Smartwatch Apps for Supporting Elderly People—A Comprehensive
Survey,” in: Proceedings of the IEEE International Conference on Engineering, Technology and
Innovation (ICE/ITMC), Stuttgart, Germany, pp. 17–20 Jun 2018.
[28] B. Andó, S. Baglio, C. O. Lombardo, and V. Marletta, “An Event Polarized Paradigm for ADL
Detection in AAL Context,” IEEE Transactions on Instrumentation and Measurement, vol. 64,
pp. 1814–1825, 2015 [CrossRef].
[29] M. Haghi, A. Geissler, H. Fleischer, N. Stoll, and K. Thurow, “Ubiqsense: A Personal Wearable
in Ambient Parameters Monitoring based on IoT Platform,” in: Proceedings of the International
Conference on Sensing and Instrumentation in IoT Era (ISSI), Lisbon, Portugal, Aug 29–30,
2019.
[30] L. Scalise, V. Petrini, V. Di Mattia, P. Russo, A. De Leo, G. Manfredi, and G. Cerri, “Multiparameter
Electromagnetic Sensor for AAL Indoor Measurement of the Respiration Rate and Position
of a Subject,” in: Proceedings of the IEEE International Instrumentation and Measurement
Technology Conference (I2MTC), Pisa, Italy, May 11–14, 2015.
[31] A. L. Bleda-Tomas, R. Maestre-Ferriz, M. Á. Beteta-Medina, and J. A. Vidal-Poveda, “AmICare:
Ambient Intelligent and Assistive System for Caregivers support,” in: Proceedings of the IEEE
16th International Conference on Embedded and Ubiquitous Computing (EUC), Bucharest,
Romania, Oct 29–31, 2018.
[32] M. P. Fanti, G. Faraut, J. J. Lesage, and M. Roccotelli, “An Integrated Framework for Binary
Sensor Placement and Inhabitants Location Tracking,” IEEE Transactions on Systems, Man, and
Cybernetics, vol. 48, pp. 154–160, 2018 [CrossRef].
[33] P. De, A. Chatterjee, and A. Rakshit, “PIR Sensor based AAL Tool for Human Movement
Detection: Modified MCP based Dictionary Learning Approach,” IEEE Transactions on
Instrumentation and Measurement, vol. 69, pp. 7377–7385, 2020 [CrossRef].
[34] A. R. Jimenez, F. Seco, P. Peltola, and M. Espinilla, “Location of Persons Using Binary Sensors and
BLE Beacons for Ambient Assistive Living,” in: Proceedings of the 2018 International Conference
on Indoor Positioning and Indoor Navigation (IPIN), Nantes, France, Sep 24–27, 2018.
[35] C. Guerra, V. Bianchi, I. De Munari, and P. Ciampolini, “CARDEAGate: Low-cost, ZigBee-based
Localization and Identification for AAL Purposes,” in: Proceedings of the IEEE International
Instrumentation and Measurement Technology Conference (I2MTC) Proceedings, Pisa, Italy,
May 11–14, 2015.
[36] S. Chen, “Toward Ambient Assistance: A Spatially Aware Virtual Assistant eNabled by Object
Detection,” in: Proceedings of the International Conference on Computer Engineering and
Application (ICCEA), Guangzhou, China, Mar 18–20, 2020.
[37] S. Yue, Y. Yang, H. Wang, H. Rahul, and D. Katabi, “BodyCompass: Monitoring Sleep Posture
with Wireless Signals,” Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous
Technologies, vol. 4, pp. 1–25, 2020 [CrossRef].
[38] L. Fan, T. Li, Y. Yuan, and D. Katabi, “In-Home Daily-Life Captioning Using Radio Signals.
Computer Science—ECCV,” arXiv, 2020, arXiv:2008.10966.
[39] V. Vahia, Z. Kabelac, C. YuHsu, B. Forester, P. Monette, R. May, K. Hobbs, U. Munir, K. Hoti,
and D. Katabi, “Radio Signal Sensing and Signal Processing to Monitor Behavioural Symptoms
in Dementia: A Case Study,”. The American Journal of Geriatric Psychiatry, vol. 28, pp. 820–825,
2020 [CrossRef] [PubMed].
[40] L. Li, Y. Shuang, Q. Ma, H. Li, H. Zhao, M. L. Wei, C. Liu, C. Hao, C. Qiu, and T. Cui,
“Intelligent Metasurface Imager and Recognizer,” Light: Science & Applications, vol. 8, p. 97,
2019 [CrossRef].
[41] P. del Hougne M. Imani, A. Diebold, R. Horstmeyer, and D. Smith, “Learned Integrated Sensing
Pipeline: Reconfigurable Metasurface Transceivers as Trainable Physical Layer in an Artificial
Neural Network,” Advanced Science, vol. 7, p. 1901913, 2020 [CrossRef].
Smart Assisted Homes, Sensors, and Machine Learning ◾ 23
[42] H. Y. Li, H. T. Zhao, M. L. Wei, H. X. Ruan, Y. Shuang, T. J. Cui, P. del Hougne, and L. Li,
“Intelligent Electromagnetic Sensing with Learnable Data Acquisition and Processing,”
Patterns, vol. 1, p. 100006, 2020 [CrossRef].
[43] I. Cebanov, C. Dobre, A. Gradinar, R. I. Ciobanu, and V. D. Stanciu, “Activity Recognition for
Ambient Assisted Living Using off-the Shelf Motion Sensing Input Devices,” in: Proceedings of
the Global IoT Summit (GIoTS), Aarhus, Denmark, Jun 17–21, 2019.
[44] K. Ryselis, T. Petkus, T. Blazauskas, R. Maskeliunas, and R. Damasevicius, “Multiple Kinect
Based System to Monitor and Analyze Key Performance Indicators of Physical Training,”
Human-centric Computing and Information Sciences, vol. 10, p. 51, 2020 [CrossRef].
[45] D. Austin, T. L. Hayes, J. Kaye, N. Mattek, and M. Pavel, “On the Disambiguation of Passively
Measured In-home Gait Velocities from Multi-person Smart Homes”, Journal of Ambient
Intelligence and Smart Environments, vol. 3, no. 2, pp. 165–174, Apr. 2011.
[46] D. Austin, T. L. Hayes, J. Kaye, N. Mattek, and M. Pavel, “Unobtrusive Monitoring of the
Longitudinal Evolution of In-home Gait Velocity Data with Applications to Elder Care,” in:
2011 Annual International Conference of the IEEE Engineering in Medicine and Biology Society,
pp. 6495–6498, Aug 2011.
[47] T. S. Barger, D. E. Brown, and M. Alwan, “Health-Status Monitoring Through Analysis of
Behavioural Patterns,” IEEE Transactions on Systems, Man, and Cybernetics - Part A: Systems
and Humans, vol. 35, no. 1, pp. 22–27, Jan 2005.
[48] B. G. Celler, W. Earnshaw, E. D. Ilsar, L. Betbeder-Matibet, M. F. Harris, R. Clark, T. Hesketh, and
N. H. Lovell, “Remote Monitoring of Health Status of the Elderly at Home. A Multidisciplinary
Project on Aging at the University of New South Wales,” International Journal of Bio-Medical
Computing, vol. 40, no. 2, pp. 147–155, Oct 1995.
[49] D. J. Cook and M. Schmitter-Edgecombe, “Assessing the Quality of Activities in a Smart
Environment,” Methods of Information in Medicine, vol. 48, no. 5, pp. 480–485, May 2009.
[50] S. Dalai, M. Alwan, R. Seifrafi, S. Kell, and D. Brown, “A Rule-Based Approach to the Analysis
of Elders’ Activity Data: Detection of Health and Possible Emergency Conditions”, in: AAAI
Fall 2005 Symposium (EMBC), Sep 2005.
[51] J. Demongeot, G. Virone, F. Duchêne, G. Benchetrit, T. Hervé, N. Noury, and V. Rialle,
“Multi-sensors Acquisition, Data Fusion, Knowledge Mining and Alarm Triggering in Health
Smart Homes for Elderly People,” Comptes Rendus Biologies, vol. 325, no. 6, pp. 673–682, Jun
2002.
[52] F. J. Fernández-Luque, J. Zapata, and R. Ruiz, “A System for Ubiquitous Fall Monitoring at Home
Via a Wireless Sensor Network,” in: Annual International Conference of the IEEE Engineering in
Medicine and Biology, pp. 2246–2249, Aug 2010.
[53] C. Franco, J. Demongeot, C. Villemazet, and N. Vuillerme, “Behavioural Telemonitoring of the
Elderly at Home: Detection of Nycthemeral Rhythms Drifts from Location Data,” in IEEE 24th
International Conference on Advanced Information Networking and Applications Workshops,
pp. 759–766, 2010.
[54] A. Glascock and D. Kutzik, “The Impact of Behavioural Monitoring Technology on the
Provision of Health Care in the Home,” Journal of Universal Computer Science, vol. 12, no. 1,
pp. 59–79, 2006.
[55] A. P. Glascock and D. M. Kutzik, “Behavioural Telemedicine: A New Approach to the
Continuous Nonintrusive Monitoring of Activities of Daily Living,” Telemedicine Journal, vol.
6, no. 1, pp. 33–44, May 2000.
[56] S. Hagler, D. Austin, T. L. Hayes, J. Kaye, and M. Pavel, “Unobtrusive and Ubiquitous In-Home
Monitoring: A Methodology for Continuous Assessment of Gait Velocity in Elders,” IEEE
Transactions on Biomedical Engineering, vol. 57, no. 4, pp. 813–820, Apr 2010.
[57] T. L. Hayes, M. Pavel, and J. A. Kaye, “An Unobtrusive In-home Monitoring System for Detection
of Key Motor Changes Preceding Cognitive Decline,” in: The 26th Annual International
Conference of the IEEE Engineering in Medicine and Biology Society, pp. 2480–2483, 2004.
24 ◾ ML and Python for Behavior, Emotion, and Health Status
[58] J. Johnson, Consumer Response to Home Monitoring: A Survey of Older Consumers and Informal
Care Providers, Florida: University of Florida, 2009.
[59] A. R. Kaushik, N. H. Lovell, and B. G. Celler, “Evaluation of PIR Detector Characteristics for
Monitoring Occupancy Patterns of Elderly People Living Alone at Home,” in: 29th Annual
International Conference of the IEEE Engineering in Medicine and Biology Society, pp. 3802–
3805, Aug 2007.
[60] J. Kaye, “Intelligent Systems for Assessment of Aging Changes (ISAAC): Deploying Unobtrusive
Home-based Technology,” Gerontechnology, vol. 9, no. 2, Apr 2010.
[61] M. Abidine and B. Fergani, “News Schemes for Activity Recognition Systems Using PCA-
WSVM, ICA-WSVM, and LDA-WSVM,” Information, vol. 6, no. 3, pp. 505–521, Aug 2015.
[62] J. Aertssen, M. Rudinac, and P. Jonker, Fall and Action Detection in Elderly Homes, Maastricht,
The Netherlands: AAATE, 2011.
[63] E. Auvinet, L. Reveret, A. St-Arnaud, J. Rousseau, and J. Meunier, “Fall Detection Using Multiple
Cameras,” in 30th Annual International Conference of the IEEE Engineering in Medicine and
Biology Society, Vancouver, BC, pp. 2554–2557, 2008.
[64] E. Auvinet, F. Multon, A. Saint-Arnaud, J. Rousseau, and J. Meunier, “Fall Detection With Multiple
Cameras: An Occlusion-Resistant Method Based on 3-D Silhouette Vertical Distribution,” IEEE
Transactions on Information Technology in Biomedicine, vol. 15, no. 2, pp. 290–300, Mar 2011.
[65] M. Belshaw, B. Taati, D. Giesbrecht, and A. Mihailidis, “Intelligent Vision-based Fall Detection
System: Preliminary Results from a Realworld Deployment,” in: Rehabilitation Engineering and
Assistive Technology Society of North America (RESNA), pp. 1–4, 2011.
[66] M. Belshaw, B. Taati, J. Snoek, and A. Mihailidis, “Towards a Single Sensor Passive Solution for
Automated Fall Detection,” in: Proceedings of the 33rd Annual International Conference of the
IEEE EMBS, pp. 1773–1776, Aug/Sep 2011.
[67] S. J. Berlin and M. John, “Human Interaction Recognition Through Deep Learning Network,”
in: IEEE International Carnahan Conference on Security Technology (ICCST), Orlando, FL, pp.
1–4, 2016.
[68] D. Brulin, Y. Benezeth, and E. Courtial, “Posture Recognition Based on Fuzzy Logic for Home
Monitoring of the Elderly,” in IEEE Transactions on Information Technology in Biomedicine, vol.
16, no. 5, pp. 974–982, Sep. 2012.
[69] H. Chen, G. Wang, J. H. Xue, and L. He, “A Novel Hierarchical Framework for Human Action
Recognition,” Pattern Recognition, vol. 55, pp. 148–159, 2016.
[70] C. W. Lin and Z. H. Ling, “Automatic Fall Incident Detection in Compressed Video for
Intelligent Homecare,” in: 2007 16th International Conference on Computer Communications
and Networks, Honolulu, HI, pp. 1172–1177, 2007.
[71] Y. Du, W. Wang, and L. Wang, “Hierarchical Recurrent Neural Network for Skeleton Based
Action Recognition,” in: IEEE Conference on Computer Vision and Pattern Recognition (CVPR),
pp. 1110–1118, Boston, MA, 2015.
[72] H. Foroughi, B. S. Aski, and H. Pourreza, “Intelligent Video Surveillance for Monitoring Fall
Detection of Elderly in Home Environments,” in: 11th International Conference on Computer
and Information Technology, Khulna, pp. 219–224, 2008.
[73] Z. Huang, C. Wan, T. Probst, and L. V. Gool, Deep Learning on lie Groups for Skeleton-Based
Action Recognition, arXiv Prepr, Cornell University Library, Ithaca, NY, 2016, http://arxiv.org/
abs/1612.05877
[74] M. Kreković et al., “A Method for Real-time Detection of Human Fall from Video,” in:
Proceedings of the 35th International Convention MIPRO, Opatija, pp. 1709–1712, 2012.
[75] Z. Lan, M. Lin, X. Li, A. G. Hauptmann, and B. Raj, “Beyond Gaussian Pyramid: Multi-skip
Feature Stacking for Action Recognition,” in: IEEE Conference on Computer Vision and Pattern
Recognition (CVPR), pp. 204–212, Boston, MA, 2015.
[76] Y. Li, W. Li, V. Mahadevan, and N. Vasconcelos, “Vlad3: Encoding Dynamics of Deep Features
for Action Recognition,” in: IEEE Conference on Computer Vision and Pattern Recognition
(CVPR), pp. 1951–1960, Las Vegas, NV, 2016.
Smart Assisted Homes, Sensors, and Machine Learning ◾ 25
[77] Y. Li, K. C. Ho, and M. Popescu, “A Microphone Array System for Automatic Fall Detection,”
IEEE Transactions on Biomedical Engineering, vol. 59, no. 5, pp. 1291–1301, May 2012.
[78] Y. Lee, J. Kim, M. Son, and M. Lee, “Implementation of Accelerometer Sensor Module and Fall
Detection Monitoring System based on Wireless Sensor Network,” in: 29th Annual International
Conference of the IEEE Engineering in Medicine and Biology Society, Lyon, pp. 2315–2318, 2007.
[79] T. Lee and A. Mihailidis, “An Intelligent Emergency Response System: Preliminary Development
and Testing of Automated Fall Detection,” Journal of Telemedicine and Telecare, vol. 11, no. 4,
pp. 194–198, 2005.
[80] Y.-S. Lee and W.-Y. Chung, “Visual Sensor Based Abnormal Event Detection with Moving
Shadow Removal in Home Healthcare Applications,” Sensors, vol. 12, no. 12, pp. 573–584, Jan
2012.
[81] J. Lien, N. Gillian, M. E. Karagozler, P. Amihood, C. Schwesig, E. Olson, H. Raja, and I.
Poupyrev, “Soli,” ACM Transactions on Graphics, vol. 35, no. 4, pp. 1–19, Jul 2016.
[82] L. Rui, S. Chen, K. C. Ho, M. Rantz, and M. Skubic, “Estimation of Human Walking Speed by
Doppler Radar for Elderly Care,” Journal of Ambient Intelligence and Smart Environments, vol.
9, no. 2, pp. 181–191, Feb 2017.
[83] Q. Wan, Y. Li, C. Li, and R. Pal, “Gesture Recognition for Smart Home Applications Using
Portable Radar Sensors,” in: 36th Annual International Conference of the IEEE Engineering in
Medicine and Biology Society, Chicago, IL, pp. 6414–6417, 2014.
[84] F. Thullier, A. Beaulieu, J. Maître, S. Gaboury, and K. Bouchard, “A Systematic Evaluation of
the XeThru X4 Ultra-Wideband Radar Behaviour,” Procedia Computer Science, vol. 198, pp.
148–155, 2022.
[85] M. Z. Uddin, F. M. Noori, and J. Torresen, “In-Home Emergency Detection Using an Ambient
Ultra-Wideband Radar Sensor and Deep Learning,” 2020 IEEE Ukrainian Microwave Week
(UkrMW), 2020, pp. 1089–1093, doi: 10.1109/UkrMW49653.2020.9252708
[86] F. M. Noori, M. Z. Uddin, and J. Torresen, “Ultra-Wideband Radar-Based Activity Recognition
Using Deep Learning,” in IEEE Access, vol. 9, pp. 138132–138143, 2021, doi: 10.1109/ACCESS.
2021.3117667
[87] H. Xu, M. P. Ebrahim, K. Hasan, F. Heydari, P. Howley, and M. R. Yuce, “Accurate Heart Rate
and Respiration Rate Detection Based on a Higher-Order Harmonics Peak Selection Method
Using Radar Non-Contact Sensors,” Sensors, vol. 22, p. 83, 2022.
[88] S. Klavestad, G. Assres, S. Fagernes, and T.-M. Grønli, “Monitoring Activities of Daily Living
Using UWB Radar Technology: A Contactless Approach,” IoT, vol. 1, pp. 320–336, 2020.
[89] M. Liu, “Machine Learning: An Overview,” Machine Learning, Animated, Chapman and Hall/
CRC, pp. 34–46, Oct. 2023, doi: 10.1201/b23383-3
[90] D. Chopra and R. Khurana, “Introduction To Machine Learning,” Introduction to Machine
Learning with Python, Bentham Science Publishers, pp. 15–29, Feb 2023, doi: 10.2174/97898151
24422123010004
[91] M. Plaue, “Supervised Machine Learning,” Data Science, pp. 185–248, 2023, doi: 10.1007/
978-3-662-67882-4_6
[92] H. Li, “Summary of Supervised Learning Methods,” Machine Learning Methods, pp. 273–280,
Dec 2023, doi: 10.1007/978-981-99-3917-6_12
[93] T. Jo, “Unsupervised Learning,” Deep Learning Foundations, pp. 57–81, 2023, doi: 10.1007/
978-3-031-32879-4_3
[94] H. Li, “Introduction to Unsupervised Learning,” Machine Learning Methods, pp. 281–292, Dec
2023, doi: 10.1007/978-981-99-3917-6_13
[95] J. Kim, S. Park, S.-D. Roh, and K.-S. Chung, “An Efficient Noisy Label Learning Method with
Semi-supervised Learning,” in: Proceedings of the 2023 6th International Conference on Machine
Vision and Applications, March 2023, doi: 10.1145/3589572.3589596
[96] J. Saeedi and A. Giusti, “Semi-supervised Visual Anomaly Detection Based on Convolutional
Autoencoder and Transfer Learning,” Machine Learning with Applications, vol. 11, p. 100451,
Mar 2023, doi: 10.1016/j.mlwa.2023.100451
Exploring the Variety of Random
Documents with Different Content
Many flowers show a remarkable appreciation of the passage of
time and open and close at regular hours each day. In fact, a close
student of floral habits can actually tell the time of day by watching
the actions of the flowers around him. It is said that the Swedish
botanist Linnaeus once built himself a flower clock, arranged to
count the passing hours by the folding and unfolding of different
blossoms. One does not really need to go to this trouble. The
common flowers of the field and garden are all accurate time-pieces.
Long before the rising of the sun their activity begins; in fact even the
night hours are all noticed by certain more obscure plants. Along
about three in the morning, the dainty Goat’s-Beard wakes from
sleep and spreads its petals. Promptly at four o’clock the Dandelion
begins its day’s work. The Naked Stalked Poppy, the copper-
coloured Day-Lily and the smooth Sow-Thistle are five o’clock risers.
The Field Marigold is a slug-a-bed, and does not blink its sleepy
eyes at the sun until ten o’clock. The Ice-Plant throws back its downy
coverlets exactly at noon.
Shortly after mid-day, the early risers begin to get tired, and
prepare to sleep through the heat of the afternoon. Beginning with
the Hawkweed Picris shortly after noon, and extending to the bed-
time of the Chickweed at ten at night, every quarter hour sees the
retirement of some particular flower. After sundown, the night owls
make their appearance, and such plants as the Night-Blooming
Cereus, the Moonflower, and the Datura check off the fleeting
minutes. How can this marvelous acquaintance with the passage of
time be explained in terms of cold materialism?
Among plants which show a well-developed sense of direction, the
Compass-Plant is probably the most remarkable. Its flowers, and
sometimes the edges of its leaves, always point toward the north
with the certainty of a magnet. Travelers have been known to use it
as a natural guide.
A great many plants perform remarkable acts which can only be
explained by the possession of some measure of psychic sense or
quality. Thus, a climbing plant in need of a prop will creep along the
ground toward the nearest vertical support. If the support is shifted,
the vine will promptly change the direction of its progress, and
eventually reach the object of its desires.
Inasmuch as it is positively known that plants are sensitive to light,
it may be that, in this case, the vine actually perceives the support
through a process akin to animal sight; but if a climbing plant finds
itself growing between two mounds or ridges, and behind one there
is a wall or some other means of support, and behind the other none,
it will invariably bend its creeping steps over the ridge hiding the wall.
The wall was invisible from the plant’s starting-point, and certainly
betrayed its presence through no odour or other manifestation. In
some mysterious way, the creeper simply knew that a vital necessity
of its life lay in a certain direction. Ordinarily, we associate such
phenomena with psychic influences. It is quite evident, that in certain
ways, the plants display a very practical knowledge of such
mysteries.
For many years, man has instinctively been aware of this psychic
superiority of the members of the vegetable kingdom, and has gone
to them for advice in various troubles and difficulties, even
sometimes believing the plants to have a direct control over the
affairs and lives of men. While the great mass of such alleged
influence is classed by modern thought as merest superstition, who
can say that the wildest of these fancies does not contain certain
germs of truth? At any rate, a brief investigation of some of the more
popular beliefs of former years is very illuminating.
In ancient days, many flowers and plants were supposed to
possess the power of discovering the location of lost or hidden riches
and conducting a human searcher to them. The Germans named the
Primrose Schlüsselblume, or key-flower, in the belief that, if held in
the hand, it would unlock to its possessor the location of buried
treasure by some movement or other manifestation. To this day,
many country people in Europe and America have implicit faith in the
ability of the divining rod to seek out underground water. There are
many enlightened folk who claim that reported successes of this
method of picking well-sites are mere coincidences, but in view of
the wide-spread reliance on this theory which is constantly meeting
the most practical tests, would it not be open-minded to suggest that
possibly the branches of the rod do make some slight movement
toward the hidden water with which they have a natural affinity?
As mentioned in a previous chapter, young people through all
ages have gone to flowers for counsel when in love. The most
frequent masculine question has been “Does she love me?” The
flowers have given the answer in a variety of ways, most often by the
number of their petals. The query of the very young girl usually has
been “Will I be married?” and she has been sure to see that the reply
is most often in the affirmative. In A Midsummer Night’s Dream,
Oberon tells Puck to lay Pansies on Titania’s eyes in order that she
may fall in love with the first person she sees upon awakening.
There was a time when people placed great reliance upon the
efficacy of dreams. Plants seen in dreams always had special
significance. Among the various omens, general good fortune was
indicated by Palms, Olives, Jessamines, Lilies, Laurels, Thistles,
Currants and Roses. When flowers or fruit of the Plum, Cherry,
Cypress and Dandelion appeared, misfortune was indicated.
Withered Roses foretold especially dire events. “Nobody is fond of
fading flowers.” A four-leaved Clover put under a pillow induced
dreams of one’s lover. In parts of South America, the natives are said
to smoke and eat certain intoxicating plants in the hope that they
may see visions in the resulting narcotic dreams.
Plants have not been the cause of very many ghost stories, but
occasionally one hears of some mysterious night adventure of which
some plant is the central figure.
The Reverend S. H. Wainright of Japan tells a somewhat amusing
tale of a ghost scare he and his family had while living at Tsukiji,
Tokio. One evening, while sitting around the fire, they were
considerably disturbed by a weird and recurring sound which
seemed to come from the front yard. At first they took it for the
creaking of a bamboo gate, then for boys throwing pebbles, but
neither of these explanations seemed adequate. Finally, continual
repetitions led to a search which located the noises in a Wistaria
arbour near the front fence. On near approach, the loud taps
sounded so much like stones striking the leaves, that it was decided
to take no further notice of the matter. However, the problem
weighed on Mr. Wainright’s mind, and he and his son at length
sallied forth a third time, determined with Aristotle that the main thing
was to know the causes.
“We entered the side yard through the bamboo gate and
approached the Wistaria. Underneath the Trellis arbour there were
dark shadows and outlines were indistinct. A Palmyra Palm was
growing in the corner of the fence under the arbour, and the fingers
of one of the leaves pointing downward seemed to be the hand of a
man. When expectation is running high, a fingered palm leaf may
easily become the hand of a human being or of a shadowy ghost.
We had the electric burners brought to the windows upstairs and the
light thrown toward the arbour, and the shadows cast by the electric
rays rendered the situation all the more mysterious.
“The noises were plainly among the Wistaria vines. But, strange to
say, the stones which seemed to be striking the vines came from no
particular direction. They seemed to burst like shells the minute they
struck and the pieces were heard to fall or strike in different
directions. By this time the thought of ghosts had not only occurred
to us but was gaining force in our minds. Indeed, a first-rate romance
was developing—subjectively, I should no doubt add.”
Again the party abandoned the quest, returned to their fireside, but
could not rest content. “With a heroic determination of will, I declared
that I would again go in search of the causes and not return until the
secret had been found out. The lights were held by those who
remained indoors at the upstairs windows. Two of us approached
through the side yard the place of mystery. Step by step we
advanced, stopping at intervals to listen. We could see nothing, but
the noises we heard were unmistakable. There could be no
deception as to their reality. Step by step, we drew nearer, peering in
the meanwhile into the dark shadows beneath the Wistaria. The
nearer we came to the arbour, the greater was the sense of mystery
which possessed us. The noises were weird and inexplicable. As we
came near, a discovery was made which excited us still more. After
the explosion of the shells, white sabers seemed to fall upon the
ground. Were the ghosts in battle? What could it all mean?
“Loyal to the heroic determination to go straight to the seat of the
trouble, I walked beneath the Wistaria arbour feeling an atmosphere
charged with electricity as I went. We stood side by side looking
about and waiting, when suddenly a Fuji pod exploded before our
eyes. The seeds flew in different directions and the divided halves of
the pod fell to the ground and lay like sabers dropped in the attack of
battle. When the discovery was made, one of us called out to the
upstairs window that it was the explosion of the Wistaria pods that
caused the noises. There was a general laugh and the ghosts
disappeared. Not affected by rain or darkness, by heat or cold, by
human foot-steps or voice, there is one thing ghosts cannot endure;
to be laughed at literally slays them.”
In the Middle Ages, the Mandrake was a magical plant which was
reputed to shine like a candle at night and thrive particularly well
near the gallows. When pulled from the earth, it uttered uncanny
shrieks, and according to Shakespeare “living mortals hearing them
ran mad.”
Two centuries ago it was believed that every plant, as well as
every human being, was under the influence of some particular
planet. The plants over which Saturn claimed an ascendency were
characterized by ill-favoured leaves, ugly flowers and repellent
odours. On the other hand the plants of Jupiter displayed smooth
leaves and graceful, fragrant flowers. Today we believe that all plants
belong to only one planet, and that is the planet earth.
In the minds of agricultural folk, the moon has always had great
influence over vegetation. There are many rules still extant regarding
the proper time of that satellite’s phases in which to plant, reap and
perform a hundred other rustic acts. A medieval superstition stated
that when the moon was on the increase it imparted healing and
medicinal qualities to all herbs. During its decline, the same plants
generated poisons.
The mystic qualities of the flowers have been responsible for their
extensive ceremonial use throughout all history. Man attempts to
express all his more subtle emotions by their sweetness and purity.
He carries them alike to christenings, weddings and funerals, and
invariably sends them to his best girl. It is recorded that a certain
eastern king of antiquity was in the habit of offering a hundred
thousand flowers each day before the idol of a favourite god.
Flowers are still extensively used as signs and symbols. There are
ponderous volumes written on the “Language of Flowers.” All the
garden beauties have a natural symbolism written on their faces.
Rosemary, with its lingering colour, is an eternal emblem of
remembrance. “Violets dim but sweeter than the lids of Juno’s eyes
or Cytherea’s breath” speak of modesty in quiet tones. The spotless
Lily must always stand for purity.
Other floral symbols have been chosen for more remote but quite
apparent characteristics. Impatience is indicated by the Balsam
seed-pods, which, when ripe, curl up at the slightest touch, and
shoot forth their seeds with great violence. A popular name for the
plant is “Touch-Me-Not.” The very name of Heliotrope tells of its
constant turning toward the sun. It is often referred to as a symbol of
devoted attachment. Aspen, because of its tremulous motion has
been made a sign of fear. When people think of the Poppy and its
narcotic product, they likewise think of sleep and oblivion. A less
apparent symbol is found in the Wild Anemone, which is taken to
denote brevity because its frail petals are soon scattered by the
boisterous wind. The Snow-Drop, first flower of spring, peeping from
its immaculate snow bank, is an unmistakable emblem of purity.
The ancients were very liberal users of floral tokens; the Chinese,
Assyrians and Egyptians had many identical beliefs on the subject.
The Olive was and still is the universal badge of peace. Laurel was
the classic sign of renown with which the brows of prominent
athletes and statesmen were crowned. The Cypress was often an
index of mourning. The Rose and the Myrtle, having been dedicated
to Venus, were insignias of love. The Palm was a wide-spread
representation of victory. Bible students will recall that Palms were
scattered before Jesus Christ on the occasion of his triumphant entry
into Jerusalem.
In their enthusiasm, flower-lovers have sometimes allowed their
imagination to carry them into unnatural and artificial symbolism. It is
not difficult to associate the White Lily with purity but when we are
told that the Flowering Almond represents hope, the Common
Almond indiscretion and stupidity, and the Floral Almond perfidity,
one is reduced to looking up this curious code in an indexed book.
When each variety of the Rose family has different and fluctuating
significance, a swain hesitates to summon the floral language of love
to his aid.
Many people believe that peculiar mystic attachments exist
between certain birds and flowers. The Persians claim that whenever
a Rose is plucked, the nightingale utters a plaintive cry as if to
protest against the wounding of the object of its love. Many other
birds show marked affection for various plants.
In the same manner, almost every man and woman has his or her
favourite flower. Certain persons of a temperamental type are often
emotionally affected by the presence of flowers with which they
appear to have a mysterious psychic connection. Certain people
claim to be able to discern such marked similiarity between human
beings and various flower affinities that they undertake to liken
various prominent people to different blossoms. There is much
chance for scientific investigation in this field. With Perdita we at
least know that “flowers of middle summer should be given to men of
middle age, but for our young prince we want flowers of the spring
that may become his time of day.”
Sometimes, through sentimental attachment, whole peoples elect
certain flowers to represent them before the world. Thus the United
States has chosen the Goldenrod for its national floral emblem, while
the Rose of England, the Thistle of Scotland, the Shamrock of
Ireland, and the Leek of Wales act in the same capacity for the
British Isles.
Man paid a high compliment to the mystic veneration in which he
holds the plant world when he, in his primitive beliefs, invariably
conceived of heaven as some terrestrial paradise of luxurious
vegetation. The Persians had their Mount Caucasus; the Arabians
dreamed about an Elysium in the Desert of Arden; the Greeks and
Romans had bright mental pictures of the Gardens of Hesperides;
and the Celts hoped to spend their postmortem existence on an
enchanted isle of wondrous beauty.
Such beliefs have fallen into disuse, but man is still a long way off
from a solution of the various mystic phenomena of the plant world.
Botanists should leave off indexing and classifying plants for a while
and endeavour to discover the subtle and fascinating laws of their
psychic existence.
CHAPTER XIII
Plant Intelligence
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookfinal.com