0
0
Computer Visionml~10 mins

Staying current with research in Computer Vision - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to import a popular library for accessing research papers.

Computer Vision
import [1]
Drag options to blanks, or click blank then click option'
Amatplotlib
Btensorflow
Cnumpy
Darxiv
Attempts:
3 left
💡 Hint
Common Mistakes
Importing general ML libraries like tensorflow instead of a research paper library.
Using visualization libraries which don't help access papers.
2fill in blank
medium

Complete the code to search for recent papers on 'computer vision' using the arxiv API.

Computer Vision
search = arxiv.Search(query='computer vision', max_results=[1])
Drag options to blanks, or click blank then click option'
A500
B5
C50
D0
Attempts:
3 left
💡 Hint
Common Mistakes
Using 0 which returns no results.
Using 500 which may be too large and slow.
3fill in blank
hard

Fix the error in the code to print the titles of the papers found.

Computer Vision
for result in search.[1]():
    print(result.title)
Drag options to blanks, or click blank then click option'
Aget_results()
Bget_results
Cresults
Dresults()
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'get_results' instead of 'results'.
Using options with extra parentheses like 'results()' or 'get_results()'.
4fill in blank
hard

Fill both blanks to filter papers published after 2022 and sort them by relevance.

Computer Vision
search = arxiv.Search(query='computer vision', max_results=100, sort_by=[1], sort_order=[2], 
    date_from='2023-01-01')
Drag options to blanks, or click blank then click option'
Aarxiv.SortCriterion.Relevance
Barxiv.SortCriterion.SubmittedDate
Carxiv.SortOrder.Ascending
Darxiv.SortOrder.Descending
Attempts:
3 left
💡 Hint
Common Mistakes
Sorting by date instead of relevance.
Using ascending order which shows least relevant first.
5fill in blank
hard

Fill all three blanks to create a dictionary of paper titles and their authors for papers with more than 2 authors.

Computer Vision
papers = {result.[1]: result.[2] for result in search.results() if len(result.[3]) > 2}
Drag options to blanks, or click blank then click option'
Atitle
Bauthors
Dsummary
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'summary' instead of 'authors' for filtering.
Mixing up keys and values in the dictionary comprehension.