This paper uses three size metrics,which are collectable during the design phase,to analyze the potentially confounding effect of class size on the associations between object-oriented(OO)metrics and maintainability...This paper uses three size metrics,which are collectable during the design phase,to analyze the potentially confounding effect of class size on the associations between object-oriented(OO)metrics and maintainability.To draw as many general conclusions as possible,the confounding effect of class size is analyzed on 127 C++ systems and 113 Java systems.For each OO metric,the indirect effect that represents the distortion of the association caused by class size and its variance for individual systems is first computed.Then,a statistical meta-analysis technique is used to compute the average indirect effect over all the systems and to determine if it is significantly different from zero.The experimental results show that the confounding effects of class size on the associations between OO metrics and maintainability generally exist,regardless of whatever size metric is used.Therefore,empirical studies validating OO metrics on maintainability should consider class size as a confounding variable.展开更多
Accurate prediction of flood events is important for flood control and risk management.Machine learning techniques contributed greatly to advances in flood predictions,and existing studies mainly focused on predicting...Accurate prediction of flood events is important for flood control and risk management.Machine learning techniques contributed greatly to advances in flood predictions,and existing studies mainly focused on predicting flood resource variables using single or hybrid machine learning techniques.However,class-based flood predictions have rarely been investigated,which can aid in quickly diagnosing comprehensive flood characteristics and proposing targeted management strategies.This study proposed a prediction approach of flood regime metrics and event classes coupling machine learning algorithms with clustering-deduced membership degrees.Five algorithms were adopted for this exploration.Results showed that the class membership degrees accurately determined event classes with class hit rates up to 100%,compared with the four classes clustered from nine regime metrics.The nonlinear algorithms(Multiple Linear Regression,Random Forest,and least squares-Support Vector Machine)outperformed the linear techniques(Multiple Linear Regression and Stepwise Regression)in predicting flood regime metrics.The proposed approach well predicted flood event classes with average class hit rates of 66.0%-85.4%and 47.2%-76.0%in calibration and validation periods,respectively,particularly for the slow and late flood events.The predictive capability of the proposed prediction approach for flood regime metrics and classes was considerably stronger than that of hydrological modeling approach.展开更多
Detecting well-known design patterns in object-oriented program source code can help maintainers understand the design of a program. Through the detection, the understandability, maintainability, and reusability of ob...Detecting well-known design patterns in object-oriented program source code can help maintainers understand the design of a program. Through the detection, the understandability, maintainability, and reusability of object-oriented programs can be improved. There are automated detection techniques;however, many existing techniques are based on static analysis and use strict conditions composed on class structure data. Hence, it is difficult for them to detect and distinguish design patterns in which the class structures are similar. Moreover, it is difficult for them to deal with diversity in design pattern applications. To solve these problems in existing techniques, we propose a design pattern detection technique using source code metrics and machine learning. Our technique judges candidates for the roles that compose design patterns by using machine learning and measurements of several metrics, and it detects design patterns by analyzing the relations between candidates. It suppresses false negatives and distinguishes patterns in which the class structures are similar. As a result of experimental evaluations with a set of programs, we confirmed that our technique is more accurate than two conventional techniques.展开更多
In this paper, we investigate empirically the relationship between object-oriented design metrics and testability of classes. We address testability from the point of view of unit testing effort. We collected data fro...In this paper, we investigate empirically the relationship between object-oriented design metrics and testability of classes. We address testability from the point of view of unit testing effort. We collected data from three open source Java software systems for which JUnit test cases exist. To capture the testing effort of classes, we used metrics to quantify the corresponding JUnit test cases. Classes were classified, according to the required unit testing effort, in two categories: high and low. In order to evaluate the relationship between object-oriented design metrics and unit testing effort of classes, we used logistic regression methods. We used the univariate logistic regression analysis to evaluate the individual effect of each metric on the unit testing effort of classes. The multivariate logistic regression analysis was used to explore the combined effect of the metrics. The performance of the prediction models was evaluated using Receiver Operating Characteristic analysis. The results indicate that: 1) complexity, size, cohesion and (to some extent) coupling were found significant predictors of the unit testing effort of classes and 2) multivariate regression models based on object-oriented design metrics are able to accurately predict the unit testing effort of classes.展开更多
In this paper,we introduce and prove three analytic results related to uniform convergence,properties of Newtonian potential,and convergence of sequences in Sobolev space constrained by their Laplacian.Then,utilizing ...In this paper,we introduce and prove three analytic results related to uniform convergence,properties of Newtonian potential,and convergence of sequences in Sobolev space constrained by their Laplacian.Then,utilizing our analytic results,we develop a complete proof of a crucial estimate appearing in the results of Guofang Wang and Xiaohua Zhu,which states the classification of extremal Hermitian metrics with finite energy and area on compact Riemann surfaces and finite singularities satisfying small singular angles.展开更多
The Kelly strategy is a common approach in portfolio optimization problems that aims to maximize the expected portfolio growth rate in the long term.Its computation requires complete knowledge of the asset return dist...The Kelly strategy is a common approach in portfolio optimization problems that aims to maximize the expected portfolio growth rate in the long term.Its computation requires complete knowledge of the asset return distribution,which is obviously not observable,but can be inferred from sample data.Motivated by recent developments in data-driven optimization methods,we propose a new class of coherent Wasserstein data-driven Kelly portfolio optimization models.In particular,we establish a class of ambiguity sets based on coherent Wasserstein metrics,and these new metrics can strike a good balance between robustness and data-drivenness,thus providing richer choices for ambiguity set design.The Kelly portfolio optimization model,which is data-driven and based on coherent Wasserstein balls,can be solved efficiently as a finite-dimensional convex program.This model also provides a robust data-driven solution.In addition,we numerically investigate the proposed model and find that it outperforms the type-1 Wasserstein-Kelly portfolio,especially the classical Kelly portfolio.Moreover,it indicates that we can obtain a portfolio with higher final value and stability,especially in controlling volatility and maximum drawdown.展开更多
In a recent article, we have corrected the traditional derivation of the Schwarzschild metric, thus obtaining the formulation of the correct Schwarzschild metric, which is different from the traditional Schwarzschild ...In a recent article, we have corrected the traditional derivation of the Schwarzschild metric, thus obtaining the formulation of the correct Schwarzschild metric, which is different from the traditional Schwarzschild metric. Then, in another article by starting from this correct Schwarzschild metric, we have corrected also the Reissner-Nordstrøm, Kerr and Kerr-Newman metrics. On the other hand, in a third article, always by starting from this correct Schwarzschild metric, we have obtained the formulas of the correct gravitational potential and of the correct gravitational force in the case described by this metric. Now, in this article, by starting from these correct Reissner-Nordstrøm, Kerr and Kerr-Newman metrics and proceeding in a manner analogous to this third article, we obtain the formulas of the correct gravitational potential and of the correct gravitational force in the cases described by these metrics. Moreover, we analyze these correct results and their consequences. Finally, we propose some possible crucial experiments between the commonly accepted theory and the same theory corrected according to this article.展开更多
In this paper,we prove that for certain fiber bundles there is a k-Futaki-Ono conformally Kahler metric related to a metric in any given Kahler class for any k≥2.
Incorporation of explainability features in the decision-making web-based systems is considered a primary concern to enhance accountability,transparency,and trust in the community.Multi-domain Sentiment Analysis is a ...Incorporation of explainability features in the decision-making web-based systems is considered a primary concern to enhance accountability,transparency,and trust in the community.Multi-domain Sentiment Analysis is a significant web-based system where the explainability feature is essential for achieving user satisfaction.Conventional design methodologies such as object-oriented design methodology(OODM)have been proposed for web-based application development,which facilitates code reuse,quantification,and security at the design level.However,OODM did not provide the feature of explainability in web-based decision-making systems.X-OODM modifies the OODM with added explainable models to introduce the explainability feature for such systems.This research introduces an explainable model leveraging X-OODM for designing transparent applications for multidomain sentiment analysis.The proposed design is evaluated using the design quality metrics defined for the evaluation of the X-OODM explainable model under user context.The design quality metrics,transferability,simulatability,informativeness,and decomposability were introduced one after another over time to the evaluation of the X-OODM user context.Auxiliary metrics of accessibility and algorithmic transparency were added to increase the degree of explainability for the design.The study results reveal that introducing such explainability parameters with X-OODM appropriately increases system transparency,trustworthiness,and user understanding.The experimental results validate the enhancement of decision-making for multi-domain sentiment analysis with integration at the design level of explainability.Future work can be built in this direction by extending this work to apply the proposed X-OODM framework over different datasets and sentiment analysis applications to further scrutinize its effectiveness in real-world scenarios.展开更多
In this paper,we study scalar curvature rigidity of non-smooth metrics on smooth manifolds with non-positive Yamabe invariant.We prove that if the scalar curvature is not less than the Yamabe invariant in the distribu...In this paper,we study scalar curvature rigidity of non-smooth metrics on smooth manifolds with non-positive Yamabe invariant.We prove that if the scalar curvature is not less than the Yamabe invariant in the distributional sense,then the manifold must be isometric to an Einstein manifold.This result extends Theorem 1.4 in Jiang,Sheng and Zhang[27],from a special case where the manifolds have zero Yamabe invariant to general cases where the manifolds have non-positive Yamabe invariant.展开更多
According to the 2025 edition of Chinese Science and Technology Journal Citation Reports(Core Edition)released by the Institute of Scientific and Technical Information of China,Petroleum Exploration and Development ac...According to the 2025 edition of Chinese Science and Technology Journal Citation Reports(Core Edition)released by the Institute of Scientific and Technical Information of China,Petroleum Exploration and Development achieved a core impact factor of 6.246 in 2024.It ranked 2nd among 2,202 core journals of natural sciences and 1st among 41 journals in the petroleum and natural gas engineering category,with a total core citation frequency of 7,502.展开更多
This paper suggests that a single class rather than methods should be used as the slice scope to compute class cohesion. First, for a given attribute, the statements in all methods that last define the attribute are c...This paper suggests that a single class rather than methods should be used as the slice scope to compute class cohesion. First, for a given attribute, the statements in all methods that last define the attribute are computed. Then, the forward and backward data slices for this attribute are generated by using the class as the slice scope and are combined to compute the corresponding class data slice. Finally, the class cohesion is computed based on all class data slices for the attributes. Compared to traditional cohesion metrics that use methods as the slice scope, the proposed metrics that use a single class as slice scope take into account the possible interactions between the methods. The experimental results show that class cohesion can be more accurately measured when using the class as the slice scope.展开更多
基金The National Natural Science Foundation of China(No.60425206,60633010)
文摘This paper uses three size metrics,which are collectable during the design phase,to analyze the potentially confounding effect of class size on the associations between object-oriented(OO)metrics and maintainability.To draw as many general conclusions as possible,the confounding effect of class size is analyzed on 127 C++ systems and 113 Java systems.For each OO metric,the indirect effect that represents the distortion of the association caused by class size and its variance for individual systems is first computed.Then,a statistical meta-analysis technique is used to compute the average indirect effect over all the systems and to determine if it is significantly different from zero.The experimental results show that the confounding effects of class size on the associations between OO metrics and maintainability generally exist,regardless of whatever size metric is used.Therefore,empirical studies validating OO metrics on maintainability should consider class size as a confounding variable.
基金National Key Research and Development Program of China,No.2023YFC3006704National Natural Science Foundation of China,No.42171047CAS-CSIRO Partnership Joint Project of 2024,No.177GJHZ2023097MI。
文摘Accurate prediction of flood events is important for flood control and risk management.Machine learning techniques contributed greatly to advances in flood predictions,and existing studies mainly focused on predicting flood resource variables using single or hybrid machine learning techniques.However,class-based flood predictions have rarely been investigated,which can aid in quickly diagnosing comprehensive flood characteristics and proposing targeted management strategies.This study proposed a prediction approach of flood regime metrics and event classes coupling machine learning algorithms with clustering-deduced membership degrees.Five algorithms were adopted for this exploration.Results showed that the class membership degrees accurately determined event classes with class hit rates up to 100%,compared with the four classes clustered from nine regime metrics.The nonlinear algorithms(Multiple Linear Regression,Random Forest,and least squares-Support Vector Machine)outperformed the linear techniques(Multiple Linear Regression and Stepwise Regression)in predicting flood regime metrics.The proposed approach well predicted flood event classes with average class hit rates of 66.0%-85.4%and 47.2%-76.0%in calibration and validation periods,respectively,particularly for the slow and late flood events.The predictive capability of the proposed prediction approach for flood regime metrics and classes was considerably stronger than that of hydrological modeling approach.
文摘Detecting well-known design patterns in object-oriented program source code can help maintainers understand the design of a program. Through the detection, the understandability, maintainability, and reusability of object-oriented programs can be improved. There are automated detection techniques;however, many existing techniques are based on static analysis and use strict conditions composed on class structure data. Hence, it is difficult for them to detect and distinguish design patterns in which the class structures are similar. Moreover, it is difficult for them to deal with diversity in design pattern applications. To solve these problems in existing techniques, we propose a design pattern detection technique using source code metrics and machine learning. Our technique judges candidates for the roles that compose design patterns by using machine learning and measurements of several metrics, and it detects design patterns by analyzing the relations between candidates. It suppresses false negatives and distinguishes patterns in which the class structures are similar. As a result of experimental evaluations with a set of programs, we confirmed that our technique is more accurate than two conventional techniques.
文摘In this paper, we investigate empirically the relationship between object-oriented design metrics and testability of classes. We address testability from the point of view of unit testing effort. We collected data from three open source Java software systems for which JUnit test cases exist. To capture the testing effort of classes, we used metrics to quantify the corresponding JUnit test cases. Classes were classified, according to the required unit testing effort, in two categories: high and low. In order to evaluate the relationship between object-oriented design metrics and unit testing effort of classes, we used logistic regression methods. We used the univariate logistic regression analysis to evaluate the individual effect of each metric on the unit testing effort of classes. The multivariate logistic regression analysis was used to explore the combined effect of the metrics. The performance of the prediction models was evaluated using Receiver Operating Characteristic analysis. The results indicate that: 1) complexity, size, cohesion and (to some extent) coupling were found significant predictors of the unit testing effort of classes and 2) multivariate regression models based on object-oriented design metrics are able to accurately predict the unit testing effort of classes.
基金Supported by the National Natural Science Foundation of China(11971450)partially supported by the Project of Stable Support for Youth Team in Basic Research Field,CAS(YSBR-001)。
文摘In this paper,we introduce and prove three analytic results related to uniform convergence,properties of Newtonian potential,and convergence of sequences in Sobolev space constrained by their Laplacian.Then,utilizing our analytic results,we develop a complete proof of a crucial estimate appearing in the results of Guofang Wang and Xiaohua Zhu,which states the classification of extremal Hermitian metrics with finite energy and area on compact Riemann surfaces and finite singularities satisfying small singular angles.
基金supported by the National Natural Science Foundation of China(12401625)the China Postdoctoral Science Foundation(2024M753074)+1 种基金the Postdoctoral Fellowship Program of CPSF(GZC20232556)the Fundamental Research Funds for the Central Universities(WK2040000108).
文摘The Kelly strategy is a common approach in portfolio optimization problems that aims to maximize the expected portfolio growth rate in the long term.Its computation requires complete knowledge of the asset return distribution,which is obviously not observable,but can be inferred from sample data.Motivated by recent developments in data-driven optimization methods,we propose a new class of coherent Wasserstein data-driven Kelly portfolio optimization models.In particular,we establish a class of ambiguity sets based on coherent Wasserstein metrics,and these new metrics can strike a good balance between robustness and data-drivenness,thus providing richer choices for ambiguity set design.The Kelly portfolio optimization model,which is data-driven and based on coherent Wasserstein balls,can be solved efficiently as a finite-dimensional convex program.This model also provides a robust data-driven solution.In addition,we numerically investigate the proposed model and find that it outperforms the type-1 Wasserstein-Kelly portfolio,especially the classical Kelly portfolio.Moreover,it indicates that we can obtain a portfolio with higher final value and stability,especially in controlling volatility and maximum drawdown.
文摘In a recent article, we have corrected the traditional derivation of the Schwarzschild metric, thus obtaining the formulation of the correct Schwarzschild metric, which is different from the traditional Schwarzschild metric. Then, in another article by starting from this correct Schwarzschild metric, we have corrected also the Reissner-Nordstrøm, Kerr and Kerr-Newman metrics. On the other hand, in a third article, always by starting from this correct Schwarzschild metric, we have obtained the formulas of the correct gravitational potential and of the correct gravitational force in the case described by this metric. Now, in this article, by starting from these correct Reissner-Nordstrøm, Kerr and Kerr-Newman metrics and proceeding in a manner analogous to this third article, we obtain the formulas of the correct gravitational potential and of the correct gravitational force in the cases described by these metrics. Moreover, we analyze these correct results and their consequences. Finally, we propose some possible crucial experiments between the commonly accepted theory and the same theory corrected according to this article.
基金supported by the Nature Science Foundation of China(12171140).
文摘In this paper,we prove that for certain fiber bundles there is a k-Futaki-Ono conformally Kahler metric related to a metric in any given Kahler class for any k≥2.
基金support of the Deanship of Research and Graduate Studies at Ajman University under Projects 2024-IRG-ENiT-36 and 2024-IRG-ENIT-29.
文摘Incorporation of explainability features in the decision-making web-based systems is considered a primary concern to enhance accountability,transparency,and trust in the community.Multi-domain Sentiment Analysis is a significant web-based system where the explainability feature is essential for achieving user satisfaction.Conventional design methodologies such as object-oriented design methodology(OODM)have been proposed for web-based application development,which facilitates code reuse,quantification,and security at the design level.However,OODM did not provide the feature of explainability in web-based decision-making systems.X-OODM modifies the OODM with added explainable models to introduce the explainability feature for such systems.This research introduces an explainable model leveraging X-OODM for designing transparent applications for multidomain sentiment analysis.The proposed design is evaluated using the design quality metrics defined for the evaluation of the X-OODM explainable model under user context.The design quality metrics,transferability,simulatability,informativeness,and decomposability were introduced one after another over time to the evaluation of the X-OODM user context.Auxiliary metrics of accessibility and algorithmic transparency were added to increase the degree of explainability for the design.The study results reveal that introducing such explainability parameters with X-OODM appropriately increases system transparency,trustworthiness,and user understanding.The experimental results validate the enhancement of decision-making for multi-domain sentiment analysis with integration at the design level of explainability.Future work can be built in this direction by extending this work to apply the proposed X-OODM framework over different datasets and sentiment analysis applications to further scrutinize its effectiveness in real-world scenarios.
基金Supported by the National Key Research and Development Program of China(2022YFA1005501)the Natural Science Foundation of Jiangsu Province(BK20241433).
文摘In this paper,we study scalar curvature rigidity of non-smooth metrics on smooth manifolds with non-positive Yamabe invariant.We prove that if the scalar curvature is not less than the Yamabe invariant in the distributional sense,then the manifold must be isometric to an Einstein manifold.This result extends Theorem 1.4 in Jiang,Sheng and Zhang[27],from a special case where the manifolds have zero Yamabe invariant to general cases where the manifolds have non-positive Yamabe invariant.
文摘According to the 2025 edition of Chinese Science and Technology Journal Citation Reports(Core Edition)released by the Institute of Scientific and Technical Information of China,Petroleum Exploration and Development achieved a core impact factor of 6.246 in 2024.It ranked 2nd among 2,202 core journals of natural sciences and 1st among 41 journals in the petroleum and natural gas engineering category,with a total core citation frequency of 7,502.
基金The National Natural Science Foundation of China(No.60425206,60633010)the High Technology Research and Development Program of Jiangsu Province(No.BG2005032)
文摘This paper suggests that a single class rather than methods should be used as the slice scope to compute class cohesion. First, for a given attribute, the statements in all methods that last define the attribute are computed. Then, the forward and backward data slices for this attribute are generated by using the class as the slice scope and are combined to compute the corresponding class data slice. Finally, the class cohesion is computed based on all class data slices for the attributes. Compared to traditional cohesion metrics that use methods as the slice scope, the proposed metrics that use a single class as slice scope take into account the possible interactions between the methods. The experimental results show that class cohesion can be more accurately measured when using the class as the slice scope.