The maintainability of source code is a key quality characteristic for software *** approaches have been proposed to quantitatively measure code *** approaches rely heavily on code metrics,e.g.,the number of Lines of ...
详细信息
The maintainability of source code is a key quality characteristic for software *** approaches have been proposed to quantitatively measure code *** approaches rely heavily on code metrics,e.g.,the number of Lines of Code and McCabe’s Cyclomatic *** employed code metrics are essentially statistics regarding code elements,e.g.,the numbers of tokens,lines,references,and branch ***,natural language in source code,especially identifiers,is rarely exploited by such *** a result,replacing meaningful identifiers with nonsense tokens would not significantly influence their outputs,although the replacement should have significantly reduced code *** this end,in this paper,we propose a novel approach(called DeepM)to measure code maintainability by exploiting the lexical semantics of text in source *** leverages deep learning techniques(e.g.,LSTM and attention mechanism)to exploit these lexical semantics in measuring code *** key rationale of DeepM is that measuring code maintainability is complex and often far beyond the capabilities of statistics or simple ***,DeepM leverages deep learning techniques to automatically select useful features from complex and lengthy inputs and to construct a complex mapping(rather than simple heuristics)from the input to the output(code maintainability index).DeepM is evaluated on a manually-assessed *** evaluation results suggest that DeepM is accurate,and it generates the same rankings of code maintainability as those of experienced programmers on 87.5%of manually ranked pairs of Java classes.
Abnormal event detection in video surveillance is critical for security, traffic management, and industrial monitoring applications. This paper introduces an innovative methodology for anomaly detection in video data,...
详细信息
Network embedding,as an approach to learning low-dimensional representations of nodes,has been proved extremely useful in many applications,e.g.,node classification and link ***,existing network embed-ding models are ...
详细信息
Network embedding,as an approach to learning low-dimensional representations of nodes,has been proved extremely useful in many applications,e.g.,node classification and link ***,existing network embed-ding models are vulnerable to random or adversarial perturbations,which may degrade the performance of network em-bedding when being applied to downstream *** achieve robust network embedding,researchers introduce adversari-al training to regularize the embedding learning process by training on a mixture of adversarial examples and original ***,existing methods generate adversarial examples heuristically,failing to guarantee the imperceptibility of generated adversarial examples,and thus limit the power of adversarial *** this paper,we propose a novel method Identity-Preserving Adversarial Training(IPAT)for network embedding,which generates imperceptible adversarial exam-ples with explicit identity-preserving *** formalize such identity-preserving regularization as a multi-class classification problem where each node represents a class,and we encourage each adversarial example to be discriminated as the class of its original *** experimental results on real-world datasets demonstrate that our proposed IPAT method significantly improves the robustness of network embedding models and the generalization of the learned node representations on various downstream tasks.
From the perspective of resource-theoretic approach,this study explores the quantification of imaginary in quantum *** propose a well defined measure of imaginarity,the geometric-like measure of *** with the usual geo...
详细信息
From the perspective of resource-theoretic approach,this study explores the quantification of imaginary in quantum *** propose a well defined measure of imaginarity,the geometric-like measure of *** with the usual geometric imaginarity measure,this geometric-like measure of imaginarity exhibits smaller decay difference under quantum noisy channels and higher *** applications,we show that both the optimal probability of state transformations from a pure state to an arbitrary mixed state via real operations,and the maximal probability of stochastic-approximate state transformations from a pure state to an arbitrary mixed state via real operations with a given fidelity f,are given by the geometric-like measure of imaginarity.
Hematoxylin and eosin (H&E) staining are the key sources for identifying breast cancer patterns with different colors and shapes of nuclei cells for segmenting histopathology nucleus images. In nucleus cells, the ...
详细信息
With the widespread use of network infrastructures such as 5G and low-power wide-area networks,a large number of the Internet of Things(IoT)device nodes are connected to the network,generating massive amounts of ***,i...
详细信息
With the widespread use of network infrastructures such as 5G and low-power wide-area networks,a large number of the Internet of Things(IoT)device nodes are connected to the network,generating massive amounts of ***,it is a great challenge to achieve anonymous authentication of IoT nodes and secure data *** present,blockchain technology is widely used in authentication and s data storage due to its decentralization and ***,Fan et *** a secure and efficient blockchain-based IoT authentication and data sharing *** studied it as one of the state-of-the-art protocols and found that this scheme does not consider the resistance to ephemeral secret compromise attacks and the anonymity of IoT *** overcome these security flaws,this paper proposes an enhanced authentication and data transmission scheme,which is verified by formal security proofs and informal security ***,Scyther is applied to prove the security of the proposed ***,it is demonstrated that the proposed scheme achieves better performance in terms of communication and computational cost compared to other related schemes.
High-quality public datasets significantly prompt the prosperity of deep neural networks (DNNs). Currently, dataset ownership verification (DOV), which consists of dataset watermarking and ownership verification, is t...
Agriculture, the backbone of many economies, faces challenges like lack of information, outdated practices, and limited access to technology, hindering farmer productivity. This work proposes a user-friendly, multilin...
详细信息
Agriculture, the backbone of many economies, faces challenges like lack of information, outdated practices, and limited access to technology, hindering farmer productivity. This work proposes a user-friendly, multilingual platform leveraging Generative AI to address farmers' diverse needs. The platform encompasses various features to enhance agricultural practices. An LLM-powered Government Scheme Advisor functions as a multilingual chatbot offering intelligent guidance on government agricultural schemes and subsidies. The Disease Detection module utilizes AI technology for real-time identification and treatment recommendations, minimizing crop diseases and yield losses. The Soil Testing Centre feature locates nearby soil testing centers, providing essential information based on geographical data to assist farmers in optimizing soil quality. A Crop Recommendation feature employs Machine Learning algorithms to offer personalized crop recommendations, considering various factors and aiding informed decision-making. The Crop Planning Tool, with its intuitive user interface, simplifies planning planting schedules and managing resources. Additionally, the platform includes an MSP Center Locator to find nearby Minimum Support Price (MSP) centers based on location. By integrating these innovative solutions, this platform bridges the gap between conventional agricultural techniques and contemporary technology, equipping farmers with the resources and expertise essential for advancing productivity and sustainability. Multilingual support ensures accessibility for a wider audience, breaking down language barriers and promoting inclusivity in the agricultural sector. This work proposes an innovative, multilingual platform powered by Generative AI to address these issues. Key features include an LLM-driven chatbot for government scheme guidance, AI-based real-time disease detection, and location-based tools for soil testing and MSP center identification. Additionally, the platf
Decentralized Anonymous Payment Systems (DAP), often known as cryptocurrencies, stand out as some of the most innovative and successful applications on the blockchain. These systems have garnered significant attention...
详细信息
Diabetes is a widespread chronic condition that impacts people all over the globe and requires a clear and timely diagnosis. Untreated diabetes leads to retinopathy, nephropathy, and damage to the nervous system. In t...
详细信息
暂无评论