<?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 Ahmet Emin Saricaoglu on Medium]]></title>
        <description><![CDATA[Stories by Ahmet Emin Saricaoglu on Medium]]></description>
        <link>https://medium.com/@ahmeteminsaricaoglu?source=rss-dba11a4dd4a6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GudU9hpT9bn2gJpYPDx0NA.jpeg</url>
            <title>Stories by Ahmet Emin Saricaoglu on Medium</title>
            <link>https://medium.com/@ahmeteminsaricaoglu?source=rss-dba11a4dd4a6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 23:56:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ahmeteminsaricaoglu/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[Key Considerations in Machine Learning and Data Science Modeling]]></title>
            <link>https://medium.com/@ahmeteminsaricaoglu/key-considerations-in-machine-learning-and-data-science-modeling-9df9de85d3cd?source=rss-dba11a4dd4a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/9df9de85d3cd</guid>
            <category><![CDATA[feature-engineering]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[predictive-analytics]]></category>
            <category><![CDATA[ml-model-deployment]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Ahmet Emin Saricaoglu]]></dc:creator>
            <pubDate>Wed, 28 Jan 2026 09:12:09 GMT</pubDate>
            <atom:updated>2026-01-28T09:15:14.934Z</atom:updated>
            <content:encoded><![CDATA[<p>One of the most common mistakes in data science is believing that building a good machine learning model is mainly about trying many different algorithms, tuning hyperparameters, and selecting the model that delivers the best evaluation score on a test dataset.</p><p>Building a machine learning model is not just about choosing the right algorithm. Many models fail in production not because of model complexity, but due to overlooked details such as incorrect target definition, data preparation, validation, and evaluation.</p><p>In this article, I will share what I believe are the most critical aspects of building a strong machine learning model, along with the most common pitfalls I have encountered in real world data science projects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*EPTV4POLlGeAZ7Hc66ehaA.png" /></figure><h3><strong>Critical Points in Machine Learning Modeling</strong></h3><p><strong>1. What Is the Objective, and What Is the Target?</strong></p><ul><li><strong>Clearly defining the problem type and target variable.</strong></li></ul><p>This may sound simple, but if this step is not clearly defined, the probability of project failure is extremely high. It must be clear whether the problem is a classification or regression task, what the target variable represents, and which constraints or exclusion rules apply.</p><ul><li><strong>Avoiding ambiguous target definitions</strong></li></ul><p>Consider a loan default model. What does “default” actually mean? Is it a single delinquency event, three consecutive missed payments within 12 months, or two delinquency events within a two-year period? Without a precise definition, the target label becomes inconsistent and unreliable.</p><ul><li><strong>Aligning the target with real business outcomes</strong></li></ul><p>For example mobile subscription renewal or upsell projects , defining a “sale” can be surprisingly complex. If a customer accepts an offer but cancels it shortly after, should this still count as a successful outcome? Does the sales channel matter? For example, if the model is built for a call center but the customer completes the purchase later via a mobile app, should this be considered a positive label?</p><ul><li><strong>Handling label uncertainty</strong></li></ul><p>For example for fraud detection projects often suffer from label ambiguity. If the existing system blocks certain transactions and labels them as fraudulent, should these labels be trusted blindly? Some transactions may have been incorrectly flagged. Training a model on noisy or incorrect fraud labels can significantly degrade performance.</p><ul><li><strong>Defining targets using domain knowledge and collaboration</strong></li></ul><p>Consider a loan default model. What does “default” actually mean? Is it a single delinquency event, three consecutive missed payments within 12 months, or two delinquency events within a two-year period? Without a precise definition, the target label becomes inconsistent and unreliable.In short, the target variable must be defined in a <strong>clear, measurable, and logically consistent</strong> way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/227/1*s9Tf0GWVPJa8f4oKx8JARQ.png" /></figure><p><strong>2. Building the Dataset</strong></p><p>This is another critical step that is often underestimated.<br> Many practitioners are eager to start modeling as quickly as possible and tend to rush through dataset creation. However, the reality is simple: <strong>garbage in, garbage out</strong>. If the dataset quality is poor, even the most sophisticated modeling techniques will not produce good results.</p><p>Key aspects of building a high-quality dataset include:</p><ul><li><strong>Matching inputs to the defined target.</strong></li></ul><p>Each target outcome must be properly linked to its corresponding inputs. For example, consider a mobile subscription renewal project. A renewal outcome must be matched with the correct call or interaction that triggered it. While this may seem straightforward, many edge cases exist. A customer may complete the transaction under a family member’s account, through an appointment, or using a different customer ID altogether.</p><ul><li><strong>Achieving a high output–input matching ratio.</strong></li></ul><p>It is crucial to maximize the proportion of target events that can be matched with valid inputs. Every unmatched output reduces real-world performance, as the model is trained on incomplete or distorted target information. As a result, the model’s ability to predict the target accurately in production will be weakened.</p><ul><li><strong>Being careful with joins and deduplication.</strong></li></ul><p>Joins must be performed using the correct keys, and unnecessary rows must be excluded.<br> For instance, if the model is designed only for digital channels, loan applications originating from branches should not be included, as customer behavior in branch channels may differ significantly. Another common issue arises when a customer takes multiple loans within a short period. If a default occurs, which loan should it be associated with? If the default is linked to all five loans instead of the relevant one, a single event is artificially multiplied, leading to biased model behavior.</p><ul><li><strong>Adding features correctly after input–output matching.</strong></li></ul><p>Machine learning models rely on historical information. Therefore, features must reflect the state of the customer <strong>at the time the event occurred</strong>. For example, if salary is included as a feature, historical salary changes must be tracked and aligned with the event date. Otherwise, the feature becomes misleading, and potentially valuable information is lost.<br> Maintaining feature tables in a <strong>Slowly Changing Dimension (SCD)</strong> format or using <strong>time versioning in Delta tables</strong> can greatly help address this issue.</p><ul><li><strong>Performing data sanity checks on the final dataset.</strong></li></ul><p>Once the dataset is finalized, basic validations should be conducted: total record counts, distinct customer counts, initial versus final target counts, and join ratios. These checks help ensure that no unexpected data loss or distortion occurred during dataset construction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/401/1*_iZwGbi8ntNx8oGUmNiDUA.png" /></figure><p><strong>3. Exploratory Data Analysis (EDA) and Feature Engineering</strong></p><p>This is another crucial stage and often the point where a strong data scientist truly makes a difference. EDA is not optional that is essential. To build a reliable model, we must deeply understand the data we are working with.</p><p>Key steps in this phase include:</p><ul><li><strong>Understanding the structure of the data.</strong></li></ul><p>This includes identifying column types, checking whether the dataset is balanced or imbalanced, reviewing its shape, and analyzing missing values.</p><ul><li><strong>Performing in-depth analyses using charts and visualizations.</strong></li></ul><p>Visual exploration helps reveal patterns, anomalies, and relationships that are not obvious from raw tables. Handling missing values is particularly critical decisions such as dropping or imputing values should be made based on clear logic and business understanding, not convenience.</p><ul><li><strong>Deriving insights from EDA and converting them into features.</strong></li></ul><p>Insights gained during EDA should directly inform feature engineering efforts.</p><ul><li><strong>Creating new features using appropriate techniques.</strong></li></ul><p>Common approaches include encoding, binning, ratio-based features, and aggregations across different time windows or entities.</p><ul><li><strong>Aligning modeling choices with regulatory constraints.</strong></li></ul><p>In regulated environments, models such as Logistic Regression or Decision Trees are often required. When using Logistic Regression, proper feature scaling and multicollinearity checks are mandatory to ensure model stability and interpretability.</p><ul><li><strong>Choosing feature representations wisely in changing economic conditions</strong></li></ul><p>Due to factors such as inflation, raw numeric values may become less meaningful over time. In such cases, ratios or binned features can be more robust. However, if raw numeric features are used, the model may require more frequent updates to remain accurate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*pE7Q5nx8NDaOTMFnmtDuUg.png" /></figure><p><strong>4. Modeling Phase</strong></p><p>There are many other factors that must be considered throughout the modeling process. For me, <strong>data leakage</strong> stands out as one of the most commonly overlooked and most problematic issues.</p><p>Lets discuss the key points to consider during modeling include:</p><ul><li><strong>Handling imbalanced datasets properly.</strong></li></ul><p>If the data is imbalanced, it must be addressed through techniques such as oversampling, undersampling, or model-level hyperparameters. Undersampling is generally not recommended, as it discards valuable information. Oversampling is often a better option, and methods like <strong>SMOTE</strong> are commonly considered effective.<br> However, neither oversampling nor undersampling is always the best solution. In many cases, using class-weight–based approaches such as class_weight in Logistic Regression or XGBoost — scale_pos_weight parameters can be more effective.<br> These methods penalize misclassification of the minority class more heavily, encouraging the model to learn those cases better without distorting the data distribution.</p><ul><li><strong>Fitting only on the training data and transforming the test data.</strong></li></ul><p>Every preprocessing step must be fitted exclusively on the training dataset and applied to the test dataset without refitting. This rule applies to all feature engineering steps. For example, if missing values are imputed using the median, that median must be calculated from the training data only and then applied to the test data. Similarly, oversampling techniques should be applied <strong>only</strong> to the training set. The test dataset should remain completely untouched to ensure a fair evaluation.</p><ul><li><strong>Hyperparameter tuning matters but should be done wisely.</strong></li></ul><p>Hyperparameter optimization can significantly improve model performance. While <strong>GridSearchCV</strong> is a traditional approach, it can be very slow on large datasets.<br> In such cases, more efficient frameworks like <strong>Optuna</strong> are often a better choice.</p><ul><li><strong>Choosing the right evaluation metric.</strong></li></ul><p>Selecting an appropriate evaluation metric is critical. Depending on the problem, this may include accuracy, precision, recall, AUC, or Gini. For example, accuracy is not a suitable metric for imbalanced datasets, as it can be highly misleading. Models should be optimized using metrics that truly reflect business and risk objectives.</p><ul><li><strong>Using time-aware test splits instead of random splits.</strong></li></ul><p>When defining the test set, using the most recent portion of the data as a test set is often more realistic than a random split. This approach better simulates production behavior and provides a more reliable estimate of future performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*hl0i7cW-5ZqaYBMw_Q79BA.png" /></figure><p><strong>5. Model Deployment and Going Live</strong></p><p>So time for production:)</p><ul><li><strong>Model Robustness and Pipeline Stability</strong></li></ul><p>Before going live, the model must be robust and reliable. Features should be properly aligned with lookup tables, and the entire end-to-end pipeline must function correctly. Any mismatch in feature definitions or pipeline failures can lead to incorrect predictions in production.</p><ul><li><strong>Low Latency and Performance Requirements</strong></li></ul><p>Speed is a critical factor, especially for use cases such as fraud detection or credit application scoring. Models must produce decisions within milliseconds or a few seconds at most. No customer is willing to wait 5 or 10 minutes for a money transfer or loan decision.</p><ul><li><strong>Pool-Based Decisioning Instead of Binary Outputs</strong></li></ul><p>Evaluating model outputs as simple binary decisions (0/1) is often suboptimal. For example, in PD models, using risk pools instead of a single cutoff provides greater flexibility. The lowest pool may represent low-risk customers, while the highest pool represents high-risk ones. Business actions can be taken accordingly for each pool.</p><ul><li><strong>Staged and Controlled Deployment</strong></li></ul><p>Models should not be deployed to all users at once. Starting with a small subset allows teams to observe real-world behavior and minimize the impact of potential issues. This approach also enables <strong>A/B testing in production</strong>, provided that sample selection is done carefully.</p><ul><li><strong>Periodic Validation After Deployment</strong></li></ul><p>Once the model is fully deployed, regular validation becomes essential. Data distributions may shift, pipelines may break, inflation may affect numeric or binned features, or features that were previously important may lose their predictive power. Periodic validation helps identify these problems early.</p><ul><li><strong>Continuous Monitoring and Model Updates</strong></li></ul><p>Delivering a model is not enough; its value must be clearly communicated. While technical teams may understand the model’s inner workings, all stakeholders including business teams and senior management should clearly see the benefits, such as increased sales, higher profitability, or reduced churn.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*OzIgqdxPmbs7BSyiL-NZSA.png" /></figure><h3>Summary</h3><p>Building a data science model is not just about trying different machine learning techniques and selecting the one with the best test performance. It starts with defining the target correctly, building a high-quality dataset, and then performing thorough exploratory data analysis and feature engineering. It also requires developing a model without issues such as data leakage and ensuring that the model runs reliably, efficiently, and in a value-generating way in production.</p><p>The work does not end once the model is deployed. Continuous testing, validation, and iterative improvements are essential after going live. Cost considerations must also be part of the process. If the cost of a project outweighs the value it delivers, then the project loses its purpose.</p><p>Finally, we should never forget the most critical aspect of any project: <strong>solving a business problem or improving an existing system</strong>. In other words, the project must create <strong>business value</strong> for the organization. <strong>Even the most advanced AI solution is meaningless if it does not deliver measurable business impact.</strong></p><p><em>Thanks ..</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9df9de85d3cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Dashboard Is Not the Goal, but a Tool: Key Principles of Good Dashboard Design]]></title>
            <link>https://medium.com/@ahmeteminsaricaoglu/a-dashboard-is-not-the-goal-but-a-tool-key-principles-of-good-dashboard-design-f58e2b73353a?source=rss-dba11a4dd4a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f58e2b73353a</guid>
            <category><![CDATA[dashboard]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[bi]]></category>
            <category><![CDATA[tableau]]></category>
            <dc:creator><![CDATA[Ahmet Emin Saricaoglu]]></dc:creator>
            <pubDate>Wed, 21 Jan 2026 08:21:39 GMT</pubDate>
            <atom:updated>2026-01-21T08:25:41.689Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Why Do We Use Dashboards</strong></h3><p>We want to understand our results, monitor performance, and identify potential problems in detail. While these needs can be addressed through reports and Excel files, such outputs are often lengthy, difficult to interpret, and not visually intuitive. As a result, their impact and efficiency decrease, especially when quick and informed decisions are required.</p><p>This is where dashboards come in. Dashboards transform raw data into meaningful KPIs, reveal trends, and allow performance analysis across different dimensions such as category, product, or region.</p><p>Some Benefits of Dashboard</p><p>· <strong>Faster decision making</strong>: It summarizes complex data in a single view</p><p><strong>· Efficient KPI tracking.</strong></p><p>· <strong>Trend and anomaly detection:</strong> It makes easy to understand trends and catch unusual patterns</p><p>· <strong>Single source of truth</strong>: They ensure all stakeholders work with the same metrics, definitions, and numbers</p><p>The goal is not to create visually appealing charts, but to ensure that when someone looks at the dashboard, they can clearly answer one key question: “What should I do next?”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/1*uafIpAJ4GNYlO5h7DAGSeg.png" /></figure><h3><strong>What Is Business Intelligence (BI)?</strong></h3><p>The concept of Business Intelligence can vary from one organization to another. In some companies, BI teams focus primarily on data collection, ETL processes, and data infrastructure, while in others, BI refers to teams responsible for building dashboards, creating reports, and delivering insights to the business.</p><p>In general terms, BI can be defined as the c<strong>ollection of tools, systems, and processes used to collect, transform, and analyze an organization’s data in order to enable more efficient and informed business decisions</strong>. This scope typically includes data ingestion, ETL workflows, DWH, and analytical activities.</p><h3><strong>BI Tools Market Share</strong></h3><p>There are many BI tools available in the market. In the past, BI solutions were mainly focused on reporting, such as SAP BO, but over the last 10–15 years, the focus has shifted significantly toward dashboards and data visualization.</p><p>Today, <strong>Power BI and Tableau </strong>can be considered the two BI tools with the largest market share. Thanks to its strong integration within the Microsoft ecosystem, Power BI continues to increase its market adoption each year. Tableau, on the other hand, has further strengthened its position after being acquired by Salesforce. Following its acquisition by Google, Looker has also been growing its market presence, particularly with its modern BI and semantic layer approach. In addition, tools such as Qlik and Oracle BI remain popular and widely used across organizations.</p><p>For those looking to build dashboards using free or open-source solutions, Python libraries like Streamlit and Plotly, as well as R Shiny, offer powerful alternatives. While they may not be as easy to use out of the box as Tableau or Power BI, the availability of GPT-based assistants has made it much easier to build high-quality and flexible dashboards using Python or R.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*BTUWs3EW3ou8PqjeHRzYTA.png" /></figure><h3><strong>What Should We Focus on When Building Dashboards?</strong></h3><p>When people build their first dashboard, they often assume that using more advanced charts and visual elements automatically results in a better dashboard. This is a common misconception.</p><p>A dashboard is not a collection of every sophisticated chart available, nor a screen filled with flashy colors.</p><p>A good dashboard is one that addresses the real needs of the business, has well-designed and reliable filters and parameters, and is built on accurate and trustworthy data.</p><p><strong>Now, let’s take a step-by-step look at </strong>how to build a good dashboard<strong>.</strong></p><h3><strong>Dashboard Steps</strong></h3><p><strong><em>1-</em></strong><em> </em><strong><em>What Is the User’s Need?</em></strong></p><p>The most important question when building a dashboard is <strong>what the end user actually wants to see</strong>. Even if you create a dashboard that is technically perfect, visually appealing, and built on accurate data, it has <strong>no real value</strong> if there is no user or if the user does not need it.</p><p>That’s why the following questions must be clearly answered from the beginning:</p><ul><li><strong>Who is your user, and what kind of insight do they need?</strong><br> Senior management and branch-level employees expect very different insights.</li><li><strong>How analytical is your user?</strong><br> Highly analytical users may benefit from more detailed dashboards, while less analytical users require simpler, more guided designs.</li><li><strong>Which dimensions matter?</strong><br> On which breakdowns (time, product, channel, region, etc.) will analyses be performed?</li><li><strong>What information should be included?</strong><br> What are the key takeaways the user expects from this dashboard?</li></ul><p>Defining the user’s needs is <strong>the first and most important rule of building a good dashboard</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/1*uiEk_mGxnIPtbjMSu5LwJw.png" /></figure><p><strong><em>2-</em></strong><em> </em><strong><em>Is the Data Correct?</em></strong></p><p>If the data flowing into a dashboard is incorrect, then the insights we provide are also <strong>incorrect</strong>. That’s why ensuring that the data is <strong>accurate, consistent, and complete</strong> is a critical step in the dashboard development process.</p><p>Data usually comes from multiple sources and is most often retrieved through <strong>SQL-based systems</strong>. In most cases, a dashboard cannot be built from a single SQL table. Therefore, it is essential to ensure:</p><ul><li>The right tables are selected</li><li><strong>Join relationships</strong> between tables are correctly defined</li><li>Data flows completely without missing records</li><li>Column data types (date, numeric, string, etc.) are correctly handled</li></ul><p>What we display on a dashboard is <strong>data transformed into information</strong>. For this reason, the information presented must should be true.</p><p><strong><em>3-</em></strong><em> </em><strong><em>Does the Dashboard Run Smoothly and Perform Well?</em></strong></p><p>After building a dashboard, it is essential to verify that it <strong>runs correctly and performs efficiently</strong>.</p><p>If a dashboard queries large volumes of data from multiple SQL tables in real time and the data model is not properly designed, refresh times can become significantly slower. This can:</p><ul><li>Negatively impact the user experience</li><li>Increase user complaints</li><li>Put unnecessary load on live SQL environments and <strong>disrupt business processes</strong></li></ul><p>Beyond performance, it is also critical that the dashboard <strong>opens reliably without errors</strong>. Dashboards that load slowly or fail intermittently quickly lose user trust.</p><p>In addition, all parameters and filters (such as date, flags, and categories) must be thoroughly tested to ensure they <strong>work correctly and consistently</strong>.</p><p><strong><em>4-</em></strong><em> </em><strong><em>Data Security</em></strong></p><p>Company data is <strong>sensitive</strong> and often <strong>confidential</strong>. Therefore, it is critical to carefully control the BI tool being used<strong>, </strong>access permissions, and the published dashboard links<strong>.</strong></p><p>If a published dashboard can be accessed from outside the company<strong>,</strong> this indicates a serious security risk.</p><p>The choice of BI tool also matters. For example, when working with company data in Tableau, development should be done using Tableau Desktop (with Server or Cloud integration)<strong> </strong>rather than<strong> </strong>Tableau Public<strong>.</strong></p><p>Data security is not optional in dashboard development. <strong>It is a requirement</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/411/1*HC73UMKfRXS4dB0WIDLVMQ.png" /></figure><p><strong><em>5-</em></strong><em> </em><strong><em>The Core of the Dashboard (The Actual Product)</em></strong></p><p>This is where most of the effort goes: the core of the product. The section that contains charts, tables, and analyses ultimately determines whether a dashboard is truly effective.</p><p>For a dashboard to be successful, this core area must be <strong>readable, easy to understand, and visually clean.</strong> Some of the most common and essential components of a good dashboard include:</p><p>· <strong>Parameters and Filters (Date, Flag, Category, etc.) : </strong>Users want to <strong>interact</strong> with a dashboard. They want to see what changes when a specific date is selected, or how results are affected when an important flag (such as a discounted product flag) is applied. They also want to analyze performance by selected categories or subcategories. For this reason, <strong>parameters and filters are essential.</strong></p><p>· <strong>KPI Cards</strong> : These are summary metrics placed at the top of the dashboard. Metrics such as total sales, total customers, or profitability help answer one key question quickly: <em>“What is the current state of the business?”</em></p><p>· <strong>Line Charts (Time Series):</strong> Ideal for showing trends over time. They answer questions like “How are our monthly sales evolving?” and are among the most commonly used charts in dashboards.</p><p>· <strong>Bar Charts</strong>: Well-suited for category-based analysis. Product-level, subcategory-level, or channel-based comparisons are typical use cases.</p><p>· <strong>Pie Charts</strong>: Useful for visualizing percentage distributions. For example, showing the regional distribution of revenue at a glance.</p><p>· <strong>Funnel Charts</strong>: Extremely powerful for analyzing the customer journey. In an e-commerce context, this might include: Visitors → product searches → add to cart → checkout → purchase. Funnel analysis helps identify bottlenecks and improvement opportunities. For example, if only 25% of users who reach the payment step complete the purchase, there may be issues such as payment failures, system errors, or unexpected shipping costs. Similarly, a low add-to-cart rate may indicate missing campaigns or poor pricing strategies.</p><p>· <strong>Cohort Analysis</strong>: Very effective for tracking campaign performance or application version behavior. It allows businesses to evaluate the long-term impact of customer acquisition efforts and marketing spend.</p><p>There are many different chart and visualization options available. The key principle is this: <strong>we should not choose data to fit a chart, but instead choose the right chart to best communicate the insight we want to deliver.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*xEuGrdlSb87AB1cXnkOmSQ.png" /></figure><p><strong><em>6-</em></strong><em> </em><strong><em>Aesthetics — UI / UX Design</em></strong></p><p>A dashboard must run smoothly, present accurate data, and ensure security. All of these are essential. However, there is one more critical aspect: it also needs to be visually appealing.</p><p>A good dashboard does not only deliver correct insights; it also provides a <strong>clean, consistent, and pleasant user experience.</strong></p><p>The choice of fonts and color palettes should be made carefully. Most organizations have <strong>UI/UX teams,</strong> and their recommended brand colors, fonts, and background styles should be used whenever possible. This helps maintain brand consistency and creates a familiar experience for users.</p><p>In addition, the meaning of colors must be intuitive. When users see a color in a chart, they should immediately understand what it represents. For example, in charts showing approval rates, sales figures, or performance metrics, green is typically associated with high or positive values, while red indicates low or negative values.</p><p>Using the <strong>right fonts and colors significantly improves a dashboard’s readability and overall user experience</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*xjqgRe6Iczt5pUXDVlseaw.png" /></figure><p><strong><em>7-</em></strong><em> </em><strong><em>Publishing and Different Device Experience</em></strong></p><p>After completing a dashboard, the work does not end with publishing it. It is essential to verify how the dashboard looks and behaves across <strong>different devices and browsers</strong>.</p><p>Users may access the dashboard from: mobile phones, tablets, and desktop computers, as well as different browsers such as Chrome, Mozilla, or Safari.</p><p>Therefore, the dashboard should:</p><ul><li>Open <strong>smoothly on all devices</strong></li><li>Maintain a consistent layout across different screen sizes</li><li>Keep charts, tables, and filters <strong>fully usable</strong></li></ul><p>A good dashboard does not work well only on the developer’s screen that performs consistently <strong>wherever the user accesses it</strong>.</p><p><strong><em>8-</em></strong><em> </em><strong><em>Test</em></strong></p><p><strong>Test, test, test, test…</strong></p><p>In the end, we are building an application or user interface. Just like any other IT product, dashboards require extensive testing. Before going live:</p><ul><li>All possible <strong>test scenarios</strong> should be defined</li><li>Testing should involve <strong>multiple people</strong>, not just the developer</li></ul><p>Errors or missing elements discovered after a dashboard goes live can damage its perceived quality and <strong>reduce user adoption over time</strong>.</p><p>During testing, the following aspects should be carefully reviewed:</p><ul><li>Do filters and parameters work correctly?</li><li>Is the data accurate and consistent?</li><li>Are charts easy to read and interpret?</li><li>Does the dashboard work properly across different devices and browsers?</li><li>Is performance acceptable?</li><li>Do the visualizations communicate the intended insights?</li></ul><p>That’s why it’s worth repeating one last time: <strong>Test, test, test.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*iVbkoa_jct4ZaTLoK-qzCw.png" /></figure><p><strong><em>9-</em></strong><em> </em><strong><em>Publish to All and Monitor</em></strong></p><p>The dashboard is built and testing is complete. Now it’s time to publish it to users and move into the <strong>monitoring and observation</strong> phase.</p><p>A best practice is to first release the dashboard to a small, close group of users. This allows you to:</p><ul><li>Collect <strong>user feedback and suggestions</strong></li><li>Identify <strong>bugs or usability issues</strong></li><li>Make necessary improvements and refinements</li></ul><p>Once these adjustments are made, the dashboard can be gradually rolled out to <strong>all target users</strong>. After publishing, the work is still not finished. At this stage, it’s important to monitor:</p><ul><li>How frequently the dashboard is being used</li><li>Which sections receive the most attention</li><li>Which parts are rarely used</li></ul><p>By analyzing usage patterns and collecting feedback, we can make <strong>continuous improvements, enhancements, and simplifications.</strong></p><p>As mentioned earlier, no matter how well-designed or technically advanced a dashboard is<strong>, it has no value if it has no users</strong>. That’s why user feedback, suggestions, and complaints are extremely valuable</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*c3D1vxpWkrqcPqvMM6dEuQ.png" /></figure><h3><strong>Conclusion — Summary</strong></h3><p>A dashboard is not a goal, it is a tool. The real purpose is to <strong>turn data into information</strong>, share insights, and enable users to <strong>take action</strong>.</p><p>A dashboard is never truly finished once it goes live. As users interact with it, provide feedback, and as needs evolve, it should <strong>continue to improve and grow as a living product</strong>.</p><p>No matter how well designed it is, <strong>a dashboard that is not used has no real value</strong>.</p><p><em>Thanks for reading ..</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f58e2b73353a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When AI Agents Start Talking to Each Other, the Rules of Analytics Will Change]]></title>
            <link>https://medium.com/@ahmeteminsaricaoglu/when-ai-agents-start-talking-to-each-other-the-rules-of-analytics-will-change-cb4925e06a8c?source=rss-dba11a4dd4a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb4925e06a8c</guid>
            <category><![CDATA[gpt]]></category>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Ahmet Emin Saricaoglu]]></dc:creator>
            <pubDate>Mon, 01 Dec 2025 11:44:36 GMT</pubDate>
            <atom:updated>2025-12-01T11:44:36.080Z</atom:updated>
            <content:encoded><![CDATA[<p>Last week, I have joined <strong>Salesforce Innovation Day</strong>. It is an annual event packed with insights into Salesforce’s new AI platform, <strong>Agentforce</strong>. The entire program almost focused on Agentforce: product demos, customer experience sessions, and a wide range of talks on AI agents and Generative AI. One of my favorite parts was Google’s presentation on GenAI and the near future that it was truly inspiring.</p><p>The <strong>AI Agent</strong> concept has exploded in popularity over the past few years, and it’s growing even faster now. Almost every major company across various industries has started integrating AI agents into their workflows. Some are already seeing clear gains in efficiency and profitability; some haven’t observed major improvements yet but expect meaningful results soon. In the long run, replacing a human-executed task with an AI agent <strong>dramatically reduces operational costs</strong>. This is what we expect. Of course, some companies invest in AI agents just because it’s trendy even when the use case doesn’t make much sense.</p><p>The truth is: <strong>we already interact with AI agents everywhere</strong>. When we contact customer support after a failed e-commerce order, it’s usually an AI agent. When a food delivery is delayed and we message support that is again, AI agent. When we ask about loans inside a mobile banking app that’s also an AI agent.</p><p>This shift also affects people working in data analytics, because data is changing, user behavior is changing, and consequently, so do metrics and KPIs. AI agents can increase customer satisfaction or shorten processes or sometimes slow them down depending on the workflow. The impact varies widely</p><p>· <strong>The Next Step: When AI Agents Start Talking to Each Other</strong></p><p>One of the most thought-provoking points at the event came from multiple speakers: Today, humans talk to AI agents. In a few years, <strong>AI agents will talk directly to other AI agents</strong>. This shift has already begun, even if only in small, early-stage examples. But it’s clear that this kind of agent-to-agent communication will grow rapidly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/1*Cbho-mhl2P_DMelbGUwgRA.jpeg" /></figure><p>The real question is: Are we prepared for what this means for the data, metrics, and KPIs we rely on today?</p><p>Imagine something as simple as ordering food. In the near future, we might tell our AI agent what we want, and it will communicate with the restaurant’s AI agent to place the order.This will reshape data patterns, user behavior, and many of the metrics businesses rely on. And once AI agents start communicating with each other, the amount of data generated will grow exponentially that far beyond anything produced by human interactions.</p><p>Let me illustrate this with a simple example: Imagine someone planning a summer trip to Southeast Asia and trying to find the best flight deal. As a human, they might check prices 5–10 times a day, maybe a few hundred times a month at most. <strong>But an AI agent could check 10,000 times per month and automatically buy the ticket the moment the price drops.</strong></p><p>If this behavior becomes widespread, here’s what will happen:<br> A website that historically sold <strong>1 ticket per 200 visits</strong> may now see <strong>1 ticket per 10,000 visits</strong>.<br> Conversion Rates will look drastically worse. Reason is not because demand has dropped, but because most “visits” are now made by AI agents, not humans.</p><p>This shift will force analytics teams to rethink nearly everything:</p><p>· How we define CR</p><p>· Year-over-year comparisons</p><p>· Funnel metrics</p><p>· KPI targets</p><p>· User-behavior models</p><p>Many of the KPIs we take for granted today may lose their meaning entirely. Analytics teams will need to rethink and redesign almost everything: definitions, frameworks, measurement techniques. This shift won’t just change the numbers; it will change how we interpret them. What should our new targets even be?</p><p>As I left the event, one thing was clear: We’re heading into a world where AI-to-AI interaction becomes normal, and the analytics world must adapt quickly.</p><p>The way we define success today may not hold up tomorrow. :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb4925e06a8c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Databricks: All-in-One, For Everyone]]></title>
            <link>https://medium.com/@ahmeteminsaricaoglu/why-databricks-all-in-one-for-everyone-b0d7b4b687a2?source=rss-dba11a4dd4a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0d7b4b687a2</guid>
            <category><![CDATA[pyspark]]></category>
            <category><![CDATA[databricks]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[unified-data-platform]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Ahmet Emin Saricaoglu]]></dc:creator>
            <pubDate>Mon, 20 Oct 2025 12:05:51 GMT</pubDate>
            <atom:updated>2025-10-20T12:59:37.571Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. Why Do We Need Databricks</h3><p>As people working in the world of data analytics, we face countless challenges every single day.<br> — I want to analyze data, but the queries take forever.<br> — I want to store more data, but my capacity is limited or the cost is too high.<br> — I want to build a simple visualization, but that requires another tool.<br> — When I finally train a predictive model, deploying it to production takes weeks and setting up a proper test environment takes even longer.<br> — Sometimes I just want to write code, but I forget the syntax or I’m not that confident in programming.</p><p><strong>Sounds familiar, right?</strong></p><p>Moreover, each role in a data team works in a different world:</p><ul><li>Data Analysts use SQL, Python, BI tools like Power BI, Looker, or Tableau, and Excel.</li><li>Data Engineers use SQL, dbt, Spark, Python.</li><li>Data Scientists rely on Python, Jupyter, ML libraries, SQL.</li><li>BI and ML Engineers work in their own environments too.</li></ul><p>A single ETL pipeline can require multiple tools and integrations.<br>For example, you might ingest data from an external source using an ingestion tool, write it to SQL, process it with Spark, load it into a data warehouse, and then visualize it in Tableau.<br>This fragmented process is both <strong>time-consuming</strong> and <strong>costly</strong>.</p><p>Similarly, deploying a machine learning model often means switching between systems, writing glue code, and coordinating with multiple teams. All this complexity slows everything down and sometimes even causes projects to fail.</p><p>That’s exactly where <strong>Databricks</strong> comes in.<br>A <strong>Unified Analytics Platform</strong> built to solve these problems once and for all.</p><p><strong>All in One, for Everyone !</strong><br> A place where Data Scientists, Data Engineers, Data Analysts, and ML Engineers can finally work together seamlessly.</p><h3>2. What is Databricks?</h3><p>In short, <strong>Databricks</strong> is a <strong>unified, cloud-based platform</strong> that combines <strong>data engineering, analytics, and machine learning</strong> that helping organizations transform raw data into actionable insights.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*86G3AAyHDHESBi0wf30Bhg.png" /></figure><p>Within a single notebook, you can write code in <strong>Python, SQL, R, Scala, or Spark</strong> that all in the same environment.<br>With Databricks’ built-in <strong>AI and LLM-assisted features</strong>, coding becomes easier and sometimes, you may not even need to write the code yourself.</p><p>Beyond its convenience, Databricks offers several architectural advantages that make it stand out.</p><h4>2.1. Data Lakehouse</h4><p>Databricks introduces the <strong>Lakehouse Architecture</strong>, merging the best features of <strong>data lakes (</strong>flexibility<strong>)</strong> and <strong>data warehouses (</strong>performance &amp; governance<strong>)</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*0ENM53prfDbY7fGJhJsZMw.png" /></figure><p>In simple terms, this means you can store <strong>larger volumes of structured and unstructured data</strong> in a <strong>more cost-efficient and performant</strong> way.</p><p><em>Think of it as having the scalability of a data lake, with the reliability of a data warehouse.</em></p><h4>2.2. Delta Tables</h4><p>A <strong>Delta Table</strong> is a table format in Databricks built on top of <strong>Parquet</strong>, enhanced with ACID transactions<strong>, </strong>versioning (time travel)<strong>, and </strong>schema enforcement<strong>.</strong></p><p>Data in Databricks is stored as <strong>Delta Tables</strong> within the Unity Catalog<strong>, </strong>offering:</p><ul><li>Better compression and storage efficiency — a dataset stored in Delta format often takes <strong>1/4 or 1/5 of the space</strong> compared to a traditional RDBMS.</li><li>Full support for <strong>transaction logs</strong>, <strong>schema evolution</strong>, and <strong>time travel</strong>, which Parquet alone cannot provide.</li></ul><p>In short:</p><p><strong>Delta = Parquet + Transaction Log + ACID + Schema Management</strong></p><p>Thanks to <strong>time travel</strong>, you can easily access and restore previous table versions. If an ETL job runs incorrectly or loads faulty data, you can <strong>roll back</strong> to a clean state instantly and saving both time and cost.</p><h4>2.3. Medallion Architecture</h4><p>Databricks promotes the <strong>Medallion Architecture</strong> (also known as the Bronze–Silver–Gold model) to organize and manage data more efficiently.</p><ul><li><strong>Bronze Layer:</strong> Raw, ingested data from various sources. kept in its original form.</li><li><strong>Silver Layer:</strong> Cleaned, transformed, and standardized data.</li><li><strong>Gold Layer:</strong> Aggregated, business-level data used for analytics and reporting.</li></ul><p>This layered approach brings <strong>structure, quality, and reusability</strong> to the data pipeline making analytics, machine learning, and BI workflows much more reliable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*0vkT_z29-ZZp5SKF8nWuOw.png" /></figure><p><em>You can think of it as a journey from “raw chaos” to “business-ready clarity.”</em></p><h3>3. Ease of Use in Databricks</h3><h4>3.1. One Notebook, Multiple Programming Languages</h4><p>One of the most powerful features of Databricks is that you can work with <strong>multiple programming languages in the same notebook</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/277/1*NDURnwW17SyfdXT7HQoCQA.png" /></figure><p>You can simply choose the language you want to use from the dropdown menu at the top of each cell and mix them however you like.</p><p>For example:</p><ul><li>In one cell, you can write <strong>PySpark</strong> for distributed processing,</li><li>In another, <strong>Python</strong> (pandas, NumPy etc.) for custom logic or visualization,</li><li>In another, <strong>SQL</strong> for queries,</li><li>And even <strong>R</strong> or <strong>Scala</strong> for specialized analysis.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*oTcf9vNKN-OeTxfh2OoH8g.png" /><figcaption><strong>Pyspark</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*Z3a9mdTupZqVyP11672t7A.png" /><figcaption><strong>Pandas</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*XmMMeP1qJ53l69Y70ry6sQ.png" /><figcaption><strong>SQL</strong></figcaption></figure><p>This flexibility allows every data professional (analyst, engineer, or scientist) to work in their preferred language <strong>without leaving the notebook</strong>.</p><p>You can also visualize data easily using Matplotlib, Seaborn, or any other Python library that all directly inside the same environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*TJ83oqlSdMUxw7AIbd2M_g.png" /></figure><h4>3.2. AI Assistant for Coding</h4><p>Databricks offers a built-in <strong>AI Assistant</strong> that helps you write, debug, and understand code faster.</p><p>If there’s an error in your notebook, the AI Assistant automatically highlights the problematic line and suggests possible fixes.</p><p>An Error:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/1*WuMwFBmsCGW-MJmD7wuRqw.png" /><figcaption>Syntax error at or near ‘where’</figcaption></figure><p>When you click on <strong>“Diagnose Error”</strong>, a side panel opens that explaining the issue in plain language and showing how to solve it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/261/1*mz9Eq83THnmbZRMLpCyuJQ.png" /></figure><h4>3.3. Generate Code with AI</h4><p>You don’t even have to write code from scratch. By simply <strong>describing what you want in natural language</strong>, the AI Assistant can generate the relevant code for you whether it’s a PySpark query, SQL statement, or anything you want.</p><p>For example, you can type:</p><p>“Can you calculate the max limit balance, min limit balance and count for each education and marriage category using Pyspark”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*wnsthYlyvikfq-tifvh5Bw.png" /><figcaption>AI Assitant</figcaption></figure><p>Then the Assistant will write the full PySpark or SQL code for you instantly.<br>Then, you can review, edit, or optimize it as you wish:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*YnXuqcRRd46gRsAqjtEwCw.png" /></figure><h4>3.4. Optimize Button</h4><p>Writing code is one thing but <strong>writing efficient code</strong> is another.<br>Poorly optimized code can lead to slow performance, unnecessary data scans, and increased costs.</p><p>Databricks provides an <strong>Optimize</strong> button at the bottom right of each cell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*UpPDbjIqAFkcES0TDElMjg.png" /></figure><p>By clicking it, you can see <strong>AI-powered suggestions</strong> for improving query performance, reducing shuffle operations, and minimizing compute costs.</p><p>It’s like having a built-in performance advisor that always ready to help your code run faster.</p><p>After Optimize Button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/301/1*uaXHrpu9hRpxQXW33zFYXA.png" /></figure><h4>3.5. Genie (SQL Without Code)</h4><p>Under the <strong>SQL</strong> workspace, Databricks introduces <strong>Genie</strong>, a conversational interface that allows you to run SQL queries <strong>without writing a single line of code</strong>.</p><p>You can simply ask questions like:</p><p>“Please calculate me the average limit bal for each sex, marriage and education category. group by sex, education and marriage. And then calculate the count of the record who is higher than relative average”</p><p>Genie will generate and execute the SQL automatically:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*3sijj6_2fvDClbH442Tw7w.png" /></figure><p>If you want to review the generated code, just click <strong>“Show Code”</strong> and you can modify or extend it directly.</p><h4>3.6. Time Travel Versioning</h4><p>In Databricks, every <strong>Delta Table</strong> automatically keeps track of its history through <strong>versioning</strong>. This means you can query a table <strong>as it existed at any point in time</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*Kwt_MQvKuR5vvCmEV8z-kg.png" /></figure><p>For example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*VfK0EBCKTZXXBGsh1gJqlQ.png" /></figure><p>This retrieves the table as it was in version 3 — a life-saving feature when an ETL job goes wrong or you need to audit historical data.</p><h4>3.7. Jobs to Automate Your Pipelines</h4><p>Under the <strong>Data Engineering → Jobs</strong> section, you can create and manage <strong>scheduled ETL processes</strong>, <strong>data pipelines</strong>, or <strong>machine learning workflows</strong>.</p><p>You can set up triggers (e.g., run a job when a new file arrives), monitor job runs, and view logs. All within Databricks’ unified interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*ZHoeGNiv2bDoJhNKKx1aBg.png" /></figure><h4>3.8. AI / ML Capabilities</h4><p>Databricks also makes it easy to <strong>develop, test, and deploy machine learning models</strong> even without writing heavy code.</p><p>You can:</p><ul><li>Train models using prebuilt ML frameworks,</li><li>Save them as <strong>endpoints</strong>,</li><li>Run <strong>experiments</strong> to compare performance,</li><li>And manage <strong>feature sets</strong> directly within the workspace.</li></ul><p>All saved models appear under the Models section, where they can be versioned, tested, and deployed seamlessly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*0AbGhxTYCKdtfhWo7KXt-w.png" /></figure><h3>4. Summary</h3><p><strong>The possibilities, advantages, and features of Databricks are almost endless. </strong>These were just a few that came to my mind.</p><p><strong>You just focus on what you want to achieve.</strong><br>Visualize your process, define your goal and Databricks will take care of the rest :). It provides all the necessary tools, solves potential technical problems, and does it all in the most <strong>optimal and efficient</strong> way possible.</p><p>That’s why I believe <strong>Databricks is not just a tool, it’s an entire ecosystem built for everyone who works with data.</strong></p><p><em>Thanks for reading ..</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0d7b4b687a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>