78 research outputs found

    Average Case Analysis of Java 7's Dual Pivot Quicksort

    Get PDF
    Abstract. Recently, a new Quicksort variant due to Yaroslavskiy was chosen as standard sorting method for Oracle’s Java 7 runtime library. The decision for the change was based on empirical studies showing that on average, the new algorithm is faster than the formerly used classic Quicksort. Surprisingly, the improvement was achieved by using a dual pivot approach, an idea that was considered not promising by several theoretical studies in the past. In this paper, we identify the reason for this unexpected success. Moreover, we present the first precise average case analysis of the new algorithm showing e. g. that a random permutation of length n is sorted using 1.9n lnn − 2.46n+O(lnn) key comparisons and 0.6n lnn+ 0.08n+O(lnn) swaps. 1

    Learning Binary Hash Codes for Large-Scale Image Search

    Full text link
    Abstract Algorithms to rapidly search massive image or video collections are crit-ical for many vision applications, including visual search, content-based retrieval, and non-parametric models for object recognition. Recent work shows that learned binary projections are a powerful way to index large collections according to their content. The basic idea is to formulate the projections so as to approximately pre-serve a given similarity function of interest. Having done so, one can then search the data efficiently using hash tables, or by exploring the Hamming ball volume around a novel query. Both enable sub-linear time retrieval with respect to the database size. Further, depending on the design of the projections, in some cases it is possible to bound the number of database examples that must be searched in order to achieve a given level of accuracy. This chapter overviews data structures for fast search with binary codes, and then describes several supervised and unsupervised strategies for generating the codes. In particular, we review supervised methods that integrate metric learning, boost-ing, and neural networks into the hash key construction, and unsupervised methods based on spectral analysis or kernelized random projections that compute affinity-preserving binary codes. Whether learning from explicit semantic supervision or ex-ploiting the structure among unlabeled data, these methods make scalable retrieval possible for a variety of robust visual similarity measures. We focus on defining the algorithms, and illustrate the main points with results using millions of images

    Associations of autozygosity with a broad range of human phenotypes

    Get PDF
    In many species, the offspring of related parents suffer reduced reproductive success, a phenomenon known as inbreeding depression. In humans, the importance of this effect has remained unclear, partly because reproduction between close relatives is both rare and frequently associated with confounding social factors. Here, using genomic inbreeding coefficients (F-ROH) for >1.4 million individuals, we show that F-ROH is significantly associated (p <0.0005) with apparently deleterious changes in 32 out of 100 traits analysed. These changes are associated with runs of homozygosity (ROH), but not with common variant homozygosity, suggesting that genetic variants associated with inbreeding depression are predominantly rare. The effect on fertility is striking: F-ROH equivalent to the offspring of first cousins is associated with a 55% decrease [95% CI 44-66%] in the odds of having children. Finally, the effects of F-ROH are confirmed within full-sibling pairs, where the variation in F-ROH is independent of all environmental confounding.Peer reviewe

    Unbounded boundaries and shifting baselines: estuaries and coastal seas in a rapidly changing world

    Get PDF
    This Special Issue of Estuarine, Coastal and Shelf Science presents contributions from ECSA 55; an international symposium organised by the Estuarine and Coastal Sciences Association (ECSA) and Elsevier on the broad theme of estuaries and coastal seas in times of intense change. The objectives of the SI are to synthesise, hypothesise and illustrate the impacts of global change on estuaries and coastal seas through learning lessons from the past, discussing the current and forecasting for the future. It is highlighted here that establishing impacts and assigning cause to the many pressures of global change is and will continue to be a formidable challenge in estuaries and coastal seas, due in part to: (1) their complexity and unbounded nature; (2) difficulties distinguishing between human-induced changes and natural variations and; (3) multiple pressures and effects. The contributing authors have explored a number of these issues over a range of disciplines. The complexity and connectivity of estuaries and coastal seas have been investigated through studies of physicochemical and ecological components, whilst the human imprint on the environment has been identified through a series of predictive, contemporary, historical and palaeo approaches. The impact of human activities has been shown to occur over a range of spatial and temporal scales, requiring the development of integrated management approaches. These 30 articles provide an important contribution to our understanding and assessment of the impacts of global change. The authors highlight methods for essential management/mitigation of the consequences of global change and provide a set of directions, ideas and observations for future work. These include the need to consider: (1) the cumulative, synergistic and antagonistic effects of multiple pressures; (2) the importance of unbounded boundaries and connectivity across the aquatic continuum; (3) the value of combining cross-disciplinary palaeo, contemporary and future modelling studies and; (4) the importance of shifting baselines on ecosystem functioning and the future provision of ecosystem services

    A História da Alimentação: balizas historiográficas

    Full text link
    Os M. pretenderam traçar um quadro da História da Alimentação, não como um novo ramo epistemológico da disciplina, mas como um campo em desenvolvimento de práticas e atividades especializadas, incluindo pesquisa, formação, publicações, associações, encontros acadêmicos, etc. Um breve relato das condições em que tal campo se assentou faz-se preceder de um panorama dos estudos de alimentação e temas correia tos, em geral, segundo cinco abardagens Ia biológica, a econômica, a social, a cultural e a filosófica!, assim como da identificação das contribuições mais relevantes da Antropologia, Arqueologia, Sociologia e Geografia. A fim de comentar a multiforme e volumosa bibliografia histórica, foi ela organizada segundo critérios morfológicos. A seguir, alguns tópicos importantes mereceram tratamento à parte: a fome, o alimento e o domínio religioso, as descobertas européias e a difusão mundial de alimentos, gosto e gastronomia. O artigo se encerra com um rápido balanço crítico da historiografia brasileira sobre o tema
    corecore