Heck and Megna — Coding healthcare equity

Rachel Dorroh • December 13, 2023
Ethan Heck and Libby Megna working on laptops.

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.

Ethan presenting a poster on his first Ledford Project.

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. 


TheDDI 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 Heck and Libby Megna. Libby is wearing the CIRCLES medallion awarded by Ethan.

“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).


By Maisie Nelson • November 10, 2026
Union will reduce its undergraduate tuition and comprehensive fee from $32,000 to $19,000 beginning in the 27-28 academic year, following approval by the university’s Board of Trustees.
photo of Wahlstedt wearing orange shirt with black blazer in front of black backdrop
By Maisie Nelson • November 6, 2026
Union has expanded Sarah Wahlstedt’s role in the President’s Office, naming her Director of External Relations and Presidential Initiatives. In addition to continuing her work securing grant funding, Wahlstedt will place greater emphasis on community engagement, serving as a key connection
By Maisie Nelson • November 4, 2026
Union has been awarded approximately $2.5 million through the U.S. Department of Education’s Title III Strengthening Institutions Program to advance student retention, degree completion and career readiness.
Promotional poster for UCU Theatre's production of The Apiary by Kate Douglas.
By David Saylor • October 19, 2026
Scientific curiosity and dark comedy take center stage in Union Commonwealth University (UCU) Theatre’s production of Kate Douglas’ “The Apiary,” a play that explores scientific progress, human connection, and what people are willing to sacrifice to protect something they love.
seniors at Clay County High school sitting in auditorium chairs with their golden ticket
By Maisie Nelson • October 13, 2026
Union announced Tuesday that eligible graduates of Clay County High School will have the opportunity to attend Union tuition-free beginning in fall 2027, expanding the university’s initiative to a third county in just over a year.
photo of Phill Sharp in a lab working
By Maisie Nelson • October 5, 2026
Union Commonwealth University will celebrate the extraordinary accomplishments of one of its most distinguished alumni during Homecoming Weekend with a special screening of Cracking the Code: Phil Sharp and the Biotech Revolution on Friday, Oct. 16, at 6 p.m.
headshot of Childers wearing a floral shirt with a blurred background behind her
By Maisie Nelson • October 1, 2026
Union Commonwealth University alumna Terra Childers ’04 is taking on an expanded role focused exclusively on alumni relations, helping the university strengthen relationships with graduates and create new ways for alumni to remain connected to their alma mater.
two hands holding a golden ticket that says Tuition Free Pathway
By Maisie Nelson • September 18, 2026
Following the success of its Tuition-Free Pathway in Knox County, Union Commonwealth University is expanding the initiative to Bell County, creating a new tuition-free pathway to Union for eligible graduates of the three Bell County high schools.
group photo of 25 students who make up the newest cohort of Presidential Fellows
By Ford Edwards • September 17, 2026
Union Commonwealth University (UCU) has welcomed the second cohort of its Presidential Fellows Program, the leadership initiative designed to prepare students for success through mentorship, career development, and hands-on professional experience.
By Maisie Nelson • September 15, 2026
Building on the success of the Tuition-Free Pathway launched in Knox County last year, Union Commonwealth University is extending the initiative to the Class of 2027.