<?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: H4dis</title>
    <description>The latest articles on DEV Community by H4dis (@h4dis).</description>
    <link>https://dev.to/h4dis</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%2F4063083%2Feee07e72-7839-4bb3-848b-dd12630e6fc5.png</url>
      <title>DEV Community: H4dis</title>
      <link>https://dev.to/h4dis</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/h4dis"/>
    <language>en</language>
    <item>
      <title>Feature Engineering Trade-offs &amp; Multi-Metric</title>
      <dc:creator>H4dis</dc:creator>
      <pubDate>Tue, 04 Aug 2026 20:49:58 +0000</pubDate>
      <link>https://dev.to/h4dis/feature-engineering-trade-offs-multi-metric-5473</link>
      <guid>https://dev.to/h4dis/feature-engineering-trade-offs-multi-metric-5473</guid>
      <description>&lt;p&gt;Adding manual signal features (Impact Severity, Energy Ratios) boosted Class 2 F1 score but caused metric drop in Class 0 &amp;amp; 1, decreasing total leaderboard performance.&lt;br&gt;
&lt;strong&gt;Root Causes&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Multicollinearity&lt;/strong&gt;: Re-creating Peak-to-RMS ratio when** Crest Factor** was already present.
&lt;strong&gt;- Dimensional Mismatch&lt;/strong&gt;: Direct summation of unscaled velocity (mm/s) and acceleration (g).
&lt;em&gt;-** Outlier Explosion&lt;/em&gt;**: Division by small RMS values creating extreme data spikes.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Metric Trade-off&lt;/strong&gt;: Optimizing&lt;br&gt;
features for a single class without controlling multi-metric balance.&lt;br&gt;
&lt;strong&gt;Key Learnings &amp;amp; Fixes&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Outlier Suppression&lt;/strong&gt;: Apply logarithmic transformation (np.log1p) on raw ratio features to normalize distributions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Feature Stacking&lt;/strong&gt;: Isolate noisy Class 2 features into a binary sub-model, injecting only its output probability (prob_class2) into the main classifier.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Multi-Threshold Post-Processing&lt;/strong&gt;: Use scipy.optimize.minimize (Nelder-Mead) on prediction probabilities to optimize overall multi-metric leaderboard score instead of manual feature hacking.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Competition vs Engineering&lt;/strong&gt;: Recognized that high leaderboard scores often rely on prior distribution alignment and post-processing hacks rather than pure signal domain analysis.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>machinelearning</category>
      <category>programming</category>
      <category>datascience</category>
    </item>
  </channel>
</rss>
