<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Joao on Medium]]></title>
        <description><![CDATA[Stories by Joao on Medium]]></description>
        <link>https://medium.com/@joaonteles?source=rss-f95e3d77a480------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*7A8cC4vWiI9f7cyE</url>
            <title>Stories by Joao on Medium</title>
            <link>https://medium.com/@joaonteles?source=rss-f95e3d77a480------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 09:54:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@joaonteles/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Not Just Accuracy: What I Learned About AI, Explainability, and Automation]]></title>
            <link>https://medium.com/@joaonteles/not-just-accuracy-what-i-learned-about-ai-explainability-and-automation-8bba3caae7f1?source=rss-f95e3d77a480------2</link>
            <guid isPermaLink="false">https://medium.com/p/8bba3caae7f1</guid>
            <category><![CDATA[students]]></category>
            <category><![CDATA[explainable-ai]]></category>
            <category><![CDATA[ai-in-industries]]></category>
            <category><![CDATA[deep-learning-project]]></category>
            <category><![CDATA[computer-vision]]></category>
            <dc:creator><![CDATA[Joao]]></dc:creator>
            <pubDate>Wed, 16 Jul 2025 19:41:32 GMT</pubDate>
            <atom:updated>2025-07-16T19:41:32.591Z</atom:updated>
            <content:encoded><![CDATA[<p>You will see here:</p><ol><li>An Deep Learning project overview (<a href="https://github.com/JoaoTeles87/Image-Classification-in-Production-line">GitHub repository</a>)</li></ol><p>2. Reflections on AI explainabillity</p><h4>Deep Learning Project Overview</h4><p>Recently, I participated in a technical extension program focused on Industry Automation using Artificial Intelligence. The program was led by Cleber Zanchettin, a recognized expert in AI in Brazil, in partnership with Accenture’s Innovation Center in Recife.</p><h4>1. Building the Pipeline: More Than Just Accuracy</h4><p>A solid AI project doesn’t start with modeling, it starts with questions. What are we trying to predict? What does a “good” model mean in this context? After that, the steps are familiar: structured preprocessing, model selection, and metric evaluation. But what sets projects apart isn’t just accuracy (often hovering around 80%). It’s the <strong>rigor of the pipeline</strong> and the <strong>curiosity behind the analysis</strong>.</p><p>Initially, I tested a simple CNN with a few layers. Then, I moved to a <strong>ResNet50 architecture</strong>, freezing its backbone to leverage transfer learning. But what really made a difference wasn’t just the model ; it was the <strong>multi-input idea</strong>: using <strong>both top and side image perspectives</strong> to infer if an object was intact or damaged. This dual-input design significantly improved performance, especially in terms of <strong>precision and F1-score</strong>.</p><h4>2. Explainability Matters More Than Ever</h4><p>The real insight came with the visualizations. Early attempts with Grad-CAM resulted in vague, imprecise heatmaps. But after refining the architecture and preprocessing, we achieved <strong>78% IoU alignment</strong> between model attention and annotated ground truth, in the EfficientNet Model, but I’ll focused at the second model ResNet50.</p><p>Here’s a sample model output:<br>[INFO] Model prediction: Damaged (Class 1): 53% | Intact (Class 0): 47%<br>But more than numbers, the heatmaps told the story.</p><p><strong>Initial Result — Weak Localization</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4R_GoiQz9bK4YQazQoSY8Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2fxEebPv2lNjmCVQrl-4ww.png" /></figure><p>This early attempt showed that the model was not focusing on relevant regions; a clear sign that it was not learning the right features.</p><p>It became a turning point: a cue that the model needed better guidance to improve its learning process. Later in the article, I’ll explore the steps that can help us evolve from this.</p><h4><strong>3. Presentation and Lessons from the Field</strong></h4><p>Presenting this project to Accenture’s AI professionals was more than a checkpoint. It was a mirror. Watching others present sparked practical improvements in my own pipeline — like applying filters earlier in the data flow or cropping out noise in the image.</p><p>There was also a hidden layer in the project: some labels in the dataset were deliberately incorrect, unfortunately common in some projects... Why? To simulate real-world noise — mislabeled data, outliers, distribution drift. These are not exceptions in real industry pipelines; they’re the rule.</p><p>One golden rule I took with this year me: <strong>always check for data leakage</strong>. A model with great performance on paper might be cheating if your train and test sets aren’t well-separated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*I0o2OCroB_7UyieNd4WRHw.png" /><figcaption>how the model was developed during the epochs training</figcaption></figure><h4>Final Thoughts</h4><p>This experience wasn’t just about writing code. It was about building a mindset.</p><p>Even though we used synthetic data, the architecture, evaluation, debugging, and explainability efforts reflect the challenges faced in real-world AI pipelines.</p><p>If I could summarize this journey in one insight, it would be this:</p><blockquote><em>“Build models that can explain themselves, not just perform.”</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8bba3caae7f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>