Heck and Megna – Coding healthcare equity

Rachel Dorroh • December 13, 2023

Imagine you notice a spot on your skin that seems to be changing – it’s a little thicker now, with different colors along the edges, and it’s slightly painful. You want to get it checked out, but the closest dermatologist is over an hour away, is booked for months, and costs more than you can afford. 


Theoretically, a branch of artificial intelligence (AI) called machine learning could help. AI screening tools used in a telehealth setting or by a general health practitioner could make early detection of skin cancer much more accessible and affordable. This could save countless lives. So far though, the dermatologic images used to train the AI have been based almost exclusively on Caucasian skin.


“That’s a very big problem,” says recent Union College graduate, Ethan Heck. People of color are literally left out of the equation, he explains. “Even though the training results show that the model's accurate, when it’s deployed in the clinical setting, it's only accurate for Caucasian patients.”


(PHOTO: Ethan Heck and Libby Megna.)


This semester, Ethan decided to try to find a solution. Working with his mentor Libby Megna, he applied for and received a research grant from the Appalachian College Association’s (ACA) Ledford Scholars Program. His project, “Combatting Racial Bias in Skin Cancer Diagnosis using Machine Learning,” gave him a chance to dig deep into his newfound interests in biostatistics and coding while giving him a clear vision for how he could turn this passion into a service-oriented career.

I'm very impressed with Ethan,” says Libby. “He’s tackling this really hard problem. It's a real coding problem, and it's a real biology problem.”


Ethan first learned about statistical coding from Libby in 2022. He had newly switched his major from business to biology, and when Libby put out a call for applicants to Ledford’s undergraduate research program, he was eager to get involved. They pursued a project studying salamanders.


“I could tell his heart was not necessarily out where all the ticks and brambles are, but what he really, really got into was the programming and statistical aspect of it in the coding,” Libby says. 


Ethan completed the project and knew he wanted to build on that foundation to keep learning more. When Libby came across a report about Stanford University’s Diverse Dermatology Images (DDI) dataset, she thought of Ethan and shared it with him. They used this report as the basis for their second Ledford research project.


(PHOTO: Ethan presents his poster about the first Ledford Project at Lee University's McNair-Ledford Undergraduate Research Symposium this fall.)

“Once this dataset was published, it opened up the possibility to make new models that would be way more accurate on people of all skin tones, not just Caucasian people,” Ethan says. 


The DDI is made up of 656 images of skin legions on patients with diverse skin colors. All diagnostic labels are confirmed by in-person evaluation as well as by the consensus of board-certified dermatologists. The DDI is publicly available, too, meaning that any dedicated programmer can work with it to try to make dermatological AI more equitable and inclusive. The task is to find the algorithm that can interpret the new data accurately.


“With image analysis and machine learning, there's all sorts of algorithms you can use,” Ethan explains. “Each one will perform better or worse than another based on what you're trying to use it for.”


Although machine learning was new to both Ethan and Libby, they dove into the project, driven by scientific curiosity. Throughout the semester, they met weekly to check in and troubleshoot.


“It was a lot of running into errors, trying to figure out what the errors mean, and then trying to fix the error, and then finding a new error,” Libby laughs.


This learning-by-doing process inspired Ethan to greatly expand his coding skills. He learned a coding language entirely new to him – Python – and improved fluency in the language he learned during the salamander project – R. He also learned the scientific typesetting language LaTeX, and delved into the machine learning packages, which Libby says is like learning another sort of dialect within the languages.


“It's really been fun to see Ethan come into his own as a programmer and get a bunch of knowledge under his belt and really increase his confidence,” Libby says.


As the weeks went on, Ethan realized the project would require more time than one semester. He was not able to get the result he had hoped for, but he is grateful for the experience and plans to keep working on it now that he has graduated and has a little free time before graduate school.


“It was a big effort, but I learned tons,” he says. 


Ethan’s dream is to work as a biostatistician for the CDC or the FDA one day, where he can use his passion for coding to serve public health.


“He found something he really wants to do, and there’s a job market for it. I’m so excited for him,” Libby says. “That’s really the whole job here at Union – helping students find their vocation.”


Upon graduating from Union last week, Ethan gave his CIRCLES medallion to Libby in recognition of the role she played in helping him forge his path. “She helped me get into research and ultimately figure out what I want to do with my career,” he says.


CIRCLES stands for Union’s key values of celebration, integrity, responsibility, civility, learning, engagement, and spirituality. Incoming freshmen receive the CIRCLES medallion as part of their welcome into the Union community. When they graduate, they give the medallion to the person they feel best represented those values and made a positive impact on them during their time at Union.

“Ethan’s done a great job,” Libby says. “This is novel research, and it takes time.”


“I'd like to thank the ACA for backing this research project,” Ethan says. “They gave me the chance to further my coding skills, and it's been a really great experience. Thanks to Libby for working with me; this was brand new to both of us, but she decided to jump into it. And thank you, Union College.”


“I will continue to work on this project,” Ethan continues. “My goal is to try to create a model that can accurately diagnose skin cancer in people of all skin tones.”


Union College is a private, liberal arts-based institution with a student-faculty ratio of 15 to 1. Small classes and the ability to work closely with faculty and staff provide students with a personal, individualized education aimed at helping them discover their passion, their purpose, and their path.


To learn more about Ethan’s work see Ethan Heck (google.com). To learn more about Libby’s work, see Libby Megna | Birds are rad, evolution is rad.  To learn more about the Ledford Scholars program, see Ledford Scholars • Appalachian College Association (acaweb.org).


Student awardees stand with grant committee members and advisors behind them.
By Rachel Dorroh April 23, 2025
Real-world career experiences, educational travel adventures, and immersive arts exploration await Union Commonwealth University (UCU) students this summer. Funded by the Network for Vocation in Undergraduate Education (NetVUE), a program of the Council of Independent Colleges (CIC), ten students have been awarded Circles of Purpose grants to support their self-designed enrichment projects. Named after Union’s core values of celebration, integrity, responsibility, civility, lifelong learning, engagement, and spirituality – abbreviated CIRCLES – the microgrant program supports students in discovering and developing their unique vocational paths.
students taking a selfie with Bulldog mascot
By Maisie Nelson April 21, 2025
Union Commonwealth University is celebrating exciting momentum in its undergraduate enrollment, as highlighted in the latest report from the Association of Independent Kentucky Colleges and Universities (AIKCU). According to AIKCU’s March snapshot of all 18 member institutions, Union ranked near the top in several key categories.
By Maisie Nelson April 17, 2025
A well-known name in Union Commonwealth University athletics is making a welcome return. Bart Osborne has rejoined the university as Associate Athletic Director for Development and Fundraising.
Montage of Lena, Tia, and Union's Centennial Hall framed by leafy green tree foliage
By Rachel Dorroh April 17, 2025
UCU students Tia Cobb and Lena Visarius and their professor Libby Megna are building on a body of knowledge tracing back to Darwin’s observations of differences in bird beaks that led to his insights about natural selection. As co-authors on a paper they will submit to academic journals, the three hope to contribute to the scientific community’s understanding of trait evolution and biodiversity. Both students want to continue their studies after graduation – Lena in forensic anthropology and Tia in biology – and experiences like this are part of how UCU is preparing them for these chosen paths.
Macy, Cody, and Conner Saylor.
By Rachel Dorroh April 9, 2025
This school year, Cody, Conner, and Macy Saylor are attending Union Commonwealth University, are grateful for where they’ve landed, and are focused on making the most of their opportunities and giving back to make things better for others.
photo of the new hires and promotions
By Rachel Dorroh April 2, 2025
Union Commonwealth University (UCU) celebrates several new hires and staff promotions in line with President DJ Washington's vision for growth and development. This strategic and human capital growth stretches across the entire campus touching athletics, academics, university operations, development, communications, and admissions.
Promotional Graphic Text: UCU Street Eats.
By Rachel Dorroh March 26, 2025
Sizzling sandwiches, sweet treats, savory barbecue, and other food truck specialties spell springtime in Barbourville this year. Union Commonwealth University has launched a new initiative to bring campus and community together while supporting local businesses – UCU Street Eats. The food truck series kicks off April 2 and features a variety of local vendors and spring-themed activities.
A poster for County Fair: A Country Hits Musical which includes information like show dates.
By Rachel Dorroh March 18, 2025
Hoedown hits, a dixie dance-off, secret plans, mistaken identity, and family-friendly comedy are packed into Union Commonwealth University’s (UCU) spring production of “County Fair: A Country Hits Musical.” Written in 2021 by Matthew Webster and Taylor Ferrera and loosely based on Shakespeare’s “Much Ado About Nothing,” the musical comedy follows sisters Claudia and DJ as they leave the big city to reckon with their rural inheritance: a beloved county fair.
By Maisie Nelson March 13, 2025
Union Commonwealth University’s Spring Concert, themed "Mountain Harmony," will honor the rich traditions of Appalachia, the mountains, and folk music. This year’s performance holds special significance as it will be presented in celebration of Barbourville’s 225th anniversary.
By Maisie Nelson March 12, 2025
Union Commonwealth University is proud to launch Reimagining Our Residences, a $125,000 fundraising campaign dedicated to revitalizing student housing and elevating the residential experience for future Bulldogs. This initiative will fund essential upgrades to Lakeside, Pfeiffer, Stevenson, and Stewart Apartments, creating modern, comfortable, and welcoming living spaces that foster academic success and community.
More Posts