Matches in SemOpenAlex for { <https://semopenalex.org/work/W4284687350> ?p ?o ?g. }
Showing items 1 to 84 of
84
with 100 items per page.
- W4284687350 abstract "Dynamic languages, such as Python and Javascript, trade static typing for developer flexibility and productivity. Lack of static typing can cause run-time exceptions and is a major factor for weak IDE support. To alleviate these issues, PEP 484 introduced optional type annotations for Python. As retrofitting types to existing codebases is error-prone and laborious, machine learning (ML)-based approaches have been proposed to enable automatic type inference based on existing, partially annotated codebases. However, previous ML-based approaches are trained and evaluated on human-provided type annotations, which might not always be sound, and hence this may limit the practicality for real-world usage. In this paper, we present Type4Py, a deep similarity learning-based hierarchical neural network model. It learns to discriminate between similar and dissimilar types in a high-dimensional space, which results in clusters of types. Likely types for arguments, variables, and return values can then be inferred through the nearest neighbor search. Unlike previous work, we trained and evaluated our model on a type-checked dataset and used mean reciprocal rank (MRR) to reflect the performance perceived by users. The obtained results show that Type4Py achieves an MRR of 77.1%, which is a substantial improvement of 8.1% and 16.7% over the state-of-the-art approaches Typilus and TypeWriter, respectively. Finally, to aid developers with retrofitting types, we released a Visual Studio Code extension, which uses Type4Py to provide ML-based type auto-completion for Python." @default.
- W4284687350 created "2022-07-08" @default.
- W4284687350 creator A5003806730 @default.
- W4284687350 creator A5013071322 @default.
- W4284687350 creator A5023740668 @default.
- W4284687350 creator A5043864604 @default.
- W4284687350 date "2022-05-21" @default.
- W4284687350 modified "2023-10-17" @default.
- W4284687350 title "Type4Py" @default.
- W4284687350 cites W1986899979 @default.
- W4284687350 cites W1990165991 @default.
- W4284687350 cites W2067436653 @default.
- W4284687350 cites W2086141560 @default.
- W4284687350 cites W2122111042 @default.
- W4284687350 cites W2131774270 @default.
- W4284687350 cites W2135536553 @default.
- W4284687350 cites W2142403498 @default.
- W4284687350 cites W2142958724 @default.
- W4284687350 cites W2143017621 @default.
- W4284687350 cites W2156981320 @default.
- W4284687350 cites W2157364932 @default.
- W4284687350 cites W2467139031 @default.
- W4284687350 cites W2548165777 @default.
- W4284687350 cites W2617588282 @default.
- W4284687350 cites W2731358298 @default.
- W4284687350 cites W2762844179 @default.
- W4284687350 cites W2801716390 @default.
- W4284687350 cites W2883903648 @default.
- W4284687350 cites W2888268504 @default.
- W4284687350 cites W2888559334 @default.
- W4284687350 cites W2899384793 @default.
- W4284687350 cites W2910557093 @default.
- W4284687350 cites W2954950681 @default.
- W4284687350 cites W2963310752 @default.
- W4284687350 cites W2979792666 @default.
- W4284687350 cites W3022674777 @default.
- W4284687350 cites W3100869085 @default.
- W4284687350 cites W3105735055 @default.
- W4284687350 cites W3163202066 @default.
- W4284687350 cites W3173453854 @default.
- W4284687350 cites W3194752080 @default.
- W4284687350 doi "https://doi.org/10.1145/3510003.3510124" @default.
- W4284687350 hasPublicationYear "2022" @default.
- W4284687350 type Work @default.
- W4284687350 citedByCount "13" @default.
- W4284687350 countsByYear W42846873502022 @default.
- W4284687350 countsByYear W42846873502023 @default.
- W4284687350 crossrefType "proceedings-article" @default.
- W4284687350 hasAuthorship W4284687350A5003806730 @default.
- W4284687350 hasAuthorship W4284687350A5013071322 @default.
- W4284687350 hasAuthorship W4284687350A5023740668 @default.
- W4284687350 hasAuthorship W4284687350A5043864604 @default.
- W4284687350 hasBestOaLocation W42846873501 @default.
- W4284687350 hasConcept C119857082 @default.
- W4284687350 hasConcept C154945302 @default.
- W4284687350 hasConcept C199360897 @default.
- W4284687350 hasConcept C2776214188 @default.
- W4284687350 hasConcept C41008148 @default.
- W4284687350 hasConcept C519991488 @default.
- W4284687350 hasConceptScore W4284687350C119857082 @default.
- W4284687350 hasConceptScore W4284687350C154945302 @default.
- W4284687350 hasConceptScore W4284687350C199360897 @default.
- W4284687350 hasConceptScore W4284687350C2776214188 @default.
- W4284687350 hasConceptScore W4284687350C41008148 @default.
- W4284687350 hasConceptScore W4284687350C519991488 @default.
- W4284687350 hasLocation W42846873501 @default.
- W4284687350 hasLocation W42846873502 @default.
- W4284687350 hasLocation W42846873503 @default.
- W4284687350 hasLocation W42846873504 @default.
- W4284687350 hasOpenAccess W4284687350 @default.
- W4284687350 hasPrimaryLocation W42846873501 @default.
- W4284687350 hasRelatedWork W1906486629 @default.
- W4284687350 hasRelatedWork W2166247150 @default.
- W4284687350 hasRelatedWork W2584070953 @default.
- W4284687350 hasRelatedWork W2961085424 @default.
- W4284687350 hasRelatedWork W3007645298 @default.
- W4284687350 hasRelatedWork W3021560500 @default.
- W4284687350 hasRelatedWork W3160881136 @default.
- W4284687350 hasRelatedWork W4243252198 @default.
- W4284687350 hasRelatedWork W4318619745 @default.
- W4284687350 hasRelatedWork W656686947 @default.
- W4284687350 isParatext "false" @default.
- W4284687350 isRetracted "false" @default.
- W4284687350 workType "article" @default.