ALIZON OS School of Medical & Digital Intelligence
← Back to Alizon OS alizongov.com ↗
Module 1 · Unit 1 · Foundations of AI in Pharmacy

Designing a Drug-like Candidate using Machine Learning

A hands-on virtual experiment: build a drug molecule by tuning its physicochemical properties, then use an AI classifier to predict its drug-likeness and oral bioavailability in real time — the same screening idea used in modern computer-aided drug discovery.

Machine Learning Lipinski's Rule of Five Veber's Rules ADME / Bioavailability In-silico Screening
01

Lab Manual

Aim objective

To design a candidate drug molecule in-silico by adjusting its molecular descriptors, and to evaluate it with a machine-learning model that predicts drug-likeness and predicted oral bioavailability, thereby understanding how AI accelerates early drug discovery.

Formulation goal. Tune the molecule until it has 0 rule violations and a predicted oral bioavailability ≥ 70%. Log at least three different candidates for comparison.
Principle & Theory concept

Artificial Intelligence (AI) is the branch of computer science that builds systems able to perform tasks needing human-like reasoning. Machine Learning (ML) is a subset of AI in which a model learns patterns from data instead of being explicitly programmed, and Deep Learning is a further subset that uses multi-layered neural networks.

In early drug discovery, screening real molecules in the lab is slow and expensive. AI models are trained on thousands of known drugs and non-drugs, learning which physicochemical properties make a molecule a good oral drug. New candidate molecules can then be screened in seconds — this is called in-silico screening.

The most famous rule set is Lipinski's Rule of Five. A molecule is likely to be an orally active drug if it does not violate more than one of:

  • Molecular weight (MW) ≤ 500 Da
  • Lipophilicity (LogP) ≤ 5
  • Hydrogen-bond donors (HBD) ≤ 5
  • Hydrogen-bond acceptors (HBA) ≤ 10

Veber's rules add two absorption-related limits: topological polar surface area (TPSA) ≤ 140 Ų and rotatable bonds ≤ 10.

In this tool the AI verdict is produced by a logistic-regression classifier — one of the simplest ML models. It combines the descriptors with learned weights and passes the sum through a sigmoid function to output a probability between 0 and 1:

P(drug-like) = 1 / ( 1 + e^-( w₀ + w₁·MW + w₂·LogP + … ) )
Important teaching point: these rules are guidelines, not laws. Some real, successful drugs (e.g. erythromycin, cyclosporine) break several rules. AI screening narrows the search — it does not replace laboratory and clinical testing.
Requirements setup
  • A computer / tablet with a modern web browser (this virtual e-lab tool).
  • The molecular-descriptor control panel (built in).
  • The trained AI drug-likeness & bioavailability model (built in).
  • A reference set of known drugs (provided as "starting scaffolds").
  • Your lab notebook — or use the built-in report generator.
Procedure steps
  1. Go to the Formulation Workbench. Note the formulation goal.
  2. Choose a starting scaffold (a known drug). Watch the molecule build itself on the synthesizer panel and read its baseline scores.
  3. Adjust the six sliders (MW, LogP, HBD, HBA, TPSA, rotatable bonds). The molecule morphs live and the AI re-scores instantly. Sliders turn amber when a value breaks a rule.
  4. Work toward the goal: keep the drug-likeness gauge high and push predicted bioavailability ≥ 70% with no violations. Tip: moderate LogP (about 1–3) and low TPSA (below 90 Ų) improve absorption.
  5. When satisfied, click "Log this candidate" to record it in the observation table.
  6. Repeat with different scaffolds and settings — log at least three candidates.
  7. Go to Generate Report, write your observation and conclusion, and produce a printable report with your results.
Guided Method — how to fix any molecule method

Use this five-step method whenever a candidate fails screening. Fix the biggest problem first, then re-check the AI gauges after every change.

  1. Read the diagnosis. Look at which rule checks are red and whether bioavailability is low. The red boxes tell you exactly which property is out of range.
  2. Fix violations first. Bring any red property back inside its limit — MW ≤ 500, LogP ≤ 5, HBD ≤ 5, HBA ≤ 10, TPSA ≤ 140, rotatable bonds ≤ 10.
  3. Tune LogP into 1–3. Too low = poor permeability, too high = poor solubility. The 1–3 window gives the best balance.
  4. Drop TPSA below 90 Å². This is the single strongest lever for oral absorption. Reducing polar donors/acceptors lowers TPSA.
  5. Trim size & flexibility. Lower MW toward 250–450 and keep rotatable bonds low so the molecule is compact and rigid enough to absorb well.
Golden rule: change one slider, watch both gauges, then decide the next move. Small steps beat big jumps.
02

Formulation Workbench

Your target: a molecule with 0 rule violations and predicted oral bioavailability ≥ 70%.  Pick a scaffold, then tune the sliders. Log your best candidates below.

Fix the Medicine — Clinical Challenges

rectify & correct

Each case is a faulty drug candidate that failed AI screening. Load a case, read the diagnosis, then adjust the sliders below to correct it until every target turns green — then log your fix.

Molecule Builder

inputs
Starting scaffold
Pick a known drug to load its real properties — dashed chips are famous rule-breakers.

AI Analysis

logistic-regression · live
Custom molecule
MW 300 · LogP 2.0
O N C
Drug-likeness
0%
 
Oral bioavailability
0%
 
?
Awaiting inputAdjust the builder to begin.
03

Observation Table

#CandidateMWLogPHBDHBATPSARotB ViolationsDrug-likeBioavail.Verdict
No candidates logged yet. Design a molecule above and click "Log this candidate".
04

Practical Question Paper

Generate a shuffled, unique paper for each student. Every paper draws different correction tasks, a different design task and different viva questions from the same syllabus — so no two students get the same set. The paper code lets a teacher reproduce any paper.

05

Generate Report

Your writing: 0 / 400 words minimum
Please write at least 400 words across the sections above before generating your report.
Alizon OS
ALIZON OS
School of Medical & Digital Intelligence · Pharmacy AI
alizongov.com

Experiment

Module 1 · Unit 1 · Foundations of AI in Pharmacy — Designing and correcting drug-like candidates using a machine-learning classifier.

Aim

To design a candidate drug molecule in-silico, to correct faulty candidates, and to evaluate drug-likeness and predicted oral bioavailability using an AI (logistic-regression) model, relating physicochemical properties to Lipinski's and Veber's rules.

Principle

Best Designed Candidate

Method

Observation Table

Observation

Result

Discussion

Conclusion

Student signature
Faculty signature
Generated with the ALIZON OS Virtual Practical E-Lab · alizongov.com · AI predictions are for educational screening only.