One of the main topics of Smart Home (SH) research is the recognition of activities performed by its inhabitants, which is considered to be one of the bases to foster new technological solutions inside the home, including services to prolong independent living of the elderly. However, current activity recognition proposals still find problems when considering all the different types of activities that can be performed at home, namely static, dynamic, and transitional activities. In this paper, we consider recognition of transitional activities, which is often ignored in most studies. In addition, we propose a novel dynamic segmentation method based on change points in data stream and construct an ensemble of heterogeneous classifiers to recognize twelve activities (of all types). The experiment is conducted on the dataset collected over ten hours by a wearable accelerometer placed on the person’s wrist. The base classifiers selected to form this ensemble are support vector machine (SVM), decision tree (DT) and k-nearest neighbors (KNN). As a result, the proposed approach has achieved an overall classification accuracy equal to 96.87% with 10-fold cross-validation. Moreover, all activity types considered have been similarly well identified.
This paper introduces an arithmetic data file, a key technology for data processing in a ternary optical computer (TOC). The physical form of the ternary optical processor and its data processing characteristics are analyzed. Based on this analysis, the compution-data is constructed, and research is carried out on the format of the compution-data, its generation method, and the expansion of high-level languages transmitted to the ternary optical processor. The calculation rules and the raw data for the ternary optical computer are organized into a file that conforms to the calculation characteristics of the computer. A data processing mechanism based on the compution-data is proposed. Finally, an experimental test was conducted on the platform of a ternary optical computer using specific examples. The results showed that by organizing and transmitting data through the compution-data, the ternary optical computer could fully utilize its computational advantages in data processing while shielding the underlying complex hardware processing. This makes it convenient for users to apply this new type of computer. This data processing mechanism can offer a novel perspective for other heterogeneous systems in data processing.
Despite the indispensable role of traditional electronic computers in modern society, their limitations in parallel processing capabilities, bit-width constraints, and processor bit-width are becoming increasingly apparent, especially when handling large-scale datasets and complex computational tasks. Although hardware technology and algorithm optimization continue to advance, the arithmetic units of traditional computers—adders—remain constrained by carry delay and bit-width limitations. This bottleneck is particularly pronounced in multiplication operations, mainly when adders are used for partial product accumulation. However, since 2018, the emergence of a new type of Reconfigurable Four-Valued Logic Electronic Processor (RFLEP) has provided a potential solution to these traditional limitations. With its large processor bit-width, flexible bit grouping capabilities, and dynamic hardware function reconfiguration features, this processor has brought revolutionary changes to the field of computing. In this context, this paper proposes and implements a Reconfigurable Four-Valued Logic Multiplication Routine (RFLMR) tailored explicitly for the RFLEP. The RFLMR utilizes the Modified Signed-Digit (MSD) representation method in multi-valued logic combined with the M transformation in four-valued logic to generate partial products. These partial products are then efficiently summed in parallel using the JW-MSD parallel adder, achieving the rapid execution of multiplication operations. Experimental results demonstrate that the multiplication routine based on the RFLEP performs multiplication operations accurately and meets theoretical expectations regarding implementation efficiency and performance. This research not only provides new ideas for developing next-generation high-performance computing systems but also paves the way for exploring more efficient and powerful computing models, heralding a profound transformation in future computing technology.