Chemical education · No-code ML

pKa-ML Education

A six-step decision-tree classroom: inspect and edit data, split molecules, choose tree depth, train, interpret, then fill test descriptors and predict organic-acid pKa.

PythonGUITeaching

Six-step classroom: data management, split, manual tree training, interpretation, then test-descriptor exercises. Approved account required.

pKa-ML Education · Classroom guide

Follow the original desktop sequence: data, management, splitting, manual training, interpretation, then test-molecule exercises. Core learning stays in the browser.

Read the illustrated guide

Load and inspect the dataset

Choose one of five public modules. Inspect the visible descriptor table and reserved test molecules before continuing. Alternatively import a CSV with Molecule Name, SMILES, numeric descriptors and pKa; IsTest is optional.

Different modules may contain different molecules as well as different descriptors. Do not treat every comparison as a controlled single-variable experiment.

Manage molecules and features

Edit numeric cells, select modeling rows and descriptors, or add/remove a molecule or descriptor. Test molecules remain outside the modeling pool. Save & Continue confirms this lesson.

Web limits: 100 molecules, 16 numeric descriptor columns, 128 KiB per lesson. Blank cells are allowed; missing-value exclusions are reported after splitting.

Inspect the split and structures

The seed-42 split reserves floor(20%) of the selected modeling rows for validation (at least one), before complete-case exclusion. Reserved test molecules are removed first.

Inspect the structure cards, pKa labels and descriptors in each group. All-empty selected features are removed; remaining missing training/validation rows are excluded and listed in the report. Custom SMILES without a bundled picture appear as text.

Choose hyperparameters and train

Choose maximum depth 1–6 (default 3), then press Train. This fits one DecisionTreeRegressor with seed 1; it does not sweep depths automatically.

When the server finishes, inspect training/validation MAE, MSE, RMSE, R², parity plot and prediction table. Test-set predictions are not shown here. Change depth and explicitly retrain to explore complexity; repeatedly tuning on validation does not establish unbiased accuracy.

Interpret the tree

Select a training or validation molecule. Use Previous/Next node to follow its threshold decisions in the graphical tree. Wide trees can be scrolled horizontally.

A leaf predicts the mean training label in that leaf. Feature importance describes this fitted tree, not a chemical causal mechanism.

Fill descriptors, check, then predict

Test descriptor inputs start blank. Read each molecular structure, enter descriptors, and press Check & Predict. Values must agree with the lesson reference within 0.01; incorrect fields are highlighted before any prediction is revealed.

When all inputs pass, the browser applies the trained tree to the entered values and shows predicted pKa, observed pKa and absolute error. Editing an input clears the old prediction. A missing reference is explicitly marked as unverifiable.

Editing data or selected features invalidates the old model. Return through splitting and training. Downloads are optional; the complete learning workflow is visible online.

Limits and interpretation

Sign in with an approved account. For a new account, register with your email and password; the owner must approve the application before computation is enabled.

All tools share per-account limits: one running task, two queued tasks and ten submissions per day. Results expire after 72 hours. Save results you need to keep.

If training fails, inspect the status and excluded cells. At least two complete training rows must remain. This is a teaching model, with no automatic SMILES-to-descriptor conversion or universal pKa accuracy guarantee.

Desktop version

The original GUI and datasets remain available in the public repository, with Windows executables on figshare. Web adapter 2.0.0 follows its six-step sequence; numeric CSV data can be edited before training.