Image for post
Image for post
Photo by Tetiana SHYSHKINA on Unsplash

Lance Reinsmith, M.D. is a radiologist and programming hobbyist who lives and works in San Antonio, TX. Dr. Reinsmith is no better at playing dreidel than random chance would indicate.

Dreidel is a game commonly played during the celebration of the Hanukkah holiday. Each player starts with a bank of coins and takes turns spinning a four-sided top. The results of the spins dictate how the game progresses. For more information, check out the Wikipedia entry on dreidel.

To summarize, each player usually antes one coin into the pot to start and when the pot is empty. …


Lance Reinsmith, M.D. is a radiologist and programming hobbyist who lives and works in San Antonio, TX. Dr. Reinsmith has seen and interpreted many radiologic exams performed on COVID-19 patients at varying stages of the disease.

Intro

One of the difficult parts of making sense of the COVID pandemic (caused by the SARS-CoV-2 virus) is sorting through all the myriad data coming at us from every direction. In this tutorial, I will show you a fun way of manipulating some of these data to build your own dashboard to view United States COVID-19 statistics. …


Image for post
Image for post
Photo by Umanoide on Unsplash

Natural language processing (NLP) uses computers to analyze human language. SpaCy is a powerful open-source natural language processing library for Python that removes a lot of the heaving lifting from using NLP.

Below is a quick tongue-in-cheek example of using NLP with spaCy to show briefly how it works for semantic analysis using word vectorization.

To install, use either pip:

$ pip install -U spacy

or conda:

$ conda install -c conda-forge spacy

Once installed, you will need to download a language model. For this exercise, I will use the large core English model (this takes a while to download):

Lance Reinsmith

Radiologist and tinkerer in San Antonio, TX

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store