6,979 research outputs found

    Measuring Coverage of Prolog Programs Using Mutation Testing

    Full text link
    Testing is an important aspect in professional software development, both to avoid and identify bugs as well as to increase maintainability. However, increasing the number of tests beyond a reasonable amount hinders development progress. To decide on the completeness of a test suite, many approaches to assert test coverage have been suggested. Yet, frameworks for logic programs remain scarce. In this paper, we introduce a framework for Prolog programs measuring test coverage using mutations. We elaborate the main ideas of mutation testing and transfer them to logic programs. To do so, we discuss the usefulness of different mutations in the context of Prolog and empirically evaluate them in a new mutation testing framework on different examples.Comment: 16 pages, Accepted for presentation in WFLP 201

    Cardiovascular disease risk assessment and reduction: summary of updated NICE guidance

    Get PDF
    NICE recommendations are based on systematic reviews of the best available evidence and explicit consideration of cost effectiveness. When minimal evidence is available, recommendations are based on the guideline committee's (GC's) experience and opinion of what constitutes good practice. Evidence levels for the recommendations are given in italic in square brackets. Definitions of evidence certainty are given in box 1

    The Spatial Limitations of Current Neutral Models of Biodiversity

    Get PDF
    The unified neutral theory of biodiversity and biogeography is increasingly accepted as an informative null model of community composition and dynamics. It has successfully produced macro-ecological patterns such as species-area relationships and species abundance distributions. However, the models employed make many unrealistic auxiliary assumptions. For example, the popular spatially implicit version assumes a local plot exchanging migrants with a large panmictic regional source pool. This simple structure allows rigorous testing of its fit to data. In contrast, spatially explicit models assume that offspring disperse only limited distances from their parents, but one cannot as yet test the significance of their fit to data. Here we compare the spatially explicit and the spatially implicit model, fitting the most-used implicit model (with two levels, local and regional) to data simulated by the most-used spatially explicit model (where offspring are distributed about their parent on a grid according to either a radially symmetric Gaussian or a ‘fat-tailed’ distribution). Based on these fits, we express spatially implicit parameters in terms of spatially explicit parameters. This suggests how we may obtain estimates of spatially explicit parameters from spatially implicit ones. The relationship between these parameters, however, makes no intuitive sense. Furthermore, the spatially implicit model usually fits observed species-abundance distributions better than those calculated from the spatially explicit model's simulated data. Current spatially explicit neutral models therefore have limited descriptive power. However, our results suggest that a fatter tail of the dispersal kernel seems to improve the fit, suggesting that dispersal kernels with even fatter tails should be studied in future. We conclude that more advanced spatially explicit models and tools to analyze them need to be developed

    One-dimensional quantum magnetism in the S= 1/2 Mo(V) system KMoOP2O7

    Get PDF
    We present a comprehensive experimental and ab initio study of the S=1/2Mo5+ system, KMoOP2O7, and show that it realizes the S=12 Heisenberg chain antiferromagnet model. Powder neutron diffraction reveals that KMoOP2O7 forms a magnetic network comprised of pairs of Mo5+ chains within its monoclinic P21/n structure. Antiferromagnetic interactions within the Mo5+ chains are identified through magnetometry measurements and confirmed by analysis of the magnetic specific heat. The latter reveals a broad feature centered on TN=0.54 K, which we ascribe to the onset of long-range antiferromagnetic order. No magnetic Bragg scattering is observed in powder neutron-diffraction data collected at 0.05 K, however, which is consistent with a strongly suppressed ordered moment with an upper limit μord<0.15μB. The one-dimensional character of the magnetic correlations in KMoOP2O7 is verified through analysis of inelastic neutron-scattering data, resulting in a model with J2≈34 K and J1≈-2 K for the intrachain and interchain exchange interactions, respectively. The origin of these experimental findings are addressed through density-functional theory calculations

    Basic language learning in artificial animals

    Get PDF
    We explore a general architecture for artificial animals, or animats, that develops over time. The architecture combines reinforcementlearning, dynamic concept formation, and homeostatic decision-making aimed at need satisfaction. We show that thisarchitecture, which contains no ad hoc features for language processing, is capable of basic language learning of three kinds: (i)learning to reproduce phonemes that are perceived in the environment via motor babbling; (ii) learning to reproduce sequences ofphonemes corresponding to spoken words perceived in the environment; and (iii) learning to ground the semantics of spoken wordsin sensory experience by associating spoken words (e.g. the word “cold”) to sensory experience (e.g. the activity of a sensor forcold temperature) and vice versa

    Associations between interarm differences in blood pressure and cardiovascular disease outcomes: protocol for an individual patient data meta-analysis and development of a prognostic algorithm

    Get PDF
    This is the final version of the article. Available on open access from BMJ Publishing Group via the DOI in this record.There is another record for this publication in ORE: http://hdl.handle.net/10871/32190INTRODUCTION: Individual cohort studies in various populations and study-level meta-analyses have shown interarm differences (IAD) in blood pressure to be associated with increased cardiovascular and all-cause mortality. However, key questions remain, such as follows: (1) What is the additional contribution of IAD to prognostic risk estimation for cardiovascular and all-cause mortality? (2) What is the minimum cut-off value for IAD that defines elevated risk? (3) Is there a prognostic value of IAD and do different methods of IAD measurement impact on the prognostic value of IAD? We aim to address these questions by conducting an individual patient data (IPD) meta-analysis. METHODS AND ANALYSIS: This study will identify prospective cohort studies that measured blood pressure in both arms during recruitment, and invite authors to contribute IPD datasets to this collaboration. All patient data received will be combined into a single dataset. Using one-stage meta-analysis, we will undertake multivariable time-to-event regression modelling, with the aim of developing a new prognostic model for cardiovascular risk estimation that includes IAD. We will explore variations in risk contribution of IAD across predefined population subgroups (eg, hypertensives, diabetics), establish the lower limit of IAD that is associated with additional cardiovascular risk and assess the impact of different methods of IAD measurement on risk prediction. ETHICS AND DISSEMINATION: This study will not include any patient identifiable data. Included datasets will already have ethical approval and consent from their sponsors. Findings will be presented to international conferences and published in peer reviewed journals, and we have a comprehensive dissemination strategy in place with integrated patient and public involvement. PROSPERO REGISTRATION NUMBER: CRD42015031227.National Institute for Health Research (NIHR

    Projective simulation for artificial intelligence

    Get PDF
    We propose a model of a learning agent whose interaction with the environment is governed by a simulation-based projection, which allows the agent to project itself into future situations before it takes real action. Projective simulation is based on a random walk through a network of clips, which are elementary patches of episodic memory. The network of clips changes dynamically, both due to new perceptual input and due to certain compositional principles of the simulation process. During simulation, the clips are screened for specific features which trigger factual action of the agent. The scheme is different from other, computational, notions of simulation, and it provides a new element in an embodied cognitive science approach to intelligent action and learning. Our model provides a natural route for generalization to quantum-mechanical operation and connects the fields of reinforcement learning and quantum computation.Comment: 22 pages, 18 figures. Close to published version, with footnotes retaine

    The filtering equations revisited

    Full text link
    The problem of nonlinear filtering has engendered a surprising number of mathematical techniques for its treatment. A notable example is the change-of--probability-measure method originally introduced by Kallianpur and Striebel to derive the filtering equations and the Bayes-like formula that bears their names. More recent work, however, has generally preferred other methods. In this paper, we reconsider the change-of-measure approach to the derivation of the filtering equations and show that many of the technical conditions present in previous work can be relaxed. The filtering equations are established for general Markov signal processes that can be described by a martingale-problem formulation. Two specific applications are treated
    corecore