<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: derrickdagod666</title>
    <description>The latest articles on DEV Community by derrickdagod666 (@derrickdagod666).</description>
    <link>https://dev.to/derrickdagod666</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F630327%2F7458b6eb-dcd8-4401-b2db-c2d92c63df0b.png</url>
      <title>DEV Community: derrickdagod666</title>
      <link>https://dev.to/derrickdagod666</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/derrickdagod666"/>
    <language>en</language>
    <item>
      <title>My EGFR model scored R-squared 0.60. On honest splits, it scored negative 0.22.</title>
      <dc:creator>derrickdagod666</dc:creator>
      <pubDate>Mon, 23 Nov 2026 02:40:36 +0000</pubDate>
      <link>https://dev.to/derrickdagod666/my-egfr-model-scored-r2-060-on-honest-splits-it-scored-022-4i71</link>
      <guid>https://dev.to/derrickdagod666/my-egfr-model-scored-r2-060-on-honest-splits-it-scored-022-4i71</guid>
      <description>&lt;p&gt;I build a small genomics/QSAR workbench (GENEIE), and its headline benchmark was an EGFR model: 1,034 unique molecules from ChEMBL (target CHEMBL203, median pIC50 per molecule), 10 RDKit physicochemical descriptors, a random forest regressor and an MLP classifier. On the original random 80/20 split it scored RF R² = 0.6005 and MLP accuracy = 0.7053. Those were the numbers on the page.&lt;/p&gt;

&lt;p&gt;This month I re-ran the identical pipeline — same features, same parameters, same seed (42) — under two harder, group-aware splits:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Split&lt;/th&gt;
&lt;th&gt;RF R²&lt;/th&gt;
&lt;th&gt;MLP accuracy&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Random&lt;/td&gt;
&lt;td&gt;0.6005&lt;/td&gt;
&lt;td&gt;0.7053&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scaffold (Bemis–Murcko, no scaffold on both sides)&lt;/td&gt;
&lt;td&gt;0.4819&lt;/td&gt;
&lt;td&gt;0.8058&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cluster (Morgan fingerprints, Butina, whole clusters on one side)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;−0.2228&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;0.6073&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The regression collapses exactly as you'd fear. A random split puts near-identical chemistry on both sides of the line, so R² = 0.60 was substantially memorization wearing a lab coat. Under the cluster split the model is worse than predicting the test-set mean.&lt;/p&gt;

&lt;p&gt;Two honesty notes, because an audit that hides them is worthless:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Classification did not fall the same way.&lt;/strong&gt; Scaffold-split MLP accuracy (0.8058) is &lt;em&gt;above&lt;/em&gt; the random split. The descriptors carry no scaffold identity, and the grouped test sets have shifted class balances (cluster test set is 24.1% active vs 54.9% in the pool). Cross-split accuracy comparisons need the majority-class baselines beside them; the regression collapse is the cleaner signal.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The grouped splits took three constructions to build fairly.&lt;/strong&gt; My first two attempts produced degenerate test sets (one cluster of 351 molecules; then only 4 clusters). Both are in the record, superseded, with the adequacy rule stated before the final run: a grouped test set must hold ≥ 20 distinct groups.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Limitations, stated before anyone quotes this: the dataset is the first 2,000 ChEMBL API returns, not a random sample of EGFR space; assay heterogeneity (the same molecule spans up to ~190× in IC50 across assays) caps what any descriptor-only model can do; fingerprints defined the splits but were not model features.&lt;/p&gt;

&lt;p&gt;The full provenance record — dataset hash, split construction, reproduction check against the original run (Δ = 0.0000 / 0.0003) — is public with the code: &lt;a href="https://github.com/derrickdagod666/aethel-psi" rel="noopener noreferrer"&gt;https://github.com/derrickdagod666/aethel-psi&lt;/a&gt; and the live demo is at &lt;a href="https://geneie-v2.onrender.com" rel="noopener noreferrer"&gt;https://geneie-v2.onrender.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I now run this as an independent service (Aethel Verify): a fixed-fee audit of a team's validation — splits, leakage, reproduction from raw inputs — with the findings in writing, fails included. Because the first benchmark mine caught lying was my own.&lt;/p&gt;

&lt;p&gt;— Derrick Irons, Independent Researcher&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>drugdiscovery</category>
      <category>python</category>
      <category>datascience</category>
    </item>
  </channel>
</rss>
