423 research outputs found

    Improving automatic source code summarization via deep reinforcement learning

    Full text link
    © 2018 Association for Computing Machinery. Code summarization provides a high level natural language description of the function performed by code, as it can benefit the software maintenance, code categorization and retrieval. To the best of our knowledge, most state-of-the-art approaches follow an encoder-decoder framework which encodes the code into a hidden space and then decode it into natural language space, suffering from two major drawbacks: a) Their encoders only consider the sequential content of code, ignoring the tree structure which is also critical for the task of code summarization; b) Their decoders are typically trained to predict the next word by maximizing the likelihood of next ground-truth word with previous ground-truth word given. However, it is expected to generate the entire sequence from scratch at test time. This discrepancy can cause an exposure bias issue, making the learnt decoder suboptimal. In this paper, we incorporate an abstract syntax tree structure as well as sequential content of code snippets into a deep reinforcement learning framework (i.e., actor-critic network). The actor network provides the confidence of predicting the next word according to current state. On the other hand, the critic network evaluates the reward value of all possible extensions of the current state and can provide global guidance for explorations. We employ an advantage reward composed of BLEU metric to train both networks. Comprehensive experiments on a real-world dataset show the effectiveness of our proposed model when compared with some state-of-the-art methods

    Associations between Body Mass and the Outcome of Surgery for Scoliosis in Chinese Adults

    Get PDF
    BACKGROUND: In this study we intended to prove that being overweight has an unfavorable impact on the surgical treatment outcome of adult idiopathic scoliosis (AdIS). METHODS: This is a retrospective study on the surgical treatment of seventy-one more than 30 years old (58 females and 13 males; mean age 42.9±12.2) idiopathic scoliotic patients with a minimum follow up of at least 2 years. The patients were divided into an overweight group (BMI≥23) and a non-overweight group (BMI<23). Preoperative, postoperative first erect and final follow-up radiographic measures, perioperative data, the Oswestry disability index (ODI), and the visual analog scale (VAS) were reviewed and compared. FINDINGS: In the overweight group, no significant differences in radiographic measures, perioperative data, preoperative comorbidities, or postoperative complications, except for the more frequent concomitance of preoperative thoracic kyphosis 37.9±7.7 vs. 26.5±11.8 (P = 0.000) and thoracolumbar kyphosis 14.9±10.1 overweighted group vs. 6.5±9.9 non-overweighted group respectively (P = 0.002) were found. A higher morbidity of hypertension 36.8% vs. 9.6% (P = 0.004) was also observed in the overweight group. Postoperative ODI and VAS improved significantly in both groups compared to pre-operative values. The postoperative ODI of the overweight group (19.6±12.4) was significantly higher than that of the non-overweight group (12.4±7.9) (P = 0.022). CONCLUSIONS: Overweight adult idiopathic scoliotic patients had more frequent concomitance of preoperative thoracic kyphosis and thoracolumbar kyphosis and more serious postoperative pain. However, BMI did not affect the outcomes of surgical correction for coronal and sagittal scoliotic deformity and their postoperative complication rates were not significantly affected

    Surgical treatment of scoliosis: a review of techniques currently applied

    Get PDF
    In this review, basic knowledge and recent innovation of surgical treatment for scoliosis will be described. Surgical treatment for scoliosis is indicated, in general, for the curve exceeding 45 or 50 degrees by the Cobb's method on the ground that

    Hundreds of variants clustered in genomic loci and biological pathways affect human height

    Get PDF
    Most common human traits and diseases have a polygenic pattern of inheritance: DNA sequence variants at many genetic loci influence the phenotype. Genome-wide association (GWA) studies have identified more than 600 variants associated with human traits, but these typically explain small fractions of phenotypic variation, raising questions about the use of further studies. Here, using 183,727 individuals, we show that hundreds of genetic variants, in at least 180 loci, influence adult height, a highly heritable and classic polygenic trait. The large number of loci reveals patterns with important implications for genetic studies of common human diseases and traits. First, the 180 loci are not random, but instead are enriched for genes that are connected in biological pathways (P = 0.016) and that underlie skeletal growth defects (P < 0.001). Second, the likely causal gene is often located near the most strongly associated variant: in 13 of 21 loci containing a known skeletal growth gene, that gene was closest to the associated variant. Third, at least 19 loci have multiple independently associated variants, suggesting that allelic heterogeneity is a frequent feature of polygenic traits, that comprehensive explorations of already-discovered loci should discover additional variants and that an appreciable fraction of associated loci may have been identified. Fourth, associated variants are enriched for likely functional effects on genes, being over-represented among variants that alter amino-acid structure of proteins and expression levels of nearby genes. Our data explain approximately 10% of the phenotypic variation in height, and we estimate that unidentified common variants of similar effect sizes would increase this figure to approximately 16% of phenotypic variation (approximately 20% of heritable variation). Although additional approaches are needed to dissect the genetic architecture of polygenic human traits fully, our findings indicate that GWA studies can identify large numbers of loci that implicate biologically relevant genes and pathways.

    Discovery and Fine-Mapping of Adiposity Loci Using High Density Imputation of Genome-Wide Association Studies in Individuals of African Ancestry: African Ancestry Anthropometry Genetics Consortium

    Get PDF
    Genome-wide association studies (GWAS) have identified \u3e 300 loci associated with measures of adiposity including body mass index (BMI) and waist-to-hip ratio (adjusted for BMI, WHRadjBMI), but few have been identified through screening of the African ancestry genomes. We performed large scale meta-analyses and replications in up to 52,895 individuals for BMI and up to 23,095 individuals for WHRadjBMI from the African Ancestry Anthropometry Genetics Consortium (AAAGC) using 1000 Genomes phase 1 imputed GWAS to improve coverage of both common and low frequency variants in the low linkage disequilibrium African ancestry genomes. In the sex-combined analyses, we identified one novel locus (TCF7L2/HABP2) for WHRadjBMI and eight previously established loci at P \u3c 5×10−8: seven for BMI, and one for WHRadjBMI in African ancestry individuals. An additional novel locus (SPRYD7/DLEU2) was identified for WHRadjBMI when combined with European GWAS. In the sex-stratified analyses, we identified three novel loci for BMI (INTS10/LPL and MLC1 in men, IRX4/IRX2 in women) and four for WHRadjBMI (SSX2IP, CASC8, PDE3B and ZDHHC1/HSD11B2 in women) in individuals of African ancestry or both African and European ancestry. For four of the novel variants, the minor allele frequency was low (\u3c5%). In the trans-ethnic fine mapping of 47 BMI loci and 27 WHRadjBMI loci that were locus-wide significant (P \u3c 0.05 adjusted for effective number of variants per locus) from the African ancestry sex-combined and sex-stratified analyses, 26 BMI loci and 17 WHRadjBMI loci contained ≤ 20 variants in the credible sets that jointly account for 99% posterior probability of driving the associations. The lead variants in 13 of these loci had a high probability of being causal. As compared to our previous HapMap imputed GWAS for BMI and WHRadjBMI including up to 71,412 and 27,350 African ancestry individuals, respectively, our results suggest that 1000 Genomes imputation showed modest improvement in identifying GWAS loci including low frequency variants. Trans-ethnic meta-analyses further improved fine mapping of putative causal variants in loci shared between the African and European ancestry populations

    Self-similarity of contact line depinning from textured surfaces

    Get PDF
    The mobility of drops on surfaces is important in many biological and industrial processes, but the phenomena governing their adhesion, which is dictated by the morphology of the three-phase contact line, remain unclear. Here we describe a technique for measuring the dynamic behaviour of the three-phase contact line at micron length scales using environmental scanning electron microscopy. We examine a superhydrophobic surface on which a drop’s adhesion is governed by capillary bridges at the receding contact line. We measure the microscale receding contact angle of each bridge and show that the Gibbs criterion is satisfied at the microscale. We reveal a hitherto unknown self-similar depinning mechanism that shows how some hierarchical textures such as lotus leaves lead to reduced pinning, and counter-intuitively, how some lead to increased pinning. We develop a model to predict adhesion force and experimentally verify the model’s broad applicability on both synthetic and natural textured surfaces.National Science Foundation (U.S.) (CAREER Award 0952564)DuPont MIT AllianceNational Science Foundation (U.S.). Graduate Research Fellowship ProgramNational Science Foundation (U.S.) (Award ECS-0335765

    The association of spinal osteoarthritis with lumbar lordosis

    Get PDF
    <p>Abstract</p> <p>Background</p> <p>Careful review of published evidence has led to the postulate that the degree of lumbar lordosis may possibly influence the development and progression of spinal osteoarthritis, just as misalignment does in other joints. Spinal degeneration can ensue from the asymmetrical distribution of loads. The resultant lesions lead to a domino- like breakdown of the normal morphology, degenerative instability and deviation from the correct configuration. The aim of this study is to investigate whether a relationship exists between the sagittal alignment of the lumbar spine, as it is expressed by lordosis, and the presence of radiographic osteoarthritis.</p> <p>Methods</p> <p>112 female subjects, aged 40-72 years, were examined in the Outpatients Department of the Orthopedics' Clinic, University Hospital of Heraklion, Crete. Lumbar radiographs were examined on two separate occasions, independently, by two of the authors for the presence of osteoarthritis. Lordosis was measured from the top of L<sub>1 </sub>to the bottom of L<sub>5 </sub>as well as from the top of L<sub>1 </sub>to the top of S<sub>1</sub>. Furthermore, the angle between the bottom of L<sub>5 </sub>to the top of S<sub>1</sub>was also measured.</p> <p>Results and discussion</p> <p>49 women were diagnosed with radiographic osteoarthritis of the lumbar spine, while 63 women had no evidence of osteoarthritis and served as controls. The two groups were matched for age and body build, as it is expressed by BMI. No statistically significant differences were found in the lordotic angles between the two groups</p> <p>Conclusions</p> <p>There is no difference in lordosis between those affected with lumbar spine osteoarthritis and those who are disease free. It appears that osteoarthritis is not associated with the degree of lumbar lordosis.</p
    corecore