<?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 Shailesh Kosambia on Medium]]></title>
        <description><![CDATA[Stories by Shailesh Kosambia on Medium]]></description>
        <link>https://medium.com/@kosambia?source=rss-cf168f925ff0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*APmb0ckUEVevN1Hb</url>
            <title>Stories by Shailesh Kosambia on Medium</title>
            <link>https://medium.com/@kosambia?source=rss-cf168f925ff0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 13:36:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kosambia/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[Designing Modern Data Platform on Cloud]]></title>
            <link>https://medium.com/@kosambia/designing-modern-data-platform-on-cloud-bc0dd8247e03?source=rss-cf168f925ff0------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc0dd8247e03</guid>
            <category><![CDATA[modern-data-architecture]]></category>
            <category><![CDATA[data-warehouse]]></category>
            <category><![CDATA[modern-data-stack]]></category>
            <category><![CDATA[data-lake]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Shailesh Kosambia]]></dc:creator>
            <pubDate>Wed, 10 Nov 2021 06:27:25 GMT</pubDate>
            <atom:updated>2021-11-10T06:32:19.104Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xX9zUzlDjPJ_J1ov6Z16KA.jpeg" /></figure><p><strong>The Change and value proposition</strong></p><p>Most organizations that have used Data platforms traditionally for decision making are in process of transitioning to elevate their Data platforms for gaining insights to power consumers experiences and create product/service differentiation by embedding intelligence. Also, the types of different users have expanded from just business, analyst &amp; power users to Data scientist, Data citizens developers and also direct customers. There are major changes in the way how traditionally analytics was just derived from source data that were structured tables to now more unstructured data and also scrapping data from web pages, logs, sensor events etc. From products perspective, architecture data platforms have massively evolved by separating the storage and compute to make it modular and now the ability to use the right type of compute like say Spark and right type of storage like say blob depending on workload and use cases. AI and ML have introduced a complete new pillar in decision making which never existed before and with it brings new set of tools and techniques making it integral part of many applications development that make it smarter. Data governance now plays a very integral part of the process to ensure that consumers trust is maintained, data is secured from breaches and democratized for easy access at the same time it follows all regulations like GDPR so that there is no reputation loss for the organization. There is now huge opportunity to monetize data with investment in modern platform to make money, save money and gain customer’s trust. The ROI far outweighs the cost and value realized to firms is a game changer.</p><p><strong>How to transition to Modern Data platform architecture</strong></p><p>The journey to Modern data platforms will need a drastic change in areas of People, Process and Technology. There are variety of tools and services available now compared to what was there traditionally in data space and whole mindset change is required on selecting the right service and tools for right purpose. I will illustrate this with an example of architecture of modern data platform on cloud assuming you have to build from scratch and will provide various example of underlying tooling options based on Azure, AWS and GCP Cloud providers services.</p><p><strong>Centralized vs Decentralized data architecture</strong></p><p>There are two approaches to design modern data platform i.e. Centralized and Decentralized also called data mesh. One of the biggest differences between the Data Mesh and other data platform architectures is a data mesh is a highly decentralized distributed data architecture as opposed to a centralized monolithic data architecture based on a data warehouse or a data lake.</p><p>A centralized data architecture means the data from each domain/subject e.g. finance, HR, operations etc is copied to one location in a data lake under one storage account, and that the data from the multiple domains/subjects are combined to create centralized data models and unified views. It also means centralized ownership of the data which in one horizontal Data IT team.</p><p>A decentralized distributed data architecture means the data from each domain is not copied but rather kept within the domain and each domain/subject has its own data lake under one storage account and each domain has its own data models. It also means distributed ownership of the data, with each domain having its own owner.</p><p><strong>Which do I select? Is decentralized better than centralized?</strong></p><p>The first thing to mention is that a decentralized solution is not for smaller companies, only for really big companies that have very complex data models, high data volumes, and many data domains. I would say that means at least for 70% of companies, a decentralized solution would be overkill. Let me cover Centralized approach in this article and will cover Decentralized data mesh in another article.</p><p><strong>Conceptual Centralized Modern Data Platform</strong></p><p>The diagram below illustrates the different layer of centralized modern data platform. Detail of each layer are mentioned below,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/819/1*4tQjSKpWy39Qh5lK9itomQ.png" /></figure><ol><li><strong>On-Premise Data:</strong> consist of data in various application database called system of records (SOR) which say today exist on-premise data centre infrastructure. Data will be ingested into cloud staging zone from on premise SOR for respective application / Data Sources System of Records.</li></ol><p>2. <strong>Data hydration: </strong>This layer will move on-premise data to cloud staging zone. From On-premise to cloud staging data hydration we will have 4 ingestion patterns i.e. Batch, Stream, Replication and IOT event consumption depending on use case we have.</p><p>3. <strong>Staging Zone</strong> : First landing area of data on cloud will be in staging zone. Data will be made available here for faster retrieval. This can also be called as raw / bronze zone with unrefined data in native format like CSV, JSON, Text binary, XML etc</p><p>4. <strong>Integrated Data Warehouse</strong> : Data from staging zone will be ingested into data warehouse for curation. Ingestion process can use one of the data hydration patterns mentioned above. Curated version of data will be made available to the consumer application in this layer. All analytical workloads will use curated copy for business ad-hoc analytics. This layer can also be called Silver zone. Silver will have refined data where data quality standards are applied.</p><p>5. <strong>Virtual Data Marts</strong> : Application/downstream analytics will use curated copy to create de-normalized materialize view as per need. This can also be called as Gold zone. It will have aggregated data sets for downstream systems.</p><p>6. <strong>Analytical Sandbox </strong>: Will have production quality data for Data scientist teams for exploration and creating, training and testing ML models. This area can also be called ephemeral area for exploration and advanced analytical endeavours.</p><p>7. <strong>Channels</strong> : Analytics, Insights will be consumed by various channels for Internal and External facing applications, Dashboards and reporting tools used by end users</p><p>8. <strong>Data Governance</strong> : All data since its inception to cloud will be channelized through data governance process to ensure data standardization, data classification, data ownership, adding business and technical metadata and data quality</p><p>9. <strong>Data Security</strong> : Data will be protected using data entitlement both at user level and row level, data encryption, tokenization and masking.</p><p><strong>What to use for What?</strong></p><p>Below table provides the sample ideal product choice I would recommend for your above modern data platform architecture for top 3 cloud providers in market you might have selected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*pN8t3j-Wh4rCDR__y-j7VQ.png" /></figure><p><strong>Modern Data Processing implementation approach</strong></p><p>Primary there are two different data processing implementation approach for Modern data platform. One is Lamda architecture commonly used and other is Kappa architecture</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*jMRqTTTO1T8Z2TI6R8l-EA.png" /></figure><p>a. Lamda Architecture: This has are 2 separate processing layers. One for Streaming real time need called hot layer and other is batch requirement layer called cold layer. This is used when there are more complex integrate speed layer and batch layer hybrid requirement.</p><p>In the hot path we use Event hubs, Pub Sub, streams. eg Stream flow through services like Azure stream analytics can directly send data post processing to real-time application or reports/dashboard. We can use serverless function like Azure function or AWS lamda for any stream data processing and grouping logic before sending to the consuming application, BOT or dashboard</p><p>In cold path we use ETL like Azure Data factory, Batch ETL orchestration and store that data in Data lake immutable datasets, Data warehouse like Azure Synapse analytics Semantic MPP layer.</p><p>The arrow from hot path to cold path shows that the real time data copy can be stored in Data Lake or data warehouse for specific analytic or ML use cases that would need more fresh real time data.</p><p>This data that is stored through cold path and combined with view from hot path in serving layer can supports advanced analytics like databricks can use for processing ML model processing in jupyter notebooks. We can test, train, deploy, ML models in the cold path as illustrated in above diagram.</p><p>Lambda architecture uses the functions of batch layer and stream layer and keeps adding new data to the main storage while ensuring that the existing data will remain intact. Companies like Twitter, Netflix, and Yahoo are using this architecture to meet the quality of service standards for their data processing needs.</p><p>b. Kappa Architecture: Is used for streaming like Kafka. Kappa Architecture cannot be taken as a substitute of Lambda architecture on the contrary it should be seen as an alternative to be used in those circumstances where active performance of batch layer is not necessary for meeting the standard quality of service. This architecture finds its applications in real-time processing of distinct events.</p><p><strong>Data Platform Practices</strong></p><p>Below are some guidelines from my experience to keep in mind while you develop data platforms and sub systems.</p><p>a. Being able to select appropriate stack. Example Databricks is better for advanced analytics initiatives, whereas if you want self-serve use Synapse/Redshift which support semantic layer better is very critical. Do your assessment well before choice, keeping must have features, performance, concurrency, cost etc in mind</p><p>b. Design for scenarios like how to restart pipeline when something fails, incorporating all data validation and what to do when it fails, standard simple way of new data source onboarding keeping in mind the type of orchestration patterns based on business needs and data availability. Thus, you will need to make sure you have a made workflow and orchestration pattern with all this thought and have strong overall governance around.</p><p>c. Understand what your data patterns are e.g. Offline (Lake) vs online (MPP) vs or nearline (Streaming)</p><p>d. Start classifying and securing data as soon as Raw stores are being generated</p><p>e. Data storage is cheap so make best used of it. As data transforms through data pipeline transformation layer, version your data and track the lineage with various cloud provided services.</p><p>f. As you work through data pipeline test to thoroughly at each step and lookout for any side effects as you test the data. Focus well on unit test cases and not just end to end integration to find data quality issues and breaking of logic.</p><p>g. When replay information through new pipeline understand how that would work. -reproducibility — backfilling and recreating results.</p><p>h. Don’t miss out on tracking costs. Create action rules and integrate them, with services like Azure logic apps to help control resources.</p><p>i. Standardize by implementing Governance and DataOps early on. Better collaborate with Git, Jive DevOps</p><p>j. Identify metrics about analytics processes and track them to improve troubleshooting and improve transparency. Like last 3 months analysis of runtime pipeline or categorization of various data incidents statistics.</p><p>k. Do due diligence in advance to implement remedies to advance evolution of the platform</p><p>l. Write datasets with an atomic and immutable approach</p><p>m. Partition data into hierarchical predictable structure similar to domain / subject area</p><p>n. Leave folder for corrupt or Bad outputs through a similar subfolder</p><p><strong>DataOps Best Practices</strong></p><p>DataOps is extension of DevOps to be agile and nimble to delivery things quickly. Its applies practices for data engineering, analytical development and deployment. It involves optimizing operating model, tools and processes.</p><p>There are different cycles of DataOps like you go through local code verification, there is continuous development, applying local test and integrated into automated process. Then your CI platform can apply and run those which are than piped into continuous delivery. As soon as those test are verified the automated tests check out can push them through an automated way to through a release to an end platform. When you are done with deployment and still want to rerun certain tests especially input / output logic test to make sure you are seeing on production is what you were actually expecting in development you should design for that in DataOps. You should enable that with mechanism where certain unit test will be excluded from this type of test stuff because you don’t want to burden the server. Finally deployment verification monitoring should be in place where you keep track of operational metrics about the server state so you know what resource usage are, compliance restriction etc try to think about automating a lot of it or including it in dashboard for transparency.</p><p>DataOps fits in data ops manifesto and you can get details here <a href="https://dataopsmanifesto.org/en/">The DataOps Manifesto — Read The 18 DataOps Principles</a>. Apply different practices to reach green goal that you don’t want users, developers worrying about what going to break in the prod system. You don’t want your key development team members spending hours at night to fix something in prod rather than be able to create value in strategic platform investment.</p><p>Lot of organizations fail in applying data logic test right. You can think about testing pyramid test driven development. Lowest layer apply to unit test code analysis. This should include naïve test which are simple counts. With this you know conformity wise how things are looking like if end date less than a begin date. With this very simple test you can implement right from get go. In integration test you focus on how do you check whether a portion of the pipeline that’s maybe ingesting information from data warehouse say Azure synapse is processed through databricks and them landed into say blob storage or relational database. Use data pipeline test with Azure data factory to automate this test along with some frameworks Python or AWS Glue to carry out this test. End to end manual test ensure information from raw zone is in line with expected final curated and aggregated to front end semantic model like azure analysis services or even Power BI. Below are 3 types of testing which should be done and automated with above approach.</p><p>· Business Logic test i.e non naïve, domain based thresholds.</p><p>· Input test : counts, conformity’s, temporal consistency, application consistency, field validation</p><p>· Output test : completeness range verification</p><p><strong>Branch and Merge</strong></p><p>For your Data, ETL, ML models, BI reports and dashboards leverage Git and agree on a branching methodology like Trunkn Gitflow etc. Express stateless parts of objects through code where possible eg yml files for CI-CD pipelines, sql for db objects , json for ARM templates to deploy infrastructure as code, Python .py scripts for databricks. This way its easy for code comparison and review through the pipelining process.</p><p><strong>Automate delivery</strong></p><p>Below is sample build DataOps pipeline which you would build on cloud</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*UzkmFafPy7-vCEbloTQhcQ.png" /></figure><p>You should run local code, unit and lint tests through build pipelines to catch issues up front. Use successful pipelines to trigger releases. CD pipelines for deploying code and artifacts s to environments and running more tests. Integrate work to DevOps or other ticketing systems to understand the impact of your code base changes</p><p>Modularize and reuse by parametrizing processing. Example is have reusability of copy activity in azure data factory dynamically for multiple tables. Track run time parameters operation tables where you can understand what you ran and when you ran it. Recognize diminishing returns when implementing modularization and parametrization.</p><p><strong>Data Governance Practices</strong></p><p>Data governance has various pillars like Data Discovery &amp; Classification, Data Quality and Data access. Let’s cover data discovery first by classifying in 3 different buckets as below.</p><p>Data classification: Here we would classifying data into categories like PII, Non PII and types of PII based on data sensitivity. It will evaluate data assets for categorizing based on privacy and access level. If we look at azure we can leverage Data Catalog for this.</p><p>Metadata Management : This would enable data discovery — what data do you have, where is it and how do you describe it. We look at Business and System technical metadata also in this. Again If we look at azure we can leverage Data Catalog for this other option is Collobira or AWS Macie. For system metadata we should have automated way of capturing and integrating with CI/CD pipeline into central Data Catalog tool</p><p>Content and Documentation: Improving centralization and storage of documents in the form of digital asset management is very important. We can use Azure DevOps Wikis and Sharepoint with Team integration</p><p>The other area is Data Management and quality which can be subdivided as below</p><p>Data Quality: This deals with Profiling, assessing and testing of data I/O and transformation. We have several tools in azure for this. Data Catalog, Data Factory, SQL Server, Data Quality Services (VM), Databricks + Python libraries. Data Quality checks should be done at various point starting from origin of data. Lot of Metadata management tools have also integrated Data profiling feature now.</p><p>Data Lineage: Tracks data movement, transformation and usage. In Azure we can use Data Factory, Databricks and Power BI, Collibra is also good at data lineage.</p><p>For Security and Access, we should follow the principle of least access. We can divide this area in below areas:</p><p>Data Security and Access: Define governance standards and rule around security and access. In azure we have several services in this area. Azure Active directory, IAM, RBAC, ACLs, Native PaaS Security + Encryption, Azure Key Vault, Azure sentinel. Every cloud provider has similar set of services in this area.</p><p>Data Policies and Compliance: This area includes governance standards around compliance that include encryption, auditing, monitoring, retention etc. We have Azure services like Azure Monitor, Log analytics, Native PaaS Logging and Auditing, Azure Blueprints and Azure Policies. Immuta is another addition we can have that does very good row level security.</p><p>API Access: Its important to allow access of data not only to analytics and reporting tools but also to any application in Restful way like access to downstream applications through web interfaces for easy integration. In Azure we have Azure App services, OData Common Data Service (Power Apps)</p><p><strong>Conclusion</strong></p><p>This article covered the modern data principle’s along with recommendation on best practices to help you in your journey to accelerate and have successful data driven organization.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc0dd8247e03" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Should I adopt Microservices ?]]></title>
            <link>https://medium.com/@kosambia/should-i-adopt-microservices-1e65c2d0a798?source=rss-cf168f925ff0------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e65c2d0a798</guid>
            <dc:creator><![CDATA[Shailesh Kosambia]]></dc:creator>
            <pubDate>Thu, 04 Nov 2021 13:22:43 GMT</pubDate>
            <atom:updated>2021-11-04T13:22:43.586Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Should I adopt Microservices ?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/0*fWT4IKH8kvIxlSyb" /></figure><p>Whenever a new pattern in technology arises it brings expectation and excitement. This will solve all our problems and give us an edge! Nevertheless, every new thing or trend has its room and boundary to apply.</p><p><strong>What are Microservices ?</strong></p><p>When in web application, you have a single process serving all requests i.e. single package/software you have to run which bundles all the logic together it’s a monolithic design. Note however can replicate it for balancing reasons. In Microservices design, you have several, distinct processes, each one serving just a subset of requests. Each process runs a distinct package, with just the code it needs.</p><p><strong>Microservices is not New</strong></p><p>The Microservice pattern, like almost every up-and-coming design has been there for now many years. In microservices Object-Oriented Programming (OOP)applied on a higher level: application architecture. While programming using Object-Oriented Programming, you fragment into several pieces of Classes. Each Class represents a component of the solution and has a specific role. It also works just on its own subset of data. Does this ring the bell if this has been there for a while now and you must have learned this in your college when Microservices term was not invented ?</p><p><strong>Two Philosophies</strong></p><p>When you design Classes, you must follow two main principles: loose coupling and high cohesion.</p><p><strong>High cohesion</strong></p><p>Classes that contain strongly related functionalities are described as having high cohesion; the heuristic goal is to make cohesion as high as possible. In high cohesion situation each component is strongly consistent. All its data and methods refer to a very specific area, or meaning, or role.</p><p><strong>Loose coupling</strong></p><p>Enables isolation. Components to be deployed independently of one another, giving you much more freedom over when and what you deploy. It is the situation where each component has the least possible amount of interactions with other components. It can work on its own, hiding low-level details, and exposes the essential interfaces.</p><p><strong>Microservices is the same.</strong></p><p>A good OOP design leads to an optimal Microservice design. That is the reality. If right OOP design principles are applied we should be able to answer why and when to use Microservices. But let me break down and explain in more detail.</p><p><strong>When to break or split ?</strong></p><p>As you do in Object-Oriented Programming. When you can respect high cohesion and loose coupling. Same as that, If you know how to split code into Classes in the right way in a similar way you should split your Microservices.</p><p>Think of a bad Class diagram how painful it is to maintain and manage, because of the sparsity of code in different files, think of randomly split Microservices application, where you have different processes altogether and you will land up in same problem.</p><p><strong>Why you need to split your application into sub-processes?</strong></p><p>It’s so easy to make two Objects interact. You just have to call an Object’s method and you are good to go. All within a single program. Microservices, instead, live in different processes. Possibly, on different machines. You have to communicate over a network, using APIs. As it adds complexity! You must have excellent reasons to do so. Of course not for trend, not for fun. Because, if you use Microservices randomly, their management is not fun at all. Actually, you must have the same reasons you’d have when you decide to use APIs. It’s the same. APIs hides all the implementation details behind them. This gives many benefits.</p><p><strong>1. Scalability for non-uniform traffic</strong></p><p>Scenario: you have a e-retail application like Amazon. You have a inventory Microservice, that just shows you the amounts of articles in stock, and a Picture detection Microservice, which uses GPUs to detect your articles given a picture of them. If you receive thousands of calls for your Inventory APIs and just a bunch of requests for your Picture detection APIs, you could just replicate your Inventory Microservice.There is no need to double your GPU resources! Imagine if you would have kept everything in a single machine or application, and you still wanted to scale to match all the incoming requests, you would have to replicate it entirely. So you save so much with Microservices pattern in this.</p><p><strong>2. Error resilience</strong></p><p>Suppose you have a Retail Banking application. Your Fund Transfer Microservice keeps crashing, maybe for a connectivity temporary error or, due to a newly introduced change not behaving properly. Why should the entire Retail Bank application be down? If you have separate Payment separate microservices maybe lot of customers wouldn’t even notice except those using transfers.</p><p><strong>3. Separate deployments</strong></p><p>Like above example, if you have a new feature to add or a defect to fix, you can just deploy the right Microservice. Your build and deployment times should be smaller and isolated.</p><p><strong>4. Complete isolation</strong></p><p>If you need complete isolation between Microservices by having different DBs it will give you complete freedom.</p><p><strong>5. Different requirements</strong></p><p>If you have a heavy computation to perform like Machine Learning where you need GPUs, their libraries which is much better in Python, while the other one could benefit from Java. Or maybe libraries for the same language would create some conflicts, but you desperately need two specific versions for two distinct tasks. Or say you want to use two different Cloud products to host your two distinct pieces.In those cases, split the application!</p><p><strong>But remember to respect the Two Principles!</strong></p><p>Or you would have hard times sharing data between your Microservices…If above is not applicable for your use case Go for a Monolith.</p><p>If your system will have disadvantage from loosely coupling or cohesion then it will be more appropriate use case to be tightly coupled, go for a Monolith. You’ll have cleaner dependency management, and you won’t need complex orchestrations or distributed systems to trace errors, share data, collect logs, sync calls, secure network interactions etc</p><p><strong>In below use case you are more suitable for Monolith and not microservices:</strong></p><p>• Is Object-Oriented Programming not suitable for your application<br> • If RESTful design not suitable<br> • If your application serves a long sequence of API calls, maybe because an API requires the result of the previous ones, this is not ideal. It would introduce also network delays.<br> • If your application is a single procedure that requires user interaction. As in procedure you have to share a state between calls, each component is not independent and a single error in the sequence will block it entirely. There is hardly a benefit in splitting the application.</p><p><strong>Monolith doesn’t mean Clutter</strong></p><p>Monolith is not group of unordered code. Nor is it the only way to have splits, order and all. Your code design does not depend on process divisions. Object-Oriented Programming doesn’t either. If you split your code right, if you manage your dependencies in a clear hierarchy, as well as your files, you can achieve the same level of cohesion and decoupling.</p><p>And another secret: if you divide your APIs into separate packages/modules/controllers/blueprints/whatever in your code, then you can decide to serve them in a single process or split them in Microservices at build-time, or at run-time too, for free.</p><p><strong>Conclusions</strong></p><p>Microservices though provides benefits it’s not one solution to all your problems. You need to apply it in appropriate use cases after considering carefully the above areas discussed in this jive. If used in the right context, for the right reasons, they solve issues and improve performances or costs..</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e65c2d0a798" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Science, Machine Learning & AI : Strategy]]></title>
            <link>https://medium.com/@kosambia/data-science-machine-learning-ai-strategy-51723a41e4eb?source=rss-cf168f925ff0------2</link>
            <guid isPermaLink="false">https://medium.com/p/51723a41e4eb</guid>
            <category><![CDATA[modern-data-architecture]]></category>
            <category><![CDATA[strategy]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[data-scientist]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Shailesh Kosambia]]></dc:creator>
            <pubDate>Thu, 04 Nov 2021 02:21:53 GMT</pubDate>
            <atom:updated>2021-11-04T02:21:53.902Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Data Science, Machine Learning &amp; AI : Strategy</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*iA7j1aNMK5xrmUrXxIgUlg.jpeg" /></figure><p>As we embark into an area where AI is going to be integral part of all business, its important for Data Executives to have clarity on their approach to AI in their organizations. It’s important to distinguish between what is Real and what is Fake in AI world. With help of modern Data Architectures and AI tools and frameworks its easy to track historical client patterns that will increase the awareness on issues with risk to the business with powerful historical data and able to forecast for future. Client behaviours and patterns through Machine learning techniques like some financial firms are implementing recommendation-based features for their customers as well as internal financial advisors for fact based trusted business advice are reaping value. This machine learning techniques have helped to understand what client is trying to achieve which customer himself is not able to understand. This has helped some large financial companies to project that to customers and has helped to delight and deliver value to customers.</p><p>Its very important for Data executives to remember that AI prediction is completely based on input data you feed and can only be accurate as accurate the data that you feed as input to the models would be. Other important thing is that you cannot expect AI to detect Black Swan and classic example is that AI could never predict Covid pandemic that shutdown entire world. There was no way we could have put that in a model and get that dataset.</p><p>Below are key areas and strategy to focus in order to create a successful AI driven organization.</p><p><strong>Data Quality</strong></p><p>This is the single most important factor in success of AI. Not having accurate data is the single biggest reasons organizations fail. Most consulting vendors rush to sell Deep Learning, Machine learning products with great vision. They ignore that most organization don’t have accurate information of Product, Pricing and Client which are most critical area to handle before considering tooling aspect. Most of this critical data are not consistent in most firms and are not sitting in location that are easily accessible. Most vendors sell Data Virtualization tool and they say that you plug in this and everything will get better, The reality is that there is no easy fix to data quality issues. There are good technologies and Data quality tools in market but it is not a tech problem its organizational problem. For example, who will decide definition of client in say Financial services firm, does it include all members of the household, does it include someone living at primary address location. Other example what’s an asset in financial services firm. Is it Equity, Fixed income or structured product. How do you handle that and categorize that for risk purposes for marketing purposes. This is all solvable by conversation on table with various stakeholders from risk, legal, marketing etc department. But this takes lot of time. This is very tiring and intensive. At organization people do appreciate outcomes of AI products, Sophisticated algorithm, Predictive analytics, Data Visualization etc which is all necessary but what will drive this is hard nuts and bots around data quality. The data stewards who are accountable for assuring right data quality, Data quality engine that run every night, Data issue management process, Data ongoing hygiene is key to invest. If there is a Data Quality problem there should be infrastructure to it take in, evaluate, actioned by appropriate resource to address the same. To get to this mature state to address data quality is not easy and could take long time up to 5 years for large firms to reach.</p><p><strong>Data Centralization</strong></p><p>Having a Centralized data repository is almost essential. You have to start Data quality effort with sense of truth. With multiple source of truth you would be struggling to identify the right source to go against. The data quality first step would be identified what would be single source of truth for say your customer &amp; product record data. Once you have that source and definition defined you are in game. However, if you have this data attribute spread in 6 or 7 different places you would be in endless cycle. People in meeting will come with their excel and one will say revenue is up 6 % and other will say its 9 % up and person running business will be in spot on what the right number is. If you want to be wrong you have to be all wrong together and can’t have 2 variances of truth. Though its difficult and technical hard and even more tough organizationally to have single source of truth. But to be successful if you want to have all bells and whistles in place and have really powerful machine running model, holistic data visualization strategy you will need to have a place to go against. Not just about transaction data but say other data in organization like phone log data, web logs , client demographic, financial advisors data for financial services and everything. The synthesis of demographic, ,market behaviour really start to bring this things together and insights start to pop.</p><p><strong>Opportunities and Pitfalls in AI</strong></p><p>In order to align data strategy with business strategy you have to understand what business strategy is. There are two approach i.e Top-down approach and Bottoms-up approach. On annual basis its important to understand what business are trying to achieve. Some of business for example might be focused on deep machine learning, client propensity &amp; targeting. Some of them use data to just understand what’s going in their business and the truth is that some businesses don’t need those sophisticated analytics. Its important to understand what decisions business are trying to make? What things business are you trying to answer? The second piece of equation is asking Senior board members s what their focus is? What their goals &amp; objective are? The synthesis is what senior folks want and what business want and the truth is there will be tonne of overlap. This approach will help to understand which program to give priority. This provides clarity on what technologies and the amount of investment dollars and resources required and where to source.</p><p>Other important area is how do you measure results and outcomes of analytics. Perception is IT work gets done and completed when the machine learning model is delivered to business. The fact is that it is when IT project should start. IT work is not done till you can measure impact of model. For e.g. if we are making a model that this type of clients are going to engage with this type of product under these circumstances. IT needs to follow up in this model journey with business on this. IT should watch how effective their implemented model was or wasn’t and see if it really worked. If it didn’t work figure out why it did not work. If it worked did work for the reasons we thought and make the model better next time until client is satisfied. Measure value we created. We can measure results through units like client satisfaction by survey and many other ways of productivity as we are in data game we can get. Lot of question we can answer with Data and AI but we need to understand what those questions are and focus on deliver results as per the that.</p><p><strong>Real vs Hype</strong></p><p>AI has tremendous promise and has lot of hype. Challenge organization have is what is real and what is not real. It is indisputable that the biggest opportunity in AI is in compliance fraud detection. There are very good solutions pre build in market on fraud detection. Only challenge is that bad guy are not going to do same bad things again and will come up with something new every time. So, its important for this tools to evolve. Apart from Compliance and Risk there is lot of power of AI on client propensity to understand customer behaviour pattern for full service industries like Financial, Retail etc to drive client satisfaction.</p><p>Bot space which comes under intelligent agents is another promising area and has tremendous opportunities for firm. Intelligent assistance has lot of promise and also challenges. Ability to interact with machines to uncover information in organization is very powerful. There is no artificial intelligence without human intelligence. You just don’t dump this pdf and this machines spine up to give answers. It takes 1000 of hours to curate underlying content. Bot vendors come and demonstrate that they can build bot in ½ hour in meetings with say 50 questions and 50 answer. But what they would build in this 30 minutes would be crapy. It takes 6 to 9 months and year to build good basic bots and cost will outweigh benefit. Overtime this tools will be more efficient and effective. Overall today in Knowledge management space organizations are struggling to really get value. Some perception is that human intelligence will be dumped into this machines is not happening. Bots are very good on single line based decision making like Financial advisors choice for a client around an investment but they fail as you expand on Multi dimension questions, technology is not there., Strong recommendation is not to start and try to eliminate human element. Good approach in next 5–10 year is to take really smart people in predictive analysis and put pieced together.</p><p><strong>Data Democratization</strong></p><p>One of the things that organization have to embrace is concept of Data Democratization. Senior management have the most information and that information would slowly drip down</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/305/1*vw7sLFaPMBk1JPrrnXrO2w.png" /></figure><p>By the time the junior team members would get the information would be little microscopic pieces and not well connected and complete. You want information in the hands of people that are closest to making decisions. In world were decisions are being made real time for example in financial services industries the Financial advisors need this information to make all data to make best decisions when they are talking to the client. If the Complex manager of Bank or Brach manager in bank is not available the Financial advisor or Customer service executive of that Bank branch should have all that information during client interaction over say phone. Financial advisor needs to know who the client is, what prior interaction the client had and give best thinking we have for that client. Benefit and learning of all past interaction with the client will help the Financial advisor empowered to make very best decision, The information from top has to be pushed down deep in organization. Information is power. If person making decision don’t have access to right information they are not empowered. Information needs to be pushed down that will help super smart people to drive business. We need to give up that knowledge to make business successful. Challenge is that democratization comes with risk. You need to ensure that people are trained, entitled and have right controls as client information is super-super critical and sensitive. Democratization have to be done in very methodical way in highly regulated environment. As long as you are thoughtful and you have your legal compliance on table while making this decisions that ultimately in best interest of client and organization to give information to the people that can help them to do their job effectively.</p><p><strong>Key to success in Decision Science Space</strong></p><p>First and foremost will be internal customer focus. Understand what internal people making decision need. Data science tools, Hadoop. Different models, math and technique are critical. However, success depends on Collaborating effectively with the customers. Its important to listen and Play back what customers are asking for. Its important to understand their domain. For example in Banking not understanding how mortgage works or how buy and sell mortgage and how it behaves with different interest environment and how it works in subprime mortgage differently, mentality of people who buy and sell homes is as valuable as math &amp; technology. Apart from domain expertise its important to be able to tell the story. All the skills that build you the answer to the question needs to be communicated to customers in the way that they understand . Customer don’t care about underlying statistics. Talking the language that r2 = 0.07 and model has improved by 300 basis points than before has nothing to do with customer. If this works or does not work. They just need to know if they need to do more of something or less of something. You need to speak customers language to connect with business problem by putting math to back of the bus. If you want to be good go to the match however if you want to be great understand the domain focus on language of client and understand the business problem of the client and able to connect well with customer. This does not happen in 6 months, it happens in years and years of educating them and partnering with business to solve tangible problems.</p><p><strong>Advice for Data Executives</strong></p><p>Don’t make it about you. If you want to be successful in this business its all about partners you support to help them make better decisions. The more you can do to drive better decision making the more progress you would make to drive organization agenda. Train team in basic AI tooling as lot of junior team members out of college pick it fast. Mean , Medians , Modes and standard deviation can solve lot of business problems and you don’t need PhDs to dissect problem. Today tools out in market allow very junior team members or data jockeys with tonne of enthusiasm and little bit if training sitting with decision makers with basic data visualization tools can do better. Give power and data democratization to business this way. Doing this will help IT team to move up the value chain. Business would say they are solving basic problems themselves but now they need more IT help with complex advances predictive analytics. So over time giving basic stuff to business that created more capacity for IT, higher end becomes more valuable and IT team shifts to do that and whole organization becomes richer.</p><p><strong>What Hasn’t Changed Matters</strong></p><p>Organizations are moving very fast. Somethings that hasn’t changed is leadership. Machine learning and AI does not negate the need to get up in morning and define what needs to be done in organization. Other thing is we need to train people to do this jobs. Empower with right skills and competencies. Coaching teaching domain and adjusting new people hired in firm culture.</p><p>Diversity as an organization constantly challenging is very important in data and analytics for different perspective of schooling, techniques , product experience. Wide perspective in different techniques with many eyes and models thoroughly being challenged and analysis reviewed with different perspective is super critical.</p><p>Effective IT collaboration with business, legal, compliance and risk to do something meaningful. Be able to get 10 or 15 different people in room and convince them what you are doing matters.</p><p>Career development is critical and with challenge of technology changing, nature of job changing its difficult to understand roadmap for any role like data scientist. Its required to construct new ways of career development. It might be required to move people out of centralized team into business in future. It would not make sense to have 100 people in same umbrella. Models with focus to have IT closer to decision makers might evolve which might have other set of challenges. Career development was important 10 years ago and will stay important for years to come</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51723a41e4eb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>