14 research outputs found

    Signal Denoising Method Using AIC–SVD and Its Application to Micro-Vibration in Reaction Wheels

    No full text
    To suppress noise in signals, a denoising method called AIC–SVD is proposed on the basis of the singular value decomposition (SVD) and the Akaike information criterion (AIC). First, the Hankel matrix is chosen as the trajectory matrix of the signals, and its optimal number of rows and columns is selected according to the maximum energy of the singular values. On the basis of the improved AIC, the valid order of the optimal matrix is determined for the vibration signals mixed with Gaussian white noise and colored noise. Subsequently, the denoised signals are reconstructed by inverse operation of SVD and the averaging method. To verify the effectiveness of AIC–SVD, it is compared with wavelet threshold denoising (WTD) and empirical mode decomposition with Savitzky–Golay filter (EMD–SG). Furthermore, a comprehensive indicator of denoising (CID) is introduced to describe the denoising performance. The results show that the denoising effect of AIC–SVD is significantly better than those of WTD and EMD–SG. On applying AIC–SVD to the micro-vibration signals of reaction wheels, the weak harmonic parameters can be successfully extracted during pre-processing. The proposed method is self-adaptable and robust while avoiding the occurrence of over-denoising

    Text Similarity Between Concepts Extracted from Source Code and Documentation

    Get PDF
    Context: Constant evolution in software systems often results in its documentation losing sync with the content of the source code. The traceability research field has often helped in the past with the aim to recover links between code and documentation, when the two fell out of sync. Objective: The aim of this paper is to compare the concepts contained within the source code of a system with those extracted from its documentation, in order to detect how similar these two sets are. If vastly different, the difference between the two sets might indicate a considerable ageing of the documentation, and a need to update it. Methods: In this paper we reduce the source code of 50 software systems to a set of key terms, each containing the concepts of one of the systems sampled. At the same time, we reduce the documentation of each system to another set of key terms. We then use four different approaches for set comparison to detect how the sets are similar. Results: Using the well known Jaccard index as the benchmark for the comparisons, we have discovered that the cosine distance has excellent comparative powers, and depending on the pre-training of the machine learning model. In particular, the SpaCy and the FastText embeddings offer up to 80% and 90% similarity scores. Conclusion: For most of the sampled systems, the source code and the documentation tend to contain very similar concepts. Given the accuracy for one pre-trained model (e.g., FastText), it becomes also evident that a few systems show a measurable drift between the concepts contained in the documentation and in the source code.</p

    Optimal control and approximations

    Get PDF
    corecore