<?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 Abhijeet Rathore on Medium]]></title>
        <description><![CDATA[Stories by Abhijeet Rathore on Medium]]></description>
        <link>https://medium.com/@abhijeet0910?source=rss-3a0830a19083------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*UZXX-xOiUlBlugjmcgWR9A.jpeg</url>
            <title>Stories by Abhijeet Rathore on Medium</title>
            <link>https://medium.com/@abhijeet0910?source=rss-3a0830a19083------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 22:42:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abhijeet0910/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[Production and Deployment of Machine Learning Models — III]]></title>
            <link>https://medium.com/data-science/production-and-deployment-of-machine-learning-models-iii-66e2bff419bb?source=rss-3a0830a19083------2</link>
            <guid isPermaLink="false">https://medium.com/p/66e2bff419bb</guid>
            <dc:creator><![CDATA[Abhijeet Rathore]]></dc:creator>
            <pubDate>Sat, 11 Jul 2020 17:43:41 GMT</pubDate>
            <atom:updated>2020-07-13T13:05:18.828Z</atom:updated>
            <content:encoded><![CDATA[<h3>Production and Deployment of Machine Learning Models — III</h3><h4><strong>Architecture Framework implemented to carry out an end to end prediction.</strong></h4><p>In order to establish an out-and-out machine learning system, where we get the data, train our model, and then deploy the model to serve customers we need a suitably designed architecture. We should straightway explore a few important design architectures.</p><p>We will touch upon all the structures and elaborate on the one on which, I worked. But first I wish to intuitively explain the operation.</p><p>Assuming that in general, people now have developed a fair understanding of the model building process. And I am assuming that we have trained and tested our model and it turned out to be Model (M). This is the model that we will persist.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*wYZQsesL6yjw-evF0bdUEg.png" /></figure><p><strong>What do you mean by model persistence?</strong></p><p>Model persistence means saving your model to a disk.</p><p>In simple terms model, persistence means saving your model to a disk.</p><p>Technical definition: Model persistence is the ability to save and load the machine learning model. It is desirable to have a way to persist the model for future use without having to retrain.</p><p>Pickle and Joblib are the terms you will hear quite often during model persistence.</p><p>You can call your model a persistent python object. You can store this file into a hard disk or a solid-state drive.</p><p>The model is saved on the disk at this point. The next step is to deploy the model.</p><p>What deployment means in simple terms is how your model interacts with the rest of the systems that are in place in a company or an organization’s architecture sounds vague! Hold on…</p><p>The Big Green circle is a system architecture that the company has put in place. The two dark grey circle represents objects in that architecture. These objects can be individual boxes running different services and one particular box is where our model is stored depicted in the red.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*8BXiHz1ferGV-XSMremOOQ.png" /></figure><p>Nothing does a better job of engaging people in the subject than an example.</p><p>Today, you are bored with those irritating cafeteria conversations (they are always about who is doing what and left versus right and god! People do have an opinion, frankly I am quite blasé about mostly everything). You come back home resting on your comfy chair by the bed, minutes later, you decide to watch a movie. You open a browser and type NETFLIX. As it opens with a movie that you wanted to watch, you will see a recommendation of 5–6 more movies similar to that, at the bottom. The page has many things apart from the recommendation of your movie.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/1*3kOuSYjWcRfZzknIERNVIA.png" /></figure><p>I cannot use the actual Netflix page to illustrate the example. But I will try my best to give you enough insights that it will all start making sense to you.</p><p>You opened your browser and typed Netflix&#39;s address. When Netflix opens with the movie of your choice, the page has other details too (it has a join and a subscribe, it has another menu on the sidebar and a few more options. Here is what happens when you clicked on the website, the website was connected to its server on which a lot of services were running that contributed to the page. The server will be connected to a database for one type of service, join and subscribe will be executed through different types of services, similarly, the <strong>similar movie</strong>s (as recommendations) that you will get at the bottom will be executed through<strong> ML service box </strong>which is connected to t<strong>he server.</strong> All these services are running simultaneously to give you the results.</p><p>In the picture above, you can consider a star or a triangle as different services and also similar movies at the bottom of the page, though <strong>ML service</strong> running on the system. There are many parts of a page, for each part, it will call a different service and fetch the data. The web server will pull the data from various services and collate it to give a page. And in that there will be one such service of ML, in our example, it is the service which recommends similar movies (recommendation system).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*Tzh3SE5CRAfCfeVS9Zipkw.png" /></figure><p>This service is running on a different box like other services, it will not be on the actual server. It will be in the system where the model “M” is running. The server calls the similar movie service from the box. It will send a request to this service(to the box where it is located consider blue box in the diagram) and the service would respond back with similar movies to occupy a particular space on the page. This is more like service-oriented architecture.</p><p><strong>Design Approaches</strong></p><p>This is one way, we deploy our model. The model is running on one box, and we push the request with data (the data we named as featurized data, discussed earlier) to the box and it will respond with an outcome (it could be a recommendation of similar products, movies, predicting prices, etc.).</p><p>For the request, the server; the server that sends requests and ML server that gives output agrees on the format of the data (format is critical to the process).</p><p>This is what happens, the intention was to give you intuition and I will elaborate on the parts later.</p><p>The method I discussed is a Web API method. In this method, the Model is trained and persisted offline and then uploaded into a web application that can give real-time predictions of similar movies when detail about a given movie is posted by a client to a rest API. This is one type of architecture it needs more details but for the moment it is important to understand the idea.</p><p>One way is where you train your model offline, then as a request, for example, the client will upload a CSV file of movies with the input details and then wait for some time for an email or a message telling them to check the website for results. This application would perform the batch prediction with an asynchronous task queue and those results would be saved to a shared database which could be then accessed by a web application to display the results.</p><p>You can also create your own example, try taking amazon page that page has so many services running from order detail buttons to product details to people who bought this have also bought these, and try to frame the idea of deployment around it, I am sure you will be able to understand.</p><p>Please give some valuable feedback in the comments so that I can improve. Thank you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66e2bff419bb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/production-and-deployment-of-machine-learning-models-iii-66e2bff419bb">Production and Deployment of Machine Learning Models — III</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deployment and Productionization of Machine Learning Models — From Acme to Nadir — II]]></title>
            <link>https://medium.com/data-science/deployment-and-productionization-of-machine-learning-models-from-acme-to-nadir-ii-fd2ad0ab7223?source=rss-3a0830a19083------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd2ad0ab7223</guid>
            <dc:creator><![CDATA[Abhijeet Rathore]]></dc:creator>
            <pubDate>Sat, 11 Jul 2020 15:05:42 GMT</pubDate>
            <atom:updated>2020-07-11T17:50:57.250Z</atom:updated>
            <content:encoded><![CDATA[<h3>Deployment and Productionization of Machine Learning Models — From Acme to Nadir — II</h3><h4><strong>Bricks and concrete that builds a machine learning home: System and Architecture</strong>.</h4><p>A Machine Learning system is an entity that comprises the whole infrastructure(the infrastructure that includes all the hardware from RAM to normal platform building equipment), then it includes an operating system that powers our machine learning task and makes it simpler by providing a robust background. It also includes all the applications, software, and tools. It trickles down to encircle all the configuration aspects such as compatibility and also parts like data and documenting the workflow bit by bit.</p><p>A machine infrastructure encompasses almost every stage of the machine learning workflow. To train, test, and deploy machine learning models you need services from data scientists, data engineers, software prog engineers, and DevOps engineers. The infrastructure allows people from all these domains to collaborate and empower them to associate for an end to end execution of the project.</p><p>Some examples of tools and platforms are AWS(amazon web services, Google Cloud, Microsoft Azure machine learning studio, Kubeflow: Machine-Learning Toolkit for Kubernetes.</p><p>Architecture deals with the arrangement of these components(things discussed above) and also takes care of how they must interact with them. Think of it as building a machine learning home where bricks, concrete, iron, are integral to the infrastructure, applications, etc. The architecture shapes our home by using these materials. Similarly, the architecture here provides that interaction among these components.</p><p><strong>Versioning and Reproducibility</strong>: The “it” IT jargons</p><p>Let’s understand first what is versioning and reproducibility.</p><p><strong>Versioning</strong>:</p><p>It is common software and IT practice where you create and manage multiple releases of a product all of which have the same general function but are improved, upgraded, or customized.</p><p>In machine learning, for the given data different models are built and we keep track through version control tools like <strong>DVC</strong> and <strong>Git.</strong> Version control will keep track of changes made to the model at each stage and keep a repository.</p><p><strong>Reproducibility</strong>:</p><p>During the research stage, the stage where we build a machine learning model. Once the model is tested and only then it is deployed. After Deployment this model is assumed to be used on the same data that is used to build the model and is expected to give the same results. We deploy the entire model pipeline, not just the algorithm. Reproducibility ensures the ability to duplicate a model such that given the same raw data as input both models return the same output ( Same data means same with features, etc).</p><p>Let me throw some light on what affects the reproducibility so that, it will help you understand better. Suppose the model that you built earlier was giving you a 20% error. Imagine that your database has been changed and when you try to build the model again you aren’t aware of the additional training data which your database is injecting to the model and therefore resulting in an additional error.</p><p>There are a lot of factors that affect reproducibility. Therefore this versioning and version controls help us keep track of it. Mostly it has been seen during model improvement.</p><p>There are various other system challenges from reproducibility to configuration issues to data issues. In architecture, there are key points like reproducibility, scalability: the ability of the model to serve many people among other points that one must keep in mind.</p><p>So, this article was written mainly to give you insights on basic terminologies used in deployment. I hope you enjoyed the article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd2ad0ab7223" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/deployment-and-productionization-of-machine-learning-models-from-acme-to-nadir-ii-fd2ad0ab7223">Deployment and Productionization of Machine Learning Models — From Acme to Nadir — II</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deployment and Productionization of Machine Learning Models From Acme to Nadir — I]]></title>
            <link>https://medium.com/data-science/deployment-and-productionization-of-machine-learning-models-from-acme-to-nadir-i-cdb5de1b098d?source=rss-3a0830a19083------2</link>
            <guid isPermaLink="false">https://medium.com/p/cdb5de1b098d</guid>
            <dc:creator><![CDATA[Abhijeet Rathore]]></dc:creator>
            <pubDate>Wed, 08 Jul 2020 03:17:07 GMT</pubDate>
            <atom:updated>2020-07-10T14:05:14.143Z</atom:updated>
            <content:encoded><![CDATA[<h3>Deployment and Productionization of Machine Learning Models From Acme to Nadir — I</h3><h4><strong><em>Understanding the whole process from data gathering to model deployment.</em></strong></h4><p><strong>Data Science — the business affair</strong></p><p>The typical process of building a machine learning model involves data collection: the process used to get the data from the databases (ETL) or from any other source, then analyzing the data, engineering and selecting features from the data to building a model on the data, and lastly analyzing model results. But what do you do once you have built the model? Where and how it is used to derive benefits?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/491/1*gouvrECRpkszE_-wCJabAQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/0*F02qHmSZA2p3hV-R" /></figure><p><strong>Breaking into pieces</strong></p><p>There are ways to collect the data or should I say there are many sources of data. Sometimes it follows a long process (ETL, Databases) to get the required data pertaining to the business problems, and sometimes data is given to you by the client in an excel, CSV, or any other file format but chances of the latter are few. Most of the time you need to connect to the database or follow a whole DBM process to get the data to the warehouse and then get it to analyze and build a model. I will talk about this process in detail in another post.</p><p>Once you have the data all cleaned and ready. We start by analyzing the data, it usually starts with finding basic insights and some sanity checks (datatypes, summary statistics, etc). In data science, the term for this is exploratory data analysis (EDA). This can be done while getting the data i.e. in the systems that serve as a data source or it can be done through a tool like Python, R, etc. I prefer Python.</p><p>From here we move towards the business end of the process. Starting with feature engineering, which involves missing value imputation, outlier detection, variable transformation, etc. Feature selection which is selecting the most relevant features from all the given features(features = variables) in the dataset is also a pivotal part of this process. These two processes give us what we call a “featurized” data. Feature engineering and feature selection are a big and time taking topics to discuss or digress to, for that reason, it’s important to concentrate on the process being discussed.</p><p><strong>Finishing Touch</strong></p><p>We amble over to the model building and evaluation stage, having gotten the “featurized” data, this concerns only with building different machine learning models and selecting the one which gives the best result. (Training and testing phase). Once we have gotten the model, what do you do after that?</p><p>You have the final model that is approved by the team and now you to need productionize this model. What does productionization mean? It means deploying the model into a production system, into a real-time scenario. All the necessary tests have been performed on the research stage. We need to deploy this model to put our research to use.</p><p>We train our model offline, given the data. This model is deployed in the real-time scenario where it takes continuous inputs from the real world and depending upon the type of model (regression, classification, etc) it gives continuous outputs.</p><p>At this point, I think it is important that we discuss the difference between a machine learning pipeline and a machine learning model because we deploy not just the model but the entire pipeline.</p><p>A machine learning pipeline encompasses all the steps required to get a prediction from data (the steps that I mentioned above). A machine learning model, however, is only a piece of this pipeline(Model Building Part). While a model describes a specific algorithm or method for using patterns in data to generate predictions, a pipeline outlines all the steps involved in a machine learning process, from gathering data to acquiring predictions.</p><p>How do you put your model into a production environment, all the necessary details will be discussed in subsequent posts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cdb5de1b098d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/deployment-and-productionization-of-machine-learning-models-from-acme-to-nadir-i-cdb5de1b098d">Deployment and Productionization of Machine Learning Models From Acme to Nadir — I</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Paradigms of python programming- programming fads]]></title>
            <link>https://medium.com/@abhijeet0910/paradigms-of-python-programming-programming-fads-13c4d8bd2dca?source=rss-3a0830a19083------2</link>
            <guid isPermaLink="false">https://medium.com/p/13c4d8bd2dca</guid>
            <dc:creator><![CDATA[Abhijeet Rathore]]></dc:creator>
            <pubDate>Wed, 08 Jul 2020 02:42:09 GMT</pubDate>
            <atom:updated>2020-07-08T02:48:07.602Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever thought that you can associate a term like “style” to a programming language, well actually, you can associate so many of these fashion terms. But first, let me tell you more about the python language before I interest you on this idea. Admittedly, Python is my favorite language considering my limited knowledge and understanding of the subject I find python easy and potent enough to solve my problems. The language has grown with its history, it has come far, to become the most sought after the language of the present decade. From data science (which is the most powerful asset of the language) to web development to building applications this language is now widely used. Python&#39;s striking features are the environment and the ease of syntax. I may not be able to convince anyone as I have not been able to convince my economics genius sister (who is still grappling with modern-day programming languages) about a certain charm this language carries, well one of the IDE’s of python is pycharm. Fallen for it already.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/0*VPY4IovJ4Dmx24Jn" /></figure><p>We started with “style” and “fashion terms” and how can you associate these terms to a python programming language. In Programming, you can associate “style” to what style a programmer chooses to write his code similar to what style of clothes you choose to wear, different styles of clothes for a different purpose. And terms like “hand-me-down”, if you know, git and GitHub. we will come back to it soon. Let us move our focus back to the paradigms of programming language.</p><p>Python is a multi-paradigm language, which means it supports various coding designs (it refers to the way programmer approaches a coding problem in terms of writing the code). It is like “freedom of expression” (well absolutely not like when you critique the government it is considered anti-national). It is more like where a coder/Programmer is given the freedom to choose his style to code the solution of a problem.</p><p>Consider python as a medley of programming paradigm</p><p>Since Python is a multi-paradigm programming language, you can choose the paradigm that best suits the problem at hand, mix different paradigms in one program, and/or switch from one paradigm to another as your program evolves.</p><p>Programming is communicating with computers mainly for performing a specific task. This communication with computers sometimes becomes complicated. A <strong>paradigm</strong> is a model or style or a standard that a programmer follows for effective communication. The term language <strong>paradigm</strong> is sometimes used to describe the mental model that the programmer envisions as he or she is creating a program.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*DZInb1M7rKrCXEBt" /></figure><p><strong>What is Imperative Paradigm lets revisit again?</strong></p><p>1. This model views the computer as a combination of processor and memory. Instructions (such as assignment statements) have the effect of making changes to memory. The task of programming consists of placing statements in their proper sequence so that by a large number of small transformations to memory the desired result is eventually produced.</p><p>2. Computation is performed as a direct change to the program state. This style is especially useful when manipulating data structures and produces elegant yet simple code. Python fully implements this paradigm. In imperative programming, you focus on how a program operates. Programs change state information as needed in order to achieve a goal.</p><p>Let us see an example of imperative programming</p><h3>Task: Take the sum of the list</h3><p>my_list = [1, 2, 3, 4, 5]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pzWTbUdYaEO8tdri" /></figure><p>The value of sum changes with each iteration of the loop. As a result, the sum has a state. When a variable has a state, something must maintain that state, which means that the variable is tied to a specific processor. Imperative coding works on simple applications, but code executes too slowly for optimal results on complex data science applications.</p><p>The traditional imperative style of programming produces complex values by modification; by making a large number of small changes to an existing data structure. For example, creating a dictionary of values, then systematically setting each value independently of the others. Since small changes can often be accompanied by small errors, and small errors may only produce a minimal effect, debugging imperative programs can be frustratingly difficult.</p><h3>Functional Style</h3><p>From the name, you would be getting the idea that it must involve programming by building or using lots of functions, yes it is but it is not only just functions. In fact, the key characteristic of a program developed in the functional programming style is that it creates new values by a process of transformation.</p><p>By emphasizing transformation, rather than modification, functional programs work on a larger scale. Transformations are often more uniform, and much simpler to write and debug. Errors, when they do occur, tend to be larger and thus easier to find and eliminate.</p><ul><li>The process of transformation can be subdivided into several common forms. The three most common varieties of transformation are mapping, filtering, and reduction.</li></ul><h3>We have seen these three techniques but just a quick summary of each of these with examples.</h3><p><strong>Mapping :</strong></p><p>is one to one transformation. Each element in the source is converted into a new value. The new values are gathered into a collection, leaving the original collection unchanged. For example, suppose that you begin with the list [1, 2, 3, 4, 5] and map using the transformation x*2+1. The result would be the list [3, 5, 7, 9, 11].</p><p>Example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Tcz3Idh2Y-x9MwSW" /></figure><p><strong>Filtering</strong> :</p><p>is the process of testing each value in a list with a function, and retaining only those for which the function is true. If you begin with the list [1, 2, 3, 4, 5] and filter with a function that returns true on the odd values, the result would be the list [1, 3, 5].</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lR1ramoPg2_y2N4-" /></figure><p><strong>Reduction</strong> :</p><p>is the process of applying a binary function to each member of a list in a cumulative fashion. If you begin with the list [1, 2, 3, 4, 5] and reduce using the addition operation, the result would be ((((1 + 2) + 3) + 4) + 5), or 15.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*h_HMy-HroO9yS-Jm" /></figure><p><strong>Note on reduce:</strong></p><ul><li>Applies the same operation to items of the sequence.</li><li>Uses the result of an operation as the first parameter of the next operation.</li><li>Returns an item, not a list</li></ul><p>All of these functions are using functions as arguments. A function that uses another function that is passed as an argument is sometimes referred to as a higher-order.</p><h3>let us compare the two style</h3><p>Suppose you have two lists (call them a and b), and you need to <strong>construct a third list containing their intersection</strong>. That is, the third list should have only those elements that are found in both lists.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T43EQW5qfGZ5T4UP" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tntFDDQ99SF0RBic" /></figure><p><strong>Let us see this with functional programming</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VeJ16bPzTM-Czv-y" /></figure><p>There is also a <strong>procedural Programming</strong> which we have seen in C if you are from an engineering background.</p><h4>What is Procedural Programming?</h4><p>This is one of the oldest forms of programming. It is similar to the imperative style you can call it a sub-type of imperative programming. Here each procedure is a sequence of statements that has a specifically defined purpose. It is based on the concept of the procedure call. The procedures are sometimes also referred to as routine subroutines and functions. In procedural programming the code of the program executes linearly with logical steps, it follows the top to bottom approach. So basically, you combine these procedures to instruct a computer at each step it has to take to perform a certain task. Procedures are usually modularized by a function definition that provides a very simple interface to be used by others. It flows the program in a linear direction which makes it easy to track. It simplifies the code and makes it easy to understand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gENBYdG1IhSAW972" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QPf3RDIySA2lIdE1" /></figure><h3>Now It is time to see Object-oriented programming.</h3><p>First what is objected-oriented programming and why object-oriented programming?</p><p>In the object-oriented paradigm, a program is viewed as a collection of computing agents, each of which is providing a service that can be used by the others.</p><p>Well before we begin to elaborate this paradigm or style, we will move into history just a tad bit to understand what led to the development of this style, was that the other style became too boring or was this just an addition to the already available styles. The idea here is to see this type of paradigm exclusively. Later, it shall pave the way to make the other paradigms easier to understand and differentiate between them clearly.</p><p>From my research on understanding this topic, there are two articles that did a good job, one by steve jobs and other by Alan Kay</p><h3>Alan Kay:</h3><p>The central idea is that object-oriented programming is a way of structuring software systems analogous to a biological system, with “cells” (which we’ll call “objects”) that hide their internals, and communicate with other objects via a kind of signaling mechanism (which we’ll call “messaging”).</p><p>Before we go and discuss steve jobs, Every other paradigm we discussed above has its merits and demerits, Though one is not limited to use either of the paradigms and you can even combine them. It is certainly difficult to weigh one over the other and also compare them. It is not right to say that development was the reason. But one thing that sticks out to me is managing a huge code or writing complex code. Procedural and Oop both do a wonderful job. Procedural does this with functions or procedure which can even be reused. But Oop does make a tad bit better with class, objects, and its properties like inheritance, polymorphism, etc. This is just my opinion. For me, it would be difficult to make somebody understand this until someone attempts on their own. Let us Proceed and further, I will explain the properties of OOP.</p><p>The idea is to choose a method that helps us in organizing our thoughts better and help us in building programs, that are much easier to understand and serve our purpose.</p><h3>Steve Jobs Example :</h3><p><strong>Jeff Goodell:</strong></p><p>Would you explain, in simple terms, exactly what object-oriented software is?</p><p><strong>Steve Jobs:</strong></p><p>Objects are like people. They’re living, breathing things that have knowledge inside them about how to do things, and have a memory inside them so they can remember things. And rather than interacting with them at a very low level, you interact with them at a very high level of abstraction, like we’re doing right here.</p><p><strong>Here’s an example:</strong></p><p>If I’m your laundry object, you can give me your dirty clothes and send me a message that says, “Can you get my clothes laundered, please.” I happen to know where the best laundry place in San Francisco is. And I speak English, and I have dollars in my pockets. So I go out and hail a taxicab and tell the driver to take me to this place in San Francisco. I go get your clothes laundered, I jump back in the cab, I get back here. I give you your clean clothes and say, “Here are your clean clothes.”</p><p>You have no idea how I did that. You have no knowledge of the laundry place. Maybe you speak French, and you can’t even hail a taxi. You can’t pay for one, you don’t have dollars in your pocket. Yet I knew how to do all of that. And you didn’t have to know any of it. All that complexity was hidden inside of me, and we were able to interact at a very high level of abstraction. That’s what objects are. They encapsulate complexity, and the interfaces to that complexity are high level.</p><p>I hope the example would have given you an intuitive understanding of object-oriented programming. The Crux of this is objects.</p><h3>Objects:</h3><p>“object” refers to a particular instance of a class where the object can be a combination of variables, functions, and data structures.</p><p>An object is an entity that possesses both state (or properties or attributes) and behavior. Put another way, an object encapsulates data and the functions that operate on that data. The data is usually hidden from other objects so that the only way to affect the data is through the object’s functions (or methods).</p><p><strong>an object is something that has some property and does some tasks which are assigned to it.</strong></p><p>All the objects are enclosed in a wrapper called a <strong>class</strong> which represents the object as a whole</p><h3>object vs class</h3><p><strong>Class</strong></p><p>1. It is like a template or a blueprint for a specific one.</p><p>2. A class is used to bind data as well as methods together as a single unit.</p><p>3. The class has to be declared only once.</p><p><strong>Object</strong></p><p>1. An object is the instance of the class, which helps programmers to use variables and methods from inside the class.</p><p>2. The object acts like a variable of the class.</p><p>3. Objects can be declared several times depending on the requirement.</p><p>more to follow in the next post.</p><p>I will add references as well, stay tuned.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13c4d8bd2dca" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>