Repo for the ARVO 2025 Artificial Intelligence in Ophthalmic research course Slides for the talk are at https://www.dropbox.com/scl/fi/m7nfyjvxl7ng5gacu0hw7/ARVO25_llm_tutorial_share.pptx?rlkey=icg2u9y0qciky9kp585dkx8kl&dl=0
We will first try to parse a simple image of a table
To run this exercise, you'll need to:
- go to ChatGPT
- upload the file
exercise_1/iop_table.pngand type the prompt "can you extract the data in the provided screenshot and return it in csv format?”
For another similar exercise, we will upload a screenshot taken from a csv file for the GRAPE dataset (available here).
The GRAPE dataset includes information about patient's gender, age, and eye-specific Intra-Ocular Pressure (IOP).
To run this exercise, you'll need to:
- go to ChatGPT
- upload the file
exercise_1/GRAPE_screenshot.pngand type the prompt "can you extract the data in the provided screenshot and return it in csv format?”
At this point, ChatGPT will provide a link to download the generated csv file.
It may also ask follow up questions on performing additional processing or data analysis on the extracted data.
The goal of this exercise is to show how simple data analysis, plotting, and machine learning can be carried out by ChatGPT.
NB: the free ChatGPT subscription will limit the number of requests for data analysis, for thorough analysis a PLUS subscription may be required
We provide a notebook that can be run locally in the exercise_2 folder. Running this notebook will require python and Jupyter Notebook to be installed as well as installation of the necessary python libraries.
To avoid local installation, we also provide a Colab notebook that can be run in the cloud here
We will use the (full) GRAPE dataset provided at files/grape_img_info_w_file to plot age distributions, change the appearance of plots, perform statistical analysis on the data, and train a simple linear regression model to predict IOP from age and gender (not clinically relevant but useful to illustrate our purposes).
The goal of this exercise is to illustrate the abilities of NotebookLM to distill information from pdf file(s).
For this exercise, you'll need to:
- go to NotebookLM
- upload the files provided in the folder
exercise_3/papers(or any collection of papers you are interested in analyzing)
Examples of questions that can be asked are:
- can you provide a paragraph summarizing the uploaded papers?
- can you go into more details on the role of the fellow eye status as a potential biomarker for the progression rate of GA?
- can you identify one common limitation of these studies that could be leveraged for future research?
In addition, similarly to ChatGPT, NoteBookLM also allows you to reformat information stored in a pdf. For instance, answers to medical intake forms provided by patients by circling out options can be automatically extracted and re-arranged in a csv file automatically.
https://notebooklm.google.com/notebook/c0ab51be-3910-4392-822e-17b8c4a3525e