Students tackle drug resistance by teaching machine learning
Antimicrobial resistance is a growing health crisis that could lead to millions of deaths by 2050, according to the World Health Organization. Antibiotics are critical for human health, but many microbes are evolving resistance to one or more drugs. San Francisco State University researchers are among those using machine learning to predict drug resistance in patients. And they’re trying to remedy a related problem, too: the lack of resources that teach how to use machine learning to detect antibiotic resistance.
In a new paper in PLOS Computational Biology, the SFSU team published a step-by-step machine learning tutorial for beginners. Other than Biology Professor Pleuni Pennings, the remaining seven researchers on the paper were undergraduate, graduate students and post-baccalaureate students; many were first-time researchers, and nearly all were new to machine learning.
“We wanted to do a tutorial paper instead [of a research paper] because we thought it was more important to put out a teachable resource. We struggled to find one, so we wanted to make our own,” said co-first author Faye Orcales (B.S., ’21), who worked on the project as a post-bac.
As beginners from a variety of backgrounds, the team made sure the paper would be accessible to their student peers and educators in biology and chemistry as well as anyone in health sciences. Though the lesson is beginner friendly, the authors recommend having introductory coding knowledge, something that is beyond the scope of this paper.
“Because it’s in a peer-reviewed journal, it makes it feel real because other scientists — not just your professor or friends — reviewed the article. The peer review process was crucial because it gives other perspectives,” said co-first author Lucy Moctezuma, a Statistics graduate student at CSU East Bay who has a background in psychology. She joined Pennings’ SFSU lab through a friend and was part of the lab for nearly three years. She and Orcales led the effort to write the manuscript and address any feedback. “We were a bunch of students trying to figure it out and we were able to! I think that we should all be proud of that,” Moctezuma said.
Using a previously published data set — comprised of 1,936 E. coli strains from patients that were tested against 12 antibiotics — the students developed a step-by-step tutorial for four different popular machine-learning models to predict drug resistance to E. coli. To improve accessibility, they used Google Colab, a free, cloud-based platform to write and run Python codes — which means users don’t have to install software to follow the tutorial. The SFSU team provided six free Google Colab “notebooks” with tutorials: one for each of the four models (logistic regression, random forests, extreme gradient-boosted trees and neural networks) plus two for data preparation and result visualization.
Left to right: Students MaryGracy Antony, Faye Orcales, Lucy Moctezuma, John Matthew Suntay, Florentine van Nouhuijs, Meris Johnson-Hagler, Jameel Ali, Kristiene Recto and Professor Pleuni Pennings (sitting). Photo courtesy of Faye Orcales.
“The students may not realize that it’s sort of bold [to submit this paper to PLOS]. It just shows that we do very high-quality work,” said Pennings, adding that the students really took ownership over the writing and pushing the manuscript forward.
Collaborating with faculty in Biology, Computer Science and Chemistry & Biochemistry, Pennings is the director or co-director for the undergraduate Promoting Inclusivity in Computing (PINC) program, graduate complement Graduate Opportunities to Learn Data Science (GOLD) and Science Coding Immersion Program (SCIP), an all-virtual, self-paced coding program for students, staff and faculty. All the student researchers initially learned coding and/or machine learning from one of these programs and then continued to develop their skills via longer-term research experiences.
“One of my motivations to making all of these materials is because I’m teaching these classes and I wish there was a book about machine learning for health or biology. Something that is doable, fun and relevant. Something that’s intuitive, practical and discusses the ethical side,” said Pennings, noting that she’s already using this published tutorial in her classes.
“When I joined the PINC program, I could see that the instructors were motivated to teach coding in a very accessible way to Biology students. I felt really comfortable in the program because my peers were fellow biologists eager to learn,” said Orcales, now a computational scientist at UCSF applying to Ph.D. programs. She hopes this new tutorial will help introduce more of her peers into the machine-learning space. “I hope our readers take away that machine learning isn’t this daunting difficult thing to learn when you have the right resources.”
Visit SFSU’s Department of Biology to learn more about student opportunities like Promoting Inclusivity in Computing (PINC), Graduate Opportunities to Learn Data Science (GOLD) and Science Coding Immersion Program (SCIP).
Latest SF State News V2
- SFSU Design students create solutions to protect coastal habitat of bull kelpClass partners with Nature Conservancy, creates products to present at BioDesign Challenge
- SFSU celebrates completion of residence hall, health center and dining commonsThese expertly developed buildings create more spaces on campus that foster community, enhance student living and wellness
- State attorney general to deliver keynote address at May 23 CommencementThree honorary doctoral degrees given to an author, activist and Filipino American historian California Attorney General Rob Bonta will deliver the keynote address at San Francisco State University’s 124th Commencement ceremony on Friday, May 23, at Oracle Park. The University will also award honorary doctoral degrees to Pulitzer Prize-nominated author Tommy Orange and activist, physician and minister Ramona Tascoe (B.A., ’70). A posthumous honorary doctoral degree will be given to author and beloved SFSU History Professor Dawn Mabalon. Doors at Oracle Park open at 3:30 p.m. The graduate procession begins at 5:30 p.m., with Commencement starting at 6:30 p.m. Fireworks will close out the event at about 9:30 p.m. Live updates and photos from the ceremony will be posted to the University’s X, Instagram and Facebook accounts. Graduates and guests can tag their Commencement posts on social media using the hashtag #SFSU2025. Commencement information is available via the SFSU mobile app. Once you’ve downloaded the University’s mobile app, visit “SFSU’s 2025 Commencement Ceremony, See More Ceremony Info.” Be sure to opt in to the University’s Commencement reminders by selecting “Manage Commencement Alerts” to receive push notifications. Details are also available on the Commencement website.
- Gators Give Day raises more than $109K for students, programs and clubsMore than 640 SFSU supporters made donations during the University’s first-ever giving day Thanks to the generous support of the University’s alumni, faculty, staff, students and friends, SFSU’s inaugural Gators Give Day was a resounding success. More than 640 SFSU supporters united on April 2 and raised over $109,000 in just 24 hours. These gifts will immediately impact scholarships, academic programs, student organizations and essential University initiatives. More than 60 groups consisting of colleges, schools, departments, student organizations and clubs participated in the event through their own online fundraising pages, in addition to the main University giving page. Every donation made on April 2 counted toward the Giving Day totals. Alumni made up the majority of those giving on Gators Give Day (26%), followed closely by SFSU staff and faculty (24%) and students (20%). “This extraordinary day truly highlights the community spirit that defines SFSU,” said Jeff Jackanicz, vice president of University Advancement. “We are grateful to everyone who participated and helped us meet our goal of empowering student success. With so many alumni, faculty and staff, and student donors, it’s clear we are continuing to build a broad culture of community-driven philanthropy at SFSU.” The College of Science & Engineering (CoSE) raised more than $10,000 from 59 donors, the most money raised by any individual college. CoSE plans to use the money to support its Student Project Showcase, an event that culminates in a year’s worth of faculty-guided research. Students present their research findings from at the spring event. “I am so grateful to the donors that provided support for our Student Project Showcase on Gators Give Day. This annual event highlights more than 200 research and senior projects across our entire college,” said College of Science & Engineering Dean Carmen Domingo. “Having the opportunity to put into practice what they have learned over the years at SFSU gives students a deep sense of pride and confidence that they have developed the skills and knowledge to launch a successful career in STEM.” Ninety-six people donated to SFSU’s Men’s Rugby Club, the most for any campus organization raising more than $3,500. Kiril Gupta, secretary and head of social media for the 45-member SFSU Men’s Rugby Club team, says he was especially pleased to see that the team received the highest number of student donors of any group. “When we brought the team back during the fall ’22 semester, our old officers always emphasized campus engagement and being a part of the school community,” he said. “Having a high number of donors shows to our team that we have done a great job of being a part of the school community, and we are grateful for students at SF State supporting us.” The team plans to spend the windfall on field rentals, new equipment, travel, medical supplies, new uniforms and more. If you missed Gators Give Day or still want to help, there’s always time to make a difference. Ongoing support ensures that SFSU will continue to deliver excellence and access to transformative education rooted in innovation and equity. Learn more about giving to support SFSU. And look forward to next year’s Gators Give Day, when we’ll achieve even greater success for our campus community.
- SFSU celebrates Earth Week with action, optimism and funKicking off April 21, this year’s festivities include a job mixer, an upcycling craft fair, outdoor meditation and more
- Hackers designed ‘tech for good’ at this year’s SF HacksProjects tackled memory loss, data protection, mental health and more