<?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 Arpine Keyan on Medium]]></title>
        <description><![CDATA[Stories by Arpine Keyan on Medium]]></description>
        <link>https://medium.com/@keyanarpin?source=rss-e7eef676dd3c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*c7upFNfISVLyE5ZqC8MzZQ.jpeg</url>
            <title>Stories by Arpine Keyan on Medium</title>
            <link>https://medium.com/@keyanarpin?source=rss-e7eef676dd3c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 10:07:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@keyanarpin/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[APIs: The Invisible Technology Behind Almost Everything You Do Online]]></title>
            <link>https://medium.com/@keyanarpin/apis-the-invisible-technology-behind-almost-everything-you-do-online-976abf3c5042?source=rss-e7eef676dd3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/976abf3c5042</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[information-technology]]></category>
            <dc:creator><![CDATA[Arpine Keyan]]></dc:creator>
            <pubDate>Tue, 10 Mar 2026 04:24:15 GMT</pubDate>
            <atom:updated>2026-03-10T04:24:15.736Z</atom:updated>
            <content:encoded><![CDATA[<p>This morning probably started like most mornings do. You woke up, checked the weather on your phone, opened a messaging app, maybe ordered coffee, and paid for something online. None of these actions felt complicated. You simply tapped a button and the information appeared on your screen.</p><p>But behind that simple interaction, something much more complex happened.</p><p>Several different systems running on different servers, written in different programming languages, and owned by completely different companies communicated with each other in a fraction of a second. The technology that makes this communication possible is called an <strong>API</strong>.</p><blockquote>APIs can range from simple to complex, but their main role is to connect different parts of the digital ecosystem, enabling the creation of complex software solutions.</blockquote><p>Once you start noticing APIs, you begin to realize they are everywhere.</p><p>Imagine you are building a simple mobile application. Your users want to log in with Google, make payments, receive weather updates, and see their location on a map. At first glance, these features may seem like standard functionality that every modern app should have. But if you think about it for a moment, each of these features represents an entire complex system on its own.</p><p>Building a global mapping service alone would require massive infrastructure and constantly updated geographic data. Creating a secure payment system involves handling financial transactions, fraud prevention, and regulatory compliance. Even something that seems simple, like displaying weather information, requires collecting data from meteorological services around the world.</p><p>Trying to build all of these systems from scratch would take years.</p><p>Instead, developers do something much smarter: they connect their application to services that already exist. Rather than reinventing the wheel, they allow their app to communicate with specialized platforms that already provide these capabilities. This communication happens through APIs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*JAqMIZayyJq6UrDMxpzKKg.png" /><figcaption>Image comes from <a href="https://www.digitalsoft.com/tech-and-design/what-is-an-api-and-how-can-it-help-businesses/">this blog post</a></figcaption></figure><p>When a user opens the map in your app, the application sends a request to a mapping service. When the user makes a payment, the app communicates with a payment provider. When the weather forecast appears on the screen, the application retrieves that information from a weather data service. Each of these interactions happens through an API request.</p><p>In simple terms, an <strong>API — Application Programming Interface, is a contract that allows two pieces of software to communicate with each other</strong>.</p><p>Humans interact with software through user interfaces: buttons, screens, menus, and forms. Software, however, needs a different way to interact. Instead of clicking buttons, applications send structured requests and receive structured responses. APIs define how those requests should be made and what kind of responses should be returned.</p><p>One of the easiest ways to understand this idea is through a restaurant analogy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*8thcU4GtNCInrfQgAHc1nw.png" /></figure><p>When you sit at a restaurant table, you don’t walk into the kitchen and cook your own meal. Instead, you look at the menu and tell the waiter what you want. The waiter takes your order to the kitchen, the kitchen prepares the food, and the waiter brings it back to your table. You never interact with the kitchen directly — the waiter handles the communication.</p><p>In this analogy, the waiter plays the role of the API. The API receives your request, passes it to the system that processes it, and then returns the result. You don’t need to understand how the system works internally. All you need to know is how to ask for what you want.</p><p>Once you start paying attention, you realize how many everyday digital experiences depend on this kind of interaction. Logging into a website using your Google account, booking a ride in a taxi app, watching a video online, or seeing a map embedded on a webpage — all of these features rely on APIs quietly working behind the scenes.</p><p>In fact, modern software rarely exists as a single self-contained system anymore. Most applications today are more like networks of specialized services. One service handles authentication, another processes payments, another manages notifications, and yet another stores and analyzes data. APIs allow all of these independent services to communicate and work together as if they were one unified application.</p><p>This is one of the reasons why software development has accelerated so dramatically in the past decade. Instead of building everything from scratch, developers assemble applications from existing components and connect them through APIs. Startups that once needed years to build complex platforms can now launch sophisticated products in a matter of months simply by integrating the right services.</p><p>For data scientists, APIs are particularly valuable because they provide access to real-world data. Instead of manually downloading datasets, you can retrieve fresh data directly from platforms such as financial services, social media networks, analytics tools, or internal company systems. A simple script can collect updated information automatically, making data pipelines far more efficient.</p><p>For example, using just a few lines of Python code, you can request information from the GitHub API and receive structured data in return.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lHIQMr1x_e7RY_0NJ6knBg.png" /></figure><p>With this request, the API returns details about the specified user, such as the number of public repositories or followers. The data arrives in a structured format, typically JSON, which can be easily processed by programs and analytics tools.</p><p>APIs are not only useful for collecting data. They are also the primary way modern machine learning systems are deployed. In many real-world applications, trained models are exposed as APIs so other services can send data to them and receive predictions in return.</p><p>In practice, the architecture often looks something like this: an application sends a request to an API, the API forwards the request to a machine learning model running on a server, and the model returns a prediction. This approach allows recommendation systems, fraud detection models and AI assistants to operate at scale and serve thousands or even millions of users.</p><p>Despite their importance, APIs rarely receive much attention. Users never see them, designers rarely interact with them directly, and most people outside the engineering world are unaware they exist.</p><p>Yet APIs quietly power much of the digital world.</p><p>Every time two systems exchange information online, there is a good chance an API is involved. And once you understand how they work, the internet starts to look different — not as a collection of isolated applications, but as a vast ecosystem of services constantly communicating with each other.</p><h3>If you’d like to go deeper, exploring API-related tools is a great next step</h3><ul><li><strong>Postman</strong>: It’s one of the most popular tools for testing REST APIs, used by millions of developers and companies worldwide. Postman supports every stage of the API lifecycle, making it easy to design, test, and document APIs.</li></ul><p><a href="https://www.postman.com/">Postman: The World&#39;s Leading API Platform | Sign Up for Free</a></p><ul><li><strong>Swagger UI</strong>: This suite of tools is excellent for API designing and supports the entire API lifecycle. It allows you to conduct API performance testing, security testing, and functional API testing.</li></ul><p><a href="https://swagger.io/tools/swagger-ui/">Swagger UI</a></p><ul><li><strong>PyTest</strong>: PyTest is a Python testing framework known for its intuitive syntax and powerful assertion capabilities. It’s widely used for API testing due to its plugin architecture and support for building reliable and scalable tests effortlessly. PyTest’s simplicity and flexibility make it a preferred choice for Python developers.</li></ul><p><a href="https://docs.pytest.org/en/8.2.x/">pytest: helps you write better programs - pytest documentation</a></p><p>I am planning to cover these tools and offer real-world examples of how to use them in upcoming articles. But for now, this is where I’ll leave it.</p><p>If you have any suggestions or feedback, feel free to drop them in the comments. And don’t forget to stay tuned for more content by following me!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=976abf3c5042" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is MLOps Essential for Every Data Scientist?]]></title>
            <link>https://medium.com/k-minds-2024/is-mlops-essential-for-every-data-scientist-d6de160a2d8b?source=rss-e7eef676dd3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6de160a2d8b</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[mlops]]></category>
            <category><![CDATA[deployment]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Arpine Keyan]]></dc:creator>
            <pubDate>Mon, 02 Sep 2024 20:14:06 GMT</pubDate>
            <atom:updated>2024-09-02T20:14:06.600Z</atom:updated>
            <content:encoded><![CDATA[<h4>While deep expertise in MLOps or DevOps isn’t necessary for all data scientists, a good understanding of these areas will definitely boost your effectiveness and career growth</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/564/0*Ve3QR7jwZjhMQ0W4.jpg" /></figure><p>To succeed as a modern data scientist, you need more than just technical expertise in data science. Recruiters often highlight that companies expect data scientists to understand how their work fits with operations, business, and marketing, and how their insights affect various stakeholders. The role of a data scientist can vary widely across companies and even within the same organization, encompassing a range of responsibilities and skills. It’s not enough to just know data science theory and techniques anymore. You also need proficiency in software engineering, system design, and operations. You’ll need to grasp how models move from Jupyter notebooks to production, write clean, scalable code, design effective data pipelines, and handle deployments across different platforms. This is where MLOps comes in — a combination of software engineering and DevOps practices related to data science. Mastering MLOps can significantly enhance your career perspectives and help you manage personal projects more effectively.</p><p>Let’s dive into these concepts and explore:</p><ul><li>How modern applications integrate traditional software engineering with machine learning.</li><li>Why DevOps knowledge is crucial for data science.</li><li>What a machine learning project looks like in a production environment.</li></ul><h4>You need to understand both traditional software engineering and ML to effectively build modern applications</h4><p>When considering the differences between software systems containing ML models and traditional software systems without ML integrations, a key observation is the following diagram.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1cfjWEeyd9sJ5rsv" /><figcaption>Distinctions between software systems containing ML models and software systems without ML integrations</figcaption></figure><p>In traditional software development, you write code to process data and get specific results. With machine learning (ML), you provide data and desired outcomes to create the code, allowing the system to learn and make decisions on its own. This highlights the main difference: ML systems learn from data, while traditional software relies on explicit instructions. So it is easy to notice that ML systems not only face the usual software development challenges but also bring out unique problems related to learning and adaptation of the models. While it was once common to doubt if ML was necessary, recent achievements have shown that ML can deliver impressive results, making its use more widespread.</p><blockquote>In short, applications often combine traditional programming with ML, creating systems that leverage both rule-based logic and adaptive learning. This integration means you need to understand both traditional software engineering and ML to effectively build modern applications.</blockquote><h4>DevOps knowledge matter in Data Science</h4><p>In today’s data science field, having a grasp of software engineering and DevOps fundamentals is essential because these areas are closely linked. Combining machine learning models with software requires solid software design and implementation skills, focusing on both data and ML models. Developing proficiency in software engineering and operations is crucial for success in data science. Good coding practices help you produce production-ready code, and knowledge of MLOps aids in setting up environments and managing costs effectively. Additionally, enhancing your engineering skills can:</p><ul><li>Save time on routine data preparation</li><li>Improve data modeling techniques</li><li>Strengthen testing skills to catch errors and handle special cases</li></ul><p>While some data scientists might focus more on their specialized skills and less on software engineering, it’s important not to ignore solid engineering practices and modern technologies. Understanding the operational side can lead to:</p><ul><li>Better communication and management of deployed models</li><li>More efficient development and monitoring of metrics</li><li>Better error handling</li></ul><p>You don’t need to be a coding expert to start as a data scientist; basic coding skills and a willingness to learn are enough. Similarly, you don’t have to master all DevOps tools, but having a basic understanding is very helpful.</p><h3>What does ML project look like in production</h3><p>Model training is at the heart of the data science development lifecycle. However, creating a model is just the first step; deploying it into production, actively using it, and solving real-world problems is equally important.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dvod_xv7NIryP_LKPWL5Lg.png" /></figure><p>As mentioned, many data scientists view model deployment as primarily a software engineering task because of the skills involved. This makes sense given the typical responsibilities of software engineers. However, tools like Docker, MLflow, Terraform, and Git have simplified the process. <br>Deploying machine learning models is a crucial step that connects theory with practice. Many models never reach production, missing their intended impact. It’s important for data scientists to see their work in action, as each deployment offers a chance to learn and improve. Successful deployment involves accepting feedback, analyzing results, and continually refining your approach. While each deployment process is unique, following best practices can lead to success.</p><blockquote>Deploying a machine learning model means integrating a trained model into a real-world system or application to automate predictions or specific tasks.</blockquote><p>In production, an ML model includes three main parts:</p><ul><li><strong>Data</strong></li><li><strong>Model</strong></li><li><strong>Code</strong></li></ul><p>And the typical ML workflow in real-life applications involves three key stages:</p><ol><li><strong>Data Engineering</strong>: This involves acquiring and preparing the data.</li><li><strong>ML Model Engineering</strong>: This covers training the ML model and setting it up for use.</li><li><strong>Code Engineering</strong>: This involves integrating the ML model into the final product.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*4vn03FKm2kgOcpxfGrwxjQ.png" /><figcaption>A simplified ML workflow</figcaption></figure><p>ML model deployment requires understanding how to “package” the ML solution to ensure its successful integration with existing software systems and how to design its performance monitoring and improvements over time.</p><p>In general, the ML project lifecycle in production is defined as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fEpjK7Vc4K29Vx9b" /><figcaption><a href="https://cloud.google.com/solutions/machine-learning/mlops-continuous-delivery-and-automation-pipelines-in-machine-learning#top_of_page">Figure adopted from “MLOps: Continuous delivery and automation pipelines in machine learning”</a></figcaption></figure><p>Looks scary, right? <br>We won’t insist it is not. <br>But the good news is that there are many useful resources to learn about MLOps but in short, here are three main stages of ML system development that are crucial for every project to be successful in production.</p><h4><strong>Model Development</strong><br>Before deploying machine learning models, thorough testing and validation are crucial for accuracy and reliability. After building the model, optimize and test the code, then clean and refine it as needed. Organizations often use centralized systems for automated experiment tracking to streamline testing and ensure the model performs well in a live environment. This transparency helps teams collaborate effectively and refine the code.</h4><p><strong>Model Deployment</strong><br>Deploying models involves setting up a virtual environment, installing necessary packages, and using tools like Docker for smooth integration. This setup avoids conflicts by ensuring an isolated environment with all required packages. Tools designed for machine learning deployment help efficiently integrate models into real-world applications.</p><p><strong>Continuous Monitoring and Maintenance</strong><br>Ongoing monitoring and maintenance are key for successful ML model deployment. It’s not just about ensuring the model works initially; continuous monitoring is needed to maintain long-term effectiveness. Your team should regularly monitor, optimize, and retrain models to address issues like data drift, inefficiencies, and bias.</p><blockquote>Successfully deploying an ML model doesn’t need to be challenging if all necessary aspects are addressed before starting a project. This is crucial for any ML project and should be given high priority! This is called MLOps.</blockquote><h3>Summing Up</h3><p>MLOps practices and tools streamline the development and deployment of machine learning models. They combine the best practices from software engineering and data science to create a smooth workflow throughout the entire ML pipeline. The “Ops” in MLOps comes from DevOps, which stands for Development and Operations. Operationalizing means deploying, monitoring, and maintaining something in a production environment.</p><p>Getting really good at MLOps and applying it practically is an important skill for the upcoming data-driven era. Data scientist with understanding the whole data science process well, will be valuable to any organization. This skill is just one important part of becoming a great data scientist, often called a “<strong>unicorn</strong>.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fvESOxnV-Ee4OUME7tukqg.png" /></figure><p>In our <a href="https://medium.com/k-minds-2024/k-minds-2024-b1c0840069a8">DS training program</a>, we’re creating a community of future skilled data scientists with this mindset.</p><p><a href="https://datapoint.am/kminds-2/">K-Minds 2.0 - DataPoint Armenia</a></p><p>This article, and the upcoming ones is our way of taking a step forward in this effort.</p><h3>Before you go…</h3><p>Your engagement, including comments, sharing, and participation in our initiatives, is highly appreciated. <br>DataPoint Armenia is a community of data scientists aiming to establish a network of individuals dedicated to continual learning, collaborative efforts, and knowledge-sharing.</p><p>Feel free to explore DPA and follow us on our: <br><a href="https://www.linkedin.com/company/datapointarmenia">Linkedin</a> | <a href="https://www.facebook.com/DataPointArmenia/">Facebook</a> | <a href="https://www.instagram.com/datapointarmenia/">Instagram</a> | <a href="https://github.com/DataPoint-Armenia">Github</a> | <a href="https://datapointarmenia.medium.com/">Medium</a> | <a href="https://www.youtube.com/channel/UCcD2TIcITJSDAq_P9_XEmBQ">YouTube</a></p><p>Our community engages in various <a href="https://datapoint.am/news/">interesting modern projects</a>, with a primary focus on our current key project — the training program called <br><a href="https://datapoint.am/kminds-2/">K-Minds</a>. This program is designed to provide hands-on training using real corporate data in real working environments. It aims to develop a range of soft and hard skills, assist in interview preparation. As part of our approach, we’ve chosen to document a part of this program through Medium blogging, with specific objectives in mind:</p><ol><li>Expanding our audience to attract new stakeholders.</li><li>Sharing insights and receiving feedback on our findings.</li><li>Making a portion of our training program accessible to everyone.</li></ol><p>Today’s article marks just the beginning of our journey, introduces the discipline and provides a general overview of what constitutes the lifecycle of a machine learning model in production.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*jyAXNs-7J48v2Nv55zbElg.png" /></figure><p>We value your time and appreciate your reading! <br>Catch more resources to read:</p><p><strong>IBM — </strong><a href="https://www.ibm.com/blog/mlops-and-the-evolution-of-data-science/"><strong>MLOps and the evolution of data science</strong></a><strong><br>DataCamp —</strong><a href="https://www.datacamp.com/courses/mlops-concepts?utm_source=google&amp;utm_medium=paid_search&amp;utm_campaignid=1455363063&amp;utm_adgroupid=147761326706&amp;utm_device=c&amp;utm_keyword=&amp;utm_matchtype=&amp;utm_network=g&amp;utm_adpostion=&amp;utm_creative=705099675490&amp;utm_targetid=dsa-2220136287493&amp;utm_loc_interest_ms=&amp;utm_loc_physical_ms=9070053&amp;utm_content=dsa~generic~courses~theory&amp;utm_campaign=220808_1-sea~dsa~generic_2-b2c_3-row-p2_4-prc_5-na_6-na_7-le_8-pdsh-go_9-nb-e_10-na_11-na-july24&amp;gad_source=1&amp;gclid=CjwKCAjw4_K0BhBsEiwAfVVZ_xSx6mOIkle34C0pIYSmXxqMvI1s0hNYvQrhKCBPDL8XJAUn0q94PRoCi1MQAvD_BwE"><strong> MLOps Concepts</strong></a><strong><br>Microsoft — </strong><a href="https://www.youtube.com/watch?v=ZVWg18AXXuE&amp;t=7s"><strong>MLOps explained | Machine Learning Essentials</strong></a></p><p>Until next time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6de160a2d8b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/k-minds-2024/is-mlops-essential-for-every-data-scientist-d6de160a2d8b">Is MLOps Essential for Every Data Scientist?</a> was originally published in <a href="https://medium.com/k-minds-2024">DataPoint Articles</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Contributing to Open Source Projects]]></title>
            <link>https://medium.com/k-minds-2024/contributing-to-open-source-projects-29065159c04d?source=rss-e7eef676dd3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/29065159c04d</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Arpine Keyan]]></dc:creator>
            <pubDate>Sun, 01 Sep 2024 09:36:24 GMT</pubDate>
            <atom:updated>2024-09-01T09:36:24.445Z</atom:updated>
            <content:encoded><![CDATA[<h4>You definitely have to think of it…</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*-XVwKPQsP7le8zcTFDwJMA.png" /></figure><p>Every day, software and hardware engineers use not just paid, proprietary tools but also fantastic free and open-source tools for their projects, and you and I are not an exception. These tools are created by passionate individuals who enjoy collaborating, sharing knowledge, and making powerful tools available to everyone. There are many amazing tools out there ready for anyone looking to create something exciting. You might have ideas to improve these tools and could even join or are already part of a development team as an open source project contributor.</p><p>So, why do people get involved in open source? Being part of the open-source community offers many benefits: you can learn and grow, improve your skills and resume, meet new people, enhance your reputation, help others, and address real issues. It’s a win-win-win! Whether you’re experienced or just starting out, joining in is a great opportunity to learn from others and share your own knowledge. <br>Let’s explore this a bit more before diving in.</p><h4>What we will discuss here is:</h4><ul><li><strong><em>Open source software</em></strong></li><li><strong><em>The story behind the Open Source</em></strong></li><li><strong><em>Open Source versus Proprietary</em></strong></li><li><strong><em>Open Source Isn’t Always Free</em></strong></li><li><strong><em>A Quick Look at Top Open Source Licenses</em></strong></li><li><strong><em>The Guide to Contributing</em></strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zcQZP5W8m0qf8BBMBoQspQ.png" /><figcaption>Free and open source tools and software for DS: not the ultimate list:)</figcaption></figure><h3>Open Source Software</h3><p>Open source software is like a recipe that anyone can take and change to create their own flavor. For the non open source software products, when you get it or buy, you only get the finished product that you can use on your computer. But with open source software things are different and with the product you also get the recipe, i.e. source code.</p><p>Typically you don’t have to pay for open source software, but this is not mandatory. And even if you get it for free, it still may have rules you have to follow. These rules come in different types in form of <a href="https://en.wikipedia.org/wiki/Software_license">licenses</a>, which tell you what you can and can’t do with the software. For example, some licenses say you have to share any changes you make with everyone else, while others let you keep your changes private.</p><p>Linux, Apache, and Python are very good examples of open source software. These projects thrive on global contributions from developers, testers, and users, who collaborate to improve them daily. <br>For instance, <a href="https://www.linux.org/"><strong>Linux</strong></a> benefits from thousands of developers ensuring its stability and adaptability to various hardware. <br>Similarly, <a href="https://httpd.apache.org/ABOUT_APACHE.html"><strong>Apache</strong></a>, as the leading web server software, owes its success to global developer contributions, ensuring it stays current with web technologies. <br><a href="https://www.python.org/"><strong>Python</strong></a>’s simplicity and versatility are enhanced by thousands of contributors who expand its capabilities for diverse applications. <br>Just like <a href="https://huggingface.co/"><strong>Hugging Face</strong></a>, a hub for open-source AI models, which continuously grows its repository through contributions from an active community of developers.</p><blockquote>Open source isn’t just about software. It can also be about things like hardware, data, and standards. <strong><em>The idea behind it is to be open and collaborative, believing that sharing knowledge and resources can lead to new and better future for everyone.</em></strong></blockquote><h3>The Story Behind the Open Source</h3><p>The Open Source story goes back to the early days of computers, from 1945 to 1975. During this time, the people who used computers were often the same ones who programmed them. Back then, there wasn’t a clear difference between the physical parts of a computer (hardware) and the programs that ran on it (software). But things changed when IBM introduced the first commercial electronic computer in 1952. It was expensive and hard to maintain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Iv2yBExgvjHXogHCVtMhQ.png" /><figcaption>The story behind the Open Source</figcaption></figure><p>To reduce costs, companies began producing cheaper hardware and needed software that could handle multiple users. MIT’s CTSS (Compatible Time-Sharing System) was one of the first to achieve this, paving the way for later multi-user systems and the open-source software movement.</p><p>In 1975, Bill Gates developed a version of the BASIC programming language for the <strong>ALTAIR 8080</strong> microcomputer, marking one of the first instances of selling software separately from hardware, which helped establish the software industry. Microsoft, founded by Gates and Paul Allen, became a major player, with Gates advocating for paid software.</p><p>In 1981, the University of California, Berkeley created BSD Unix, known for its robustness, stability, and advanced networking features. BSD Unix used the permissive BSD license, requiring only credit to the original creators.</p><p>In the mid-’80s, Richard M. Stallman launched the GNU Project and the General Public License (GPL) to promote free software, both in cost and freedom. The GPL ensured that any new versions of GPL-licensed software remained free and open, spreading its rules to all derivative works.</p><p>These developments, including Microsoft’s BASIC, BSD Unix, and Stallman’s GNU Project, sparked significant discussions about software licensing and ownership rights.</p><h3>Open Source versus Proprietary</h3><blockquote>Open source software encourages teamwork, honesty, and new ideas.</blockquote><p>It often makes software safer and more dependable because many people check it for mistakes and fix problems quickly. It also gives users more choices and freedom. <a href="https://solutionshub.epam.com/blog/post/the-state-of-open-source">The number of developers contributing to open-source communities and companies using open-source software is growing rapidly.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A_x2i-kJc1YbdQddYcDbFw.png" /><figcaption>Open Source versus Proprietary</figcaption></figure><p>However, some people think that proprietary software, which is made by one company and not shared with others, gives better customer support service and works well with other programs. It might also look nicer and be easier to use (debates like Windows OS vs Linux OS usage). Plus, companies might pick proprietary software to keep their ideas safe and have full control over what they make.</p><h3>Open Source Isn’t Always Free</h3><p>It’s important to know that open source doesn’t always mean free. Free and open-source software (FOSS) is software that anyone can use, change, and share for free, according to certain rules.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*Gv-K7AixthPQA7BD-1ZbcA.png" /><figcaption>Open Source Isn’t Always Free</figcaption></figure><p>But some open source projects might ask businesses to pay to use their software if they’re making money from it, although small developers might still get to use it for free. To read more on “Why Open Source Misses the Point of Free Software” you can refer to the <a href="https://www.gnu.org/philosophy/open-source-misses-the-point.en.html">article by Richard Stallman</a>.</p><h3>A Quick Look at Top Open Source Licenses</h3><p>When you use software, it usually comes with a license, which is like a set of rules for how you can use it. It’s important to check the license, especially on platforms like GitHub, to make sure the project is open source.</p><p>If a project doesn’t have a license, it’s automatically protected by copyright law, meaning you can’t use or share it without permission. You can find the license in a file called LICENSE usually found in the “About” section of the project’s GitHub page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cMTD9OfSDOXLjen7-0xGMA.png" /><figcaption>License.md in GitHub</figcaption></figure><p>Software licenses are made by people, groups, or communities to say how their software can be used, changed, and shared. While some licenses are well-known and accepted by organizations like the OSI (Open Source Initiative), the creator of the software ultimately decides which license to use.<br>There are a few main open source licenses you’ll most probably come across:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I-fH81gtZuiCW9dz3fAeWg.png" /><figcaption>Main open source licenses</figcaption></figure><h3>The Guide to Contributing</h3><p>When you want to help out with an open-source project, it’s usually best to start by checking if there’s a guide for contributors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*Ei6d4S7ev2slQ8pserWXeQ.png" /><figcaption>Contributing may come with certain rules or guidelines</figcaption></figure><p>This guide tells you everything you need to know about how to get involved, like how to report problems or suggest changes. It also covers things like <a href="https://en.wikipedia.org/wiki/Code_of_conduct">Code of conduct</a> and talk to others involved in the project. Every project might have slightly different rules, so it’s important to read and follow the guide for each one. You can usually find this guide in the README section of the project. But if you can’t find it there, try looking for a file named CONTRIBUTING.md or something similar. Remember, any project you decide to contribute to should have a community channel (usually on Slack or Discord). Make sure to join them in case you need to ask questions or want to meet other contributors.</p><h4>Code of Conduct</h4><p>Most open-source projects have a Code of Conduct to make sure everyone feels safe and welcome. It’s like a set of rules for how people should treat each other in the project. Not every project has this file, but if you see one, it usually means the project is friendly and open to contributions.</p><h4>People in an Open Source Project</h4><p>In an open source project, there are different roles filled by various people:</p><p>The <strong>Author</strong>: This is the person who made the project.<br>The <strong>Owner</strong>: They’re in charge of managing the organization or repository. Sometimes, this is different from the original author.<br><strong>Contributors</strong>: These are people who add something to the project.<br><strong>Community Members</strong>: They’re the users of the project. They might join discussions or share their thoughts on where the project should go.</p><h4>Forking, Cloning, and Downloading</h4><p>Let’s say you want to start contributing to a GitHub project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1ZOKaD3xKdMk_-fa.png" /><figcaption>Project page on GitHub: <a href="https://www.jetbrains.com/opensource/">JetBrains is an active participant in the Open Source community</a></figcaption></figure><p>After reading the contribution guide and understanding the license requirements, your next step is to copy the project so you can begin working on it. This involves Forking or Cloning or Downloading. While all these actions create a copy of the project, each one functions slightly differently.</p><p><a href="https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository"><strong>Cloning</strong></a> puts a copy of the project on your own computer, including all its history. Forking puts a copy of the project onto your GitHub account, but it stays on GitHub. It also shows up in your list of projects, and you can download it to your computer. When you clone a project, you’re making a copy with the plan to give back to the original project. You’re adding changes that the original author would want to include. A Git clone creates a linked copy that stays updated with the main project.</p><p><strong>When you </strong><a href="https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo"><strong>fork</strong></a>, it’s similar to cloning, but you’re not planning to give your changes back to the original project. You’re using the project in your own way. The initial creator may not necessarily require or desire your alterations, and that’s perfectly acceptable because you’re pursuing your own unique path. A fork makes a separate copy of the project.</p><p>If you only want the code and don’t need the project’s history, you can <a href="https://docs.github.com/en/get-started/start-your-journey/downloading-files-from-github"><strong>download</strong></a><strong> it as a zip file</strong>. This is smaller because it’s compressed, and it doesn’t include the project’s full history. You might do this if you plan to share the code as a zip file. Sometimes it’s easier to have a zip file in the cloud than to clone the entire project.</p><h4>Where to Begin and Find Open Source Projects</h4><p>If you’re looking to start contributing to open source projects, there are several places you can check out:</p><p>🌟 <a href="https://firstcontributions.github.io/">First Contributions</a>: This GitHub project offers resources to help you begin contributing in just five minutes.</p><p>⭐<a href="https://up-for-grabs.net/#/">Up For Grabs</a>: Here, you’ll find a curated list of tasks that are ideal for beginners.</p><p>🌟<a href="https://hacktoberfest-projects.vercel.app/">Hacktoberfest</a> Projects: This resource categorizes opportunities by coding language. While Hacktoberfest officially takes place in October, you can contribute at any time.</p><p>⭐RAPIDS: <a href="https://github.com/rapidsai">RAPIDS software</a> is built on the CUDA-X AI library package, allowing you to run data science and analytics pipelines entirely on GPUs.</p><p>🌟<a href="https://github.com/facebookresearch/llama">Llama 2 by Meta and Microsoft</a> : Developed by Meta and Microsoft, Llama 2 is the next generation of Meta’s open source large language model. It’s available for both research and commercial use, making it a promising project to contribute to.</p><p>⭐<a href="https://github.com/Theano/Theano.git">Theano</a>: This Python library enables you to define, optimize, and evaluate mathematical expressions, particularly those involving multi-dimensional arrays (numpy.ndarray).</p><h4>Before You Begin</h4><p>🚫When deciding to contribute to open source projects, it’s important to choose one that you genuinely care about, not just because it’s popular. It’s best to pick something you use personally or at work, so you can enjoy the process of making it better.</p><p>🚫Don’t feel like you have to understand the entire code base before starting. Many projects are large, and trying to master everything before contributing might lead to burnout. Instead, get a quick overview of the structure and start exploring as you encounter specific issues. This way, you’ll always have a clear goal in mind.</p><p>🚫Don’t obsess over making your code perfect before submitting it. Being agile means taking what you have, making small improvements, and submitting it for review. Take feedback and continue refining. Remember, it’s the product experience that matters most to users, not just the code.</p><h3>In summary</h3><p>Whether you join the open source community or not, the key is to have fun, share knowledge, and grow with others who share your interests. And if you decide to contribute, do it with enthusiasm and enjoyment.</p><h3>Resources to learn and contribute to <strong>open source</strong></h3><ul><li><a href="https://www.youtube.com/watch?v=nLRL_NcnK-4"><strong>Python</strong> </a>— <strong>which is developed under an OSI-approved open source license</strong>, making it freely usable and distributable, even for commercial use. Learn more on <a href="https://www.python.org/">https://www.python.org/</a>.</li><li><a href="https://www.youtube.com/watch?v=ROjZy1WbCIA"><strong>Linux</strong></a> — <strong>which is the best-known and most-used open source operating system</strong>. Anyone can run, study, modify, and redistribute the source code, or even sell copies of their modified code, as long as they do so under the same license. Learn more on <a href="https://www.linux.org/">https://www.linux.org/</a>.</li><li><a href="https://www.youtube.com/watch?v=XFqm_ILuhs0&amp;list=PLt1SIbA8guusxiHz9bveV-UHs_biWFegU"><strong>Apache Kafka</strong></a> — which is an open-source distributed event streaming platform used by thousands of companies for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications. Learn more on <a href="https://kafka.apache.org/">https://kafka.apache.org/</a>.</li><li><a href="https://www.youtube.com/watch?v=6ngxBkx05Fs"><strong>MLFlow</strong></a> — which is an open-source platform for managing the entire machine learning process, from creating and packaging models to deploying them. MLFlow lets you handle everything in one place. Learn more on <a href="https://mlflow.org/">https://mlflow.org/</a>.</li><li><a href="https://www.youtube.com/watch?v=oO4ZGdq5YP0">Neo4j </a>— <strong>Neo4j Community Edition</strong> is fully open source, licensed and distributed under GPL v3. It is one of the most popular modern graph database management platforms. Learn more on <a href="https://neo4j.com/open-source-project/">https://neo4j.com/open-source-project/</a>.</li></ul><h3><strong>Also</strong></h3><ul><li><strong>Learn with </strong><a href="https://www.youtube.com/watch?v=00GKzGyWFEs&amp;list=PLo2EIpI_JMQvWfQndUesu0nPBAtZ9gP1o"><strong>Hugging Face</strong></a> ,</li><li><strong>Learn how to Add Licensing to Your </strong><a href="https://www.geeksforgeeks.org/how-to-add-licensing-to-your-open-source-project-on-github/"><strong>Open Source Project on GitHub</strong></a> .</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29065159c04d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/k-minds-2024/contributing-to-open-source-projects-29065159c04d">Contributing to Open Source Projects</a> was originally published in <a href="https://medium.com/k-minds-2024">DataPoint Articles</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[K-Minds 2024]]></title>
            <link>https://medium.com/k-minds-2024/k-minds-2024-6c64c2e4481c?source=rss-e7eef676dd3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c64c2e4481c</guid>
            <dc:creator><![CDATA[Arpine Keyan]]></dc:creator>
            <pubDate>Sun, 07 Jul 2024 19:19:28 GMT</pubDate>
            <atom:updated>2024-07-13T16:21:22.819Z</atom:updated>
            <content:encoded><![CDATA[<h4>DataPoint Armenia-ն տվյալագետներ է պատրաստում</h4><p>Հարգելի ընթերցող,<br>բարի գալուստ DataPoint Armenia-ի Medium-ի էջ: <br>Մենք այստեղ ենք՝ պատմելու քեզ մեր առաքելության, տեսլականի և մեր ընթացիկ K-minds ծրագրի մասին: Այստեղ դու կգտնես նաև նորություններ մեր վերջին նախագծերի և քեզ հետաքրքրող այլ թեմաների շուրջ:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4TAbVVj1oOTBLr2MHkj_yQ.png" /></figure><p>Վստահ եմ հետաքրքեց քեզ, գնացինք առաջ:</p><h3>Ի՞նչ է K-Minds-ը</h3><p>Պատկերացրու տվյալագիտության ուսուցման ծրագիր, որտեղ նույնիսկ ձանձրալի մասերը դառնում են գրավիչ և զվարճալի՝ թույլ տալով կենտրոնանալ տվյալների միջոցով խնդիրների լուծման ամենահետաքրքիր կողմերի վրա միայն: Պատկերացրեցի՞ր։ Այդպիսի ծրագիր է K-Minds-ը, որի չորս հիմնական հատկանիշներն են՝</p><ul><li><strong>Ուսումնական պարապմունքներ</strong>. Մենք չենք խրախուսում ձանձրալի տեսական ուսուցումը: Տվյալների գիտության ուսուցման լավագույն ձևն ըստ մեզ ինտերակտիվ դասերի, խմբային քննարկումների, մրցույթների կազմակերպման ու անցկացման մեջ է։ Ավելին, մենք հաղթողներին ոգևորելու համար նրանց նվերներ ենք մատուցում:<br>Հաճույքով սովորելը մեր գերագույն նպատակն է:</li><li><strong>Գործնական պարապմունքներ</strong>. դու երևի սովոր ես գործ ունենալ միայն մաքուր և կիրառման պատրաստ տվյալների հետ երբ տվյալագիտություն ես սովորում: Դե իսկ մեզ մոտ լայն տարածում գտած ու արդեն կիրառման պատրաստ տվյալների փոխարեն աշխատում ենք մեր գործընկերոջ իրական ու բարդ տվյալների հետ, որոնք ուրիշ ոչ մի տեղ չկան: Ու ինչպես դու արդեն հասկացար, ի սկազբանե վերլուծության ճիշտ արդյունք չի տրամադրվում, քանի որ այն պարզապես չկա։ Ծրագրի մասնակիցներին հնարավորություն է տրվում զգալ տվյալների մշակման և կանխատեսումների ողջ դժվարությունն ու պատասխանատվությունը։ Սա իհարկե արվում է անվտանգ միջավայրում՝ մեր մասնագետի մշտական աջակցության պայմաններում:</li><li><strong>Որակի ապահովում</strong>. Դասընթացները, որտեղ արձագանքները չեն լսվում, անցյալում են: Հետադարձ կապը խրախուսվում և օգտագործվում է պարբերաբար՝ ուսման գործընթացը բարելավելու նպատակով: Ծրագրի այս մասը դասընթացի լավ ու վատ կողմերի մասին կազմակերպիչների հետ խոսելու և մեր մասնակիցների մտահոգություններն ու առաջարկները կիսելու տեղ է։ Այն մեզ թույլ է տալու յուրաաքանչուր քայլի հետ ավելի ու ավելի լավացնել գործընթացը:</li><li><strong>Առաջնորդություն</strong>. Ծրագի մասնակիցների համար մենք խուսափում ենք տիպիկ ներկայացման ձևերից: Մեր առաջնորդների օգնությամբ մասնակիցներին հնարավորություն է տրվում կառուցել ինքնատիպ ներկայանալի ձև՝ հիմնված յուրաքանչյուրի անհատական հմտությունների ու գիտելիքի վրա։ Սրանով է, որ ծրագրի մասնակիցները պետք է կարողանան առանձնանալ բազմաթիվ այլ տվյալագետներից: Առաջնորդների աջակցությունը շարունակական է և չի ավարտվում ծրագրի ավարտի հետ մեկտեղ, քանի որ բացի ուսուցման կազմակերպումից ու անցկացումից, մեր առաջնային նպատակներից մեկն էլ տվյալագետների համայնքի կերտումն ու զարգացումն է։</li></ul><blockquote>Մենք քաջալերում անընդհատ կրթվել!!!</blockquote><h3>Ո՞վ է կանգնած գաղափարի հետևում</h3><p>DataPoint Armenia-ն շահույթ չհետապնդող կազմակերպություն է, որն իր առաջ նպատակ է դրել կապ ստեղծել աշխարհասփյուռ հայ տվյալագետների համայնքների միջև՝ գիտելիքների ու փորձի փոխանակման համար: Վերջին մի քանի տարվա ընթացում անընդմեջ աշխատելով տվյալների գիտության ոլորտում հմուտ մասնագետների և կազմակերպությունների հետ՝ մենք ստեղծել ենք վեբինարներ, սեմինարներ և այլ ռեսուրսներ՝ տվյալների գիտության նկատմամբ հետաքրքրությունը խթանելու նպատակով: Դե իսկ այժմ մեր հիմնական ուշադրությունը կենտրոնացած է նոր սերնդի հայ տվյալագետների զարգացման վրա՝ մեր նոր ծրագրի՝ K-Minds-ի միջոցով:</p><p><a href="https://www.datapoint.am/">DataPoint Armenia</a></p><h3><strong>Ինչու՞ միանալ մեզ</strong></h3><p>Մենք համախմբել ենք տվյալագետների Հայաստանից և ամբողջ աշխարհից՝ ձևավորելով համագործակցության և փորձի փոխանակաման ամուր ցանց: Այս նախաձեռնությունը մասնակիցներին հնարավորություն է տալիս ձեռք բերել նոր հմտություններ և գիտելիքներ: Համագործակցությունը շատ ողջունելի է։ Դու կարող ես միանալ մեզ՝ դառնալով</p><ul><li>տվյալներ տրամադրող գործընկեր կազմակերպություն,</li><li>առաջնորդ ուսուցիչ</li><li>կամ պարզապես մեր մեծ համայնքի անդամ:</li></ul><p>Միասին մենք նպատակ ունենք զարգացնել տվյալագիտության ոլորտը Հայաստանում: Միացի՛ր մեր թիմին:</p><h3>Իսկ մինչ այժմ ու ներկա պահին ի՞նչ է կատարվում</h3><ul><li>Վերջին մի քանի ամիսների ընթացքում մենք թարմացրել ենք ուսումնական պարապմունքների թեմաներն ու նյութերը՝ ժամանակակից տեխնոլոգիաների հետ արդիական մնալու և ուսումնական գործընթացների կատարելագործման նպատակով։</li><li>Մենք նաև համագործակցության եզրեր ենք գտել մեր հերթական գործընկերոջ հետ, որպեսզի մեր ծրագրի մասնակիցների համար ապահովենք իրական տվյալների հետ աշխատելու հնարավորություն՝ լավագույնս պատրաստելով մեր մասնակիցներին ապագայում աշխատավայրում իրական խնդիրների հետ առնչվելուն:</li><li>Այս ամենի հետ մեկտեղ ընթանում էր մասնակիցների ընտրության գործընթացը։ Այն դժվար էր, քանի որ մենք պետք է ընտրեինք բազմաթիվ հիանալի թեկնածուներից միայն սահմանափակ թվով մասնակիցների: Այս շրջանը հագեցած էր ոգեշնչող զրույցներով և ոլորտի կատարելագործման վերաբերյալ արժեքավոր մտքերի փոխանակմամբ: Մեզ շատ դժվար էր մերժել որոշ դիմորդների, ուստի մենք ողջունում ենք և խրախուսում մեզ միանալու բոլորի ցանկությունն, ով նպատակ ունի միանալ մեր նախաձեռնություններին ու նպաստել մեր համայնքի զարգացմանը:</li><li>Եվ ի վերջո, այս քրտնաջան աշխատանքից հետո, ուրախ ենք հայտնել ի լուր աշխարհի, որ K-minds 2024-ը սկսված է։ Դե իսկ արդեն ավարտված, բայց բոլորովին էլ անցյալ չդարձած K-minds 2022-ի մասին հետաքրքիր մանրամասներ կարդացեք մեր նախորդ հոդվածներից մեկում՝</li></ul><p><a href="https://datapointarmenia.medium.com/k-minds-datapoint-armenias-in-house-data-science-factory-655a7660edbc">K-Minds: DataPoint Armenia’s In-house Data Science Factory</a></p><p>Հոդվածների այս շարքում մենք կիսվելու ենք ինչպես մեր ծրագրի մանրամասներով, այնպես էլ մեզ ու քեզ հետաքրքրող շատ այլ թեմաներով: Դե իսկ դրան զուգահեռ K-minds 2024-ի մեր մասնակիցները սովորում ժրաջան՝ ամենօրյա գրաֆիկով։</p><h3>Ի՞նչ սպասել ապագայում</h3><p>Այսպիսով մենք նպատակ ունենք մեծացնել մեր համայնքը և դա ուզում ենք անել՝ հիմնվելով գիտելիքների փոխանակման ցանկության վրա: Սա է այն մոտեցումը, որ պետք է խրախուսի տվյալագիտությամբ հետաքրքրվողներին հետևել մեր հրապարակումներին, սովորել մեզ հետ և միգուցե մի օր դառնալ մեզանից մեկը:<br>Մեր հրապարակումների հիմնական նպատակն է՝</p><ul><li>տվյալների գիտության ոլորտում նորագույն տեխնոլոգիաների վերաբերյալ գիտելիքների և փորձի փոխանակում,</li><li>մասնագիտական աճի և աշխատանքի փնտրտուքների վերաբերյալ կարևոր թեմաներով քննարկումների կազմակերպում ոլորտի առաջատար փորձագետների հետ,</li><li>թարմացումների ներկայացում մեր K-minds ծրագրի և այլ կարևոր իրադարձությունների վերաբերյալ:</li></ul><p>Մենք նաև հրավիրում ենք մեր համայնքի անդամներին և տվյալների գիտության սիրահարներին <strong>միանալ հոդվածներ գրելու մեր մարտահրավերին</strong>։ <br>Սրանով մենք նպատակ ունենք <strong>խթանել հայերենով գրվող հոդվածներն ու ընդհանրապես զարգացնել տվյալների գիտության վերաբերյալ հայերեն տեքստերի քանակն ու որակը</strong>:<br>Եթե ​​սա հուզում է քեզ նույնքան, որքան մեզ, միացի՛ր մեզ և կիսվի՛ր քո մտքերով:</p><blockquote>Մենք շատ ոգևորված ենք այս պահին և անհամբեր սպասում ենք նորանոր հոդվածների հրապարակմանը:</blockquote><p>Եթե ասելիք ունես մեզ, գրիր մեր admin@datapoint.am էլ փոստին կամ կարծիք հայտնիր՝ այս հոդվածի մեկնաբանություններում։<br>Սիրով սպասում ենք քո մտքերին ու առաջարկներին:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rbt0eDna3epJgb5U1QzRlA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c64c2e4481c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/k-minds-2024/k-minds-2024-6c64c2e4481c">K-Minds 2024</a> was originally published in <a href="https://medium.com/k-minds-2024">DataPoint Articles</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[K-Minds 2024]]></title>
            <link>https://medium.com/k-minds-2024/k-minds-2024-b1c0840069a8?source=rss-e7eef676dd3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1c0840069a8</guid>
            <category><![CDATA[learning-data-science]]></category>
            <category><![CDATA[armenian-data-science]]></category>
            <category><![CDATA[datapoint-armenia]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Arpine Keyan]]></dc:creator>
            <pubDate>Sun, 07 Jul 2024 19:18:00 GMT</pubDate>
            <atom:updated>2024-07-13T16:23:19.116Z</atom:updated>
            <cc:license>https://creativecommons.org/publicdomain/mark/1.0/</cc:license>
            <content:encoded><![CDATA[<h4>DataPoint Armenia’s In-house Data Science Factory</h4><p>Dear Reader,</p><p>Welcome to DataPoint Armenia’s Medium page. Here, we will share our mission, vision, and details about our current K-minds program. You’ll also find updates on our latest projects and topics of interest.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4TAbVVj1oOTBLr2MHkj_yQ.png" /></figure><p>Intriguing? Keep reading!</p><h3>What is K-Minds?</h3><p>Imagine a data science learning program where even the boring parts become engaging and fun, allowing you to focus on the exciting problem-solving aspect of data! <br>Here are the four key features we offer:</p><ul><li><strong>Learning Sessions:</strong> Boring theoretical learning is avoided. Best practices in data science are guided through interactive sessions, group discussions, competitions, and sometimes gifts for winners. <br>Learning with joy is the goal!</li><li><strong>Hands-On Projects:</strong> Clean, clear test data is replaced with messy, complex data from a data partner. The right outcome of the analysis is not provided, giving a chance to feel responsible for data processing and insights. This is done in a safe environment, ensuring support is always available.</li><li><strong>Quality Assurance:</strong> Courses where feedback is not heard are a thing of the past. Feedback is listened to and used to improve the process after each interaction. This is a place to talk and share concerns about the course, aiming to rise together.</li><li><strong>Mentorship:</strong> Sample resumes are avoided. Mentorship and resume-building sessions help create an outstanding resume that stands out among data scientists. Step-by-step guidance is provided, with support continuing after the program ends, fostering a sense of community.</li></ul><blockquote>Bring all your enthusiasm and let’s begin learning!!!</blockquote><h3>Who stands behind the idea?</h3><p>We are DataPoint Armenia — a non profit organization connecting Armenian data science communities globally to share knowledge and experiences. By working with professionals and organizations in the field of data science worldwide, we’ve created webinars, workshops and other resources to promote interest in data science. Right now, our main focus is on developing the next generation of Armenian data scientists through our career development program, K-Minds!</p><p><a href="https://www.datapoint.am/">DataPoint Armenia</a></p><h3>Why join us?</h3><p>Aspiring data scientists in Armenia and from around the world are brought together to collaborate with top professionals, forming a strong network. This initiative allows participants to gain new skills and knowledge. Contributions are encouraged, whether by becoming a data partner, learning instructor, mentor, or simply joining the community. Together, we aim to elevate the data science environment in Armenia.</p><blockquote>Join us to take Armenian Data Science to the next level!</blockquote><h3>What’s happening right now?</h3><ul><li>Over the last few months, we have <strong>updated the learning session schedule</strong> to stay up to date with modern technologies, improved processes, and added new learning materials.</li><li>We also <strong>partnered with a company</strong> to provide real corporate data for our apprenticeship like program, ensuring our participants, the <strong>K-mind</strong>ers, are industry-ready.</li><li>The <strong>selection process</strong> was challenging as we had to choose a limited number of participants from many great candidates. This period was filled with inspiring conversations and valuable insights on improving the program. While it was tough to reject some applicants, we remain a welcoming community and encourage everyone to join us, share our plans, and help us grow.</li><li>Now, after all this hard work, we have <strong>launched K-minds 2024</strong> and are excited to share the details in these blog series. <a href="https://datapointarmenia.medium.com/k-minds-datapoint-armenias-in-house-data-science-factory-655a7660edbc">To learn more</a> about <strong>K-minds 2022 </strong>read our previous article and coming ones for <strong>K-minds 2024.</strong></li></ul><blockquote>We’re just getting started! Follow us for more to come.</blockquote><h3>What is next?</h3><p>As mentioned, we aim to grow our community through knowledge sharing. This approach will encourage you to follow our blog posts, learn with us, and collaborate. <br>Our blog’s main goal is to:</p><ul><li><strong>Share insights</strong> on new technologies and tools in data science,</li><li><strong>Provide tips</strong> on resumes, portfolios, and career building from industry experts,</li><li><strong>Offer updates</strong> on our K-minds program and important events.</li></ul><p><strong>We also invite community members and data science enthusiasts to join our writing challenges and help develop data science writing in Armenian.</strong></p><p>If this excites you as much as it does us, stay tuned for more and feel free to share your thoughts. We’re excited to be at this point and look forward to sharing more interesting articles with you.</p><blockquote>Join us to build the proper future of Armenian Data Science!</blockquote><h3>Have an idea?</h3><p>For short ideas comment right here and for longer ones email us at admin@datapoint.am.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rbt0eDna3epJgb5U1QzRlA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1c0840069a8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/k-minds-2024/k-minds-2024-b1c0840069a8">K-Minds 2024</a> was originally published in <a href="https://medium.com/k-minds-2024">DataPoint Articles</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The models I love: Logistic Regression]]></title>
            <link>https://medium.com/@keyanarpin/the-models-i-love-logistic-regression-794625c48320?source=rss-e7eef676dd3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/794625c48320</guid>
            <category><![CDATA[logistic-regression]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Arpine Keyan]]></dc:creator>
            <pubDate>Mon, 20 Feb 2023 03:28:07 GMT</pubDate>
            <atom:updated>2023-02-20T03:28:07.509Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lEsjfu8d1l-WozP8NnLAfw.jpeg" /></figure><p>A few years back, I became enthusiastic about the idea of using programming to automate some of my daily tasks. However, I had no prior knowledge of programming and was even less familiar with how <a href="https://en.wikipedia.org/wiki/Server_(computing)">servers</a> and the <a href="https://en.wikipedia.org/wiki/World_Wide_Web">World Wide Web</a> worked. Despite feeling overwhelmed by the amount of new information I needed to learn, I found the prospect of acquiring new skills to be incredibly fascinating. I spent all of my free time thinking about my studies and dreaming about potential projects.</p><p>As I continued to delve into the field of technology, I came to realize that the learning never stops. To stay ahead, you must continually acquire new knowledge and skills. The world of software is constantly evolving, and even the most cutting-edge software is quickly replaced by something more advanced. Despite this, the field of technology offers many exciting and rewarding opportunities. For me, one of the most intriguing areas of technology is machine learning. While this field is often not covered in traditional computer science programs, it is becoming increasingly ubiquitous and is transforming the software development process across all industries. Many people now ask me for advice on the best way to get started with machine learning.</p><h4>Machine Learning: brief intro</h4><p>Machine learning is a rapidly evolving field that is changing the way we live and work. This advanced technology uses algorithms and statistical models to analyze and learn from data, making predictions and decisions without explicit programming.</p><p>Next you will find a breakdown of the primary categories of Machine Learning along with a concise description, as well as some examples of renowned algorithms and their use cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/1*RKoB-dvaTg8gRr7EaboOHw.png" /></figure><p>One of the fun ways to get acquainted with machine learning is to study the most popular models, make notes or even write articles and practice using them. In this particular article, I will discuss one such model and explain its applications and uses.</p><blockquote>I have given the title “The models I love” to this collection of articles.</blockquote><h3>The models I love: Logistic Regression</h3><p>Logistic Regression is a simple parametric classification algorithm that is one of the most important algorithms in supervised learning — more generally Logistic Regression definitely should be part of every ML engineer’s toolbox. It is a technique borrowed by machine learning from the field of statistics and is the go-to method for binary classification problems (problems with two class values), i.e. it calculates or predicts the probability of a binary (yes/no, 1/0, spam/not spam, infected/not infected) event occurring. An example of logistic regression could be applying machine learning to determine if a person is likely to be infected with COVID-19 or not.</p><p>The algorithm has come a long way and culminated in multiple versions with further improvements per iteration. Here, I’ll take a deeper look into the evolution and current applications of the <a href="https://en.wikipedia.org/wiki/Logistic_regression">Logistic Regression algorithm</a>, focusing on the following:</p><p>· <em>What place does Logistic Regression rank among Machine Learning algorithms and what does it do?</em></p><p><em>· Don’t get confused by its name!</em></p><p><em>· Logistic regression and probabilities</em></p><p><em>· What we know about Sigmoid/Logistic Function</em></p><p><em>· Behind the Scene: Understanding Logistic Regression Mathematics Working</em></p><p><em>· A simple implementation with scikit-learn</em></p><p><em>· Metrics</em></p><p><em>· Advantages and Disadvantages of Logistic Regression</em></p><p><em>· Applications of Logistic Regression in real world problems</em></p><p><em>· Key insights</em></p><h4><strong>What place does Logistic Regression rank among Machine Learning algorithms and what does it do?</strong></h4><p>The idea of Logistic Regression is to find a <strong>relationship between features and probability of particular outcome </strong>based on its ‘logistic function’.</p><p>Overall, while logistic regression is commonly used for binary classification problems, it can also be used for multiclass classification problems with appropriate modifications — the model can be extended to use a “one-vs-all” approach to estimate the probability of an instance belonging to each of the possible classes.</p><p>In simple words, it predicts the probability of occurrence of an event by fitting data to a logit function. Hence, it is also known as logit regression. Since, it predicts the probability, its output values lie between 0 and 1 (as expected).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/966/1*u4dbIL5JoCq1Jy5ULemJ4Q.png" /></figure><h4><strong>Don’t get confused by its name!</strong></h4><p>It is a classification not a regression algorithm. Here is brief explanation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*0lMq6dbRbLLVxPvnX7N_sA.png" /></figure><p>It is named ‘Logistic Regression’ because its underlying technique is quite the same as Linear Regression.</p><p>The term “Logistic” is taken from the Logit function that is used in this method.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U5n5yJKz-qm9v7olJja72g.png" /></figure><p>Here is the simplified pipeline how Logistic Regression works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WVshFnTR0_5I5AhD3N6Gmw.png" /></figure><h4><strong>Logistic regression and probabilities</strong></h4><p>In linear regression, the independent variables (e.g., age and gender) are used to estimate the specific value of the dependent variable (e.g., body weight).</p><p>In contrast, logistic regression deals with a dichotomous dependent variable that can take only two values (0 or 1). The aim is to estimate the probability that the outcome will be 1. This means: How likely is it that the disease is present if the person under consideration has a certain age, sex and smoking status.</p><p>To illustrate this, let’s consider another example. Suppose your friend gives you a quiz to solve. There are only 2 outcome scenarios — either you solve it or you don’t. Now imagine, that you are being given wide range of quizzes in an attempt to understand which subjects you are good at. The outcome to this study would be something like this — if you are given a trigonometry based tenth grade problem, you are 70% likely to solve it. On the other hand, if it is professor level history question, the probability of getting an answer is only 30%.</p><blockquote><strong>This is what Logistic Regression provides you — it predicts the probability and uses for it a sigmoid function.</strong></blockquote><h4><strong>What we know about Sigmoid/Logistic Function</strong></h4><p>The logistic function, also called the <a href="https://en.wikipedia.org/wiki/Sigmoid_function#:~:text=8%20External%20links-,Definition,refer%20to%20the%20same%20object.">sigmoid function</a> was developed by statisticians to describe properties of population growth in ecology, rising quickly and maxing out at the carrying capacity of the environment. It’s an S-shaped curve that can take any real-valued number and map it into a value between 0 and 1, but never exactly at those limits.</p><blockquote><strong>It σ : R → [0, 1] “squeezes” points from the real line into [0, 1].</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/202/1*OPaQrWq1Ydf9afYtZ4RD8Q.png" /></figure><p>Where e is the base of the natural logarithms (<a href="https://en.wikipedia.org/wiki/E_(mathematical_constant)">Euler’s number </a>or the EXP() function in your spreadsheet) and value is the actual numerical value that you want to transform.</p><p>You may wonder how to model this function to visualize it with Python.</p><p>Here you are:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*h_J6rFPXaKiRrppxO4trxw.png" /></figure><p>A few mathematical properties of Sigmoid/Logistic Function include:</p><p>· <em>Domain: (-∞, +∞)</em></p><p><em>· Range: (0, +1)</em></p><p><em>· σ(0) = 0.5</em></p><p><em>· The function is monotonically increasing.</em></p><p><em>· The function is continuous everywhere.</em></p><p><em>· The function is differentiable everywhere in its domain.</em></p><p><em>· Numerically, it is enough to compute this function’s value over a small range of numbers, e.g., [-30, +30]. For values less than -30, the function’s value is almost zero. For values greater than 30, the function’s values are almost one.</em></p><p>But why Sigmoid function? Suppose we have a dataset with data points in two extreme clusters (see the plot below). It’s clear that we need something like a squiggly line (or a curvy “S” shaped blue rule in right plot) to correctly separate our data points.</p><p>Logistsic regression algorithm is a scheme to search the most optimal “S” shaped line.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*PeZ4Ni6S6jwEpOi3FsciIw.png" /></figure><h4><strong>Behind the Scene: Understanding Logistic Regression Mathematics Working</strong></h4><p>To build a logistic regression model, the linear regression equation is used as the starting point and then it is necessary to restrict the value range for the prediction to the range between 0 and 1. To ensure that only values between 0 and 1 are possible, the logistic function <em>f</em> is used.</p><p>I gathered the process of mathematical implementation in one image:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/1*8vIKHJ6qfiLJho-4bqRYhQ.png" /></figure><p>Pay attention on the fact, that putting the linear regression function in sigmoid/logit function, ensures that no matter in which range the x values are located, only numbers between 0 and 1 will come out. Let’s consider an example. The probability that for given values of the independent variable the dichotomous /divided into two distinct parts/ dependent variable y is 0 or 1 is given by formulas:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/1*M4HDTzBhO3fh8UgXcArzCQ.png" /></figure><p>So to calculate the probability of a person being sick or not using the logistic regression for the example above, the model parameters <em>b1</em>, <em>b2</em>, <em>b3</em> and <em>a</em> must first be determined. Once these have been determined, the equation for the example above is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*Ov_xg7DXrdxtqGro_yWk1A.png" /></figure><p>It is clear that all this is studied not to apply in daily work but to have general knowledge and a good understanding of the algorithm as most of us will use libraries like scikit-learn to solve problems fast and easy. So let’s have a look at it.</p><h4><strong>A simple implementation with scikit-learn</strong></h4><p>For this simple example I am going to use <a href="https://en.wikipedia.org/wiki/Iris_flower_data_set">Iris dataset</a>. It is a classic dataset in the field of machine learning and data science and is often used as a benchmark dataset to test and compare different machine learning algorithms. The dataset contains 150 samples of iris flowers, with 50 samples of each of three different species: Iris setosa, Iris versicolor, and Iris virginica.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*DNbVh5rKylj3ynqmFb0hog.png" /></figure><p>The Iris dataset has three classes, so it is not a binary classification problem by default. However, we can perform binary classification on the Iris dataset by considering only two of the three classes. For example, we can create a binary classification problem by predicting whether an iris flower is Iris setosa or not (i.e., Iris versicolor or Iris virginica). To do this, we would first need to convert the target variable (species) into a binary variable, where 1 indicates Iris setosa and 0 indicates either Iris versicolor or Iris virginica.</p><p>Here’s some sample code in Python /with step by step comments/ using <a href="https://en.wikipedia.org/wiki/Scikit-learn">scikit-learn</a> to perform binary classification on the Iris dataset by predicting whether an iris flower is Iris setosa or not:</p><pre>from sklearn.datasets import load_iris<br>from sklearn.linear_model import LogisticRegression<br>from sklearn.model_selection import train_test_split<br>from sklearn.metrics import accuracy_score<br><br># Load the Iris dataset<br>iris = load_iris()<br><br># Create a binary target variable<br>y = (iris.target == 0).astype(int)<br><br># Split the dataset into training and testing sets<br>X_train, X_test, y_train, y_test = train_test_split(iris.data, y, test_size=0.2, random_state=0)<br><br># Create a logistic regression model<br>model = LogisticRegression()<br><br># Train the model on the training data<br>model.fit(X_train, y_train)<br><br># Predict the classes of the test set<br>y_pred = model.predict(X_test)<br><br># Calculate the accuracy of the model<br>accuracy = accuracy_score(y_test, y_pred)<br>print(&quot;Accuracy:&quot;, accuracy)</pre><p>In this code, I first load the Iris dataset using scikit-learn’s load_iris function. Then it is splitted into training and testing sets using the train_test_split function.</p><p>Next, a logistic regression model is created using the LogisticRegression class, and then the model is trained on the training data using the fit method.</p><p>Finally, the trained model is used to predict the classes of the test set using the predict method, and then print the accuracy of the model using the score method.</p><h4><strong>Metrics</strong></h4><p>The most important task in building any machine learning model is to evaluate its performance. How would we know that when to stop the training and evaluation and when to call it good? There are several <a href="https://en.wikipedia.org/wiki/Evaluation_of_binary_classifiers">metrics</a> that can be used to evaluate the performance of a logistic regression model.</p><p>Here are some of the most common metrics:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*XJL23IVaI1jepnAAzdhDbw.png" /></figure><p>When calculating metrics values following descriptors are used:</p><p>· <em>TP — true positives</em></p><p><em>· TN — true negatives</em></p><p><em>· FP — false positives</em></p><p><em>· FN — false negatives.</em></p><p>Understanding how well a machine learning model will perform on unseen data is the main purpose behind working with these evaluation metrics. Metrics like accuracy, precision, recall are good ways to evaluate classification models for balanced datasets, but if the data is imbalanced then other methods like ROC/AUC perform better in evaluating the model performance.</p><p>The choice of metric depends on the specific problem and the desired trade-offs between different aspects of the model’s performance.</p><h4>Advantages and Disadvantages of Logistic Regression</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*mPd2girVcLXdO5-K1dpB3g.png" /></figure><h4><strong>Applications of Logistic Regression in real world problems</strong></h4><p>Logistic regression has a wide range of applications in various fields. Some common applications of logistic regression are:</p><p>·<em> Medical research: Logistic regression can be used to predict the probability of a disease based on various risk factors such as age, gender, lifestyle, and other medical conditions.</em></p><p><em>· Marketing: Logistic regression can be used to predict the probability of a customer buying a particular product or service based on their demographic and behavioral characteristics.</em></p><p><em>· Finance: Logistic regression can be used to predict the probability of default on a loan based on various financial and demographic factors.</em></p><p><em>· Natural language processing: Logistic regression can be used to predict the probability of a particular sentiment or emotion expressed in text data based on various linguistic features.</em></p><p><em>· Fraud detection: Logistic regression can be used to predict the probability of a fraudulent transaction based on various features such as transaction amount, location, and customer behavior.</em></p><h4>Key insights</h4><p>Logistic regression is a significant model for categorization and its significance is growing, which might appear unexpected. The reason for this is that while it may not always deliver superior outcomes compared to more intricate models like neural networks, it is always straightforward to explain and that is its main advantage.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=794625c48320" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python-ի “cmath” մոդուլը։]]></title>
            <link>https://medium.com/code-republic/python-%D5%AB-cmath-%D5%B4%D5%B8%D5%A4%D5%B8%D6%82%D5%AC%D5%A8-e4a723581f6f?source=rss-e7eef676dd3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4a723581f6f</guid>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[cmath]]></category>
            <category><![CDATA[modules]]></category>
            <category><![CDATA[picsart-academy]]></category>
            <dc:creator><![CDATA[Arpine Keyan]]></dc:creator>
            <pubDate>Fri, 27 May 2022 12:14:13 GMT</pubDate>
            <atom:updated>2022-05-27T12:14:13.507Z</atom:updated>
            <content:encoded><![CDATA[<h4>Ծրագրավորման լեզուներ</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ti5fod--1Dfuj-Tki2YdFg.png" /></figure><p>Եթե դուք ծրագրավորող եք, ապա առօրյա աշխատանքում հաճախ եք առնչվում այս կամ այն բարդության մաթեմատիկական հաշվարկների կատարմանը անկախ նրանից՝ աշխատում եք գիտական նախագծի, ֆինանսական հավելվածի թե որևէ այլ տեսակի ծրագրավորման խնդրի վրա։</p><blockquote>Մաթեմատիկան ու ծրագրավորումը սերտ կապված են միմյանց հետ ու դա բոլորովին զարմանալի չէ, հաշվի առնելով այն փաստը, որ մաթեմատիկական մտածելակերպն է, որ բերում է ալգորիթմների հաջող կիրառմանը և, ինչու չէ, նաև նոր ալգորիթմների ստեղծմանը։</blockquote><p>Մաթեմատիկայի կիրառումը ծրագրավորման մեջ հատկապես մեծ է խաղերի ստեղծման, արհեստական բանականության, մեքենայական ուսուցման, կրիպտոարժույթի խնդիրներով զբաղվելու պարագայում։ Սա իր մեջ ներառում է մաթեմատիկայի այնպիսի ճյուղեր, ինչպիսիք են՝ հանրահաշիվը, եռանկյունաչափությունը, ստատիստիկան, հավանականությունների տեսությունն ու երկրաչափությունը։</p><p>Մաթեմատիկական գործիքակազմն իր ողջ հնարավորությամբ արագ ու հեշտ կիրառելու համար յուրաքանչյուր ծրագրավորման լեզու ունի իր համապատասխան ներդրված գրադարաններն ու ֆունկցիաները և, բնականաբար, Python-ը բացառություն չէ։</p><p>Python-ում պարզ մաթեմատիկական հաշվարկների համար նախատեսված են ներկառուցված մաթեմատիկական օպերատորներ, ինչպիսիք են գումարումը (+), հանումը (-), բաժանումը (/) և բազմապատկումը (*): Բայց ավելի բարդ գործողություններ, ինչպիսիք են էքսպոնենցիալ, լոգարիթմական, եռանկյունաչափական կամ աստիճանային ֆունկցիաների կիրառումը, հնարավոր չէ իրականացնել նման պարզ նշանների միջոցով:</p><p>Արդյո՞ք դա նշանակում է, որ ամեն անգամ օգտագործելիս, հարկավոր է զրոյից սահմանել այս բոլոր գործառույթները:<br>Բարեբախտաբար՝ ոչ:</p><blockquote>Python-ը տրամադրում է ներկառուցված մոդուլներ, որոնք հատուկ նախատեսված են ավելի բարձր մակարդակի մաթեմատիկական գործողությունների կատարման համար։</blockquote><h4>Ինչ է մոդուլը Python-ում</h4><blockquote>Python-ում մոդուլը ծրագրի կառուցվածքային մաս է:</blockquote><p>Python-ով գրված ծրագիր պարունակող յուրաքանչյուր ֆայլ մոդուլ է, որը ներմուծում է այլ մոդուլներ, ինչպիսիք են՝ օբյեկտները և ատրիբուտները: Python ծրագրի թղթապանակը ինքնին մոդուլների փաթեթ/գրադարան է։ Փաթեթը կարող է ունենալ մոդուլներ կամ ենթաթղթապանակներ: Պարզության համար մենք կարող ենք Python-ի կառուցվածքային տարրերը նկարագրել այսպես՝</p><p><strong>Ֆունկցիա</strong> - հրահանգների հավաքածու,<br><strong>Դաս</strong> - ֆունկցիաների հավաքածու,<br><strong>Մոդուլ</strong> - դասերի հավաքածու,<br><strong>Փաթեթ/գրադարան</strong> - մոդուլների հավաքածու։</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/241/0*q7jSnTLQRs0IS8Rr.png" /></figure><p>Մոդուլները հասկանալու համար հարմար է դրանք պատկերացնել որպես սահմանումներ և հրահանգներ պարունակող ֆայլ։ Մենք կարող ենք այդ ֆայլում գրել մեր հրահանգներն ու ֆայլը պահպանել որպես file_name.py և այն օգտագործել այլ ֆայլի հրահանգներում՝ պարզապես ներմուծելով այն։</p><p>Ներմուծման համար կա մի քանի հնարավորություն՝</p><ol><li>import module_name<strong> - </strong>ներմուծելով մոդուլի անունը,</li><li>from module_name import function <strong>- </strong>մոդուլից ներմուծելով համապատասխան ֆունկցիան,</li><li>from module_name import*<strong> - </strong>մոդուլից ներմուծելով բոլոր ֆունկցիաները (“*”-ը նշելով ներմուծում ենք բոլոր ֆունկցիաները),</li><li>import module_name as m<strong> - </strong>ներմուծելով մոդուլի անունը որպես ավելի կարճ և օգտագործման համար ավելի հարմար հապավում (այստեղ “m” –ը նշվում է որպես մոդուլի՝ ծրագրում հաջորդիվ կիրառվելիք կարճ անվանում)։</li></ol><p>Python-ում բազմաթիվ են ներկառուցված մոդուլները, որոնցից թերևս ամենահայտնի և հաճախ կիրառվողներից են՝ math, cmath, datetime, urllib, request, json, re, calender, os, sys․</p><p>math մոդուլի ներմուծումն ու մի քանի հիմնական ֆունկցիաների կանչը ներկայացված են ստորև՝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*gNOBHQK4HogM9IyfBfQqdA.png" /></figure><h4>math և cmath մոդուլների տարբերությունը</h4><p>math մոդուլը հասանելիություն է տրամադրում C ստանդարտով (ստանդարտ, որը վերաբերվում է կոդի կազմմանը և սահմանված է կոմպիլյատոր ստեղծողների համար) սահմանված ֆունկցիաներին։ Սակայն այս մոդուլում սահմանված ֆունկցիաները չեն կարող օգտագործվել կոմպլեքս թվերի հետ աշխատելիս, ինչի համար էլ հենց նախատեսված է մեկ այլ՝ cmath մոդուլը։</p><blockquote>cmath մոդուլը հնարավորություն է տալիս աշխատել մաթեմատիկական ֆունկցիաների հետ, որոնք կարող են ընդունել ինչպես ամբողջ և տասնորդական, այնպես էլ` կոպլեքս թվեր՝ որպես արգումենտ։</blockquote><p>Օրինակ, math.sqrt(-1)-ի կատարման արդյունքում սխալի մասին հաղորդագրություն ենք ստանում, բայց cmath.sqrt(-1) վերադարձնում է 1j:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*qm66AodzQFabtWJpY4d5SA.png" /></figure><p>Այս տարանջատումն արված է հաշվի առնելով այն, որ օգտատերերի հիմնական մասը կոմպլեքս թվերի հետ աշխատանքի կարիք հաճախ չէ, որ ունենում է, և հիմնական գործունեությունն իրականացնում է math մոդուլի ֆունկցիոնալի շրջանակներում։</p><p>Բացի դա, cmath մոդուլի հետ աշխատելու համար անհրաժեշտ է ունենալ կոմպլեքս թվերի մասին բավականաչափ խորը գիտելիքներ։<br>Այսպիսով՝ Python-ի ստեղծողները միավորել են ներդրված բարդ մաթեմատիկական ֆունկցիաները երկու մոդուլների մեջ`</p><p>- cmath մոդուլ կոմպլեքս թվերի համար<br>- math մոդուլ բոլոր այլ տեսակի թվերի համար։</p><h4>Ի՞նչ է կոմպլեքս թիվը։</h4><p>Թվերի ներկայացման մեջ կոմպլեքս թվերի տեղն ու նշանակությունը պատկերացնելու համար հարմար է օգտվել հետևյալ ներկայացումից՝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*FI7PB9KN9tc06ngeQp9REw.png" /></figure><p>Մաթեմատիկայում կոմպլեքս թիվը թվային համակարգի տարր է, որը ներկայացվում է <strong>a + bi</strong> տեսքով,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/328/1*UXxW7T21oJVGJAdAMWXZXw.png" /></figure><p>որտեղ a և b իրական թվեր են, իսկ i-ով նշանակված տարրը կոչվում է կեղծ միավոր, բավարարում է հետևյալ արտահայտությանը՝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/86/1*ETyEopHezS0Nb1pWj4Yr7g.png" /></figure><p>Քանի որ ոչ մի իրական թիվ չի բավարարում վերը նշված հավասարմանը, René Descartes-ն այդ թվերն անվանել է «երևակայական», ընդ որում, թվի կազմության մեջ մտնող տարրերից a-ն անվանել է իրական մաս, իսկ ib-ն՝ կեղծ: Սահմանենք կոմպլեքս թվերին առնչվող մի քանի հասկացություններ։</p><blockquote>1. Կեղծ միավոր անվանում են այն «թիվը», որի համար տեղի ունի վերը նշված հավասարությունը:</blockquote><blockquote>2. Իրական b թվի և i կեղծ միավորի արտադրյալը նշանակում են bi և անվանում են կեղծ թիվ:</blockquote><blockquote>3. Կոմպլեքս թիվ կոչվում է a+bi արտահայտությունը, որտեղ a-ն և b-ն իրական թվեր են:</blockquote><blockquote>4. Եթե z=a+bi, ապա a իրական թիվն անվանում են z կոմպլեքս թվի իրական մաս՝<strong> </strong>Rez=a, իսկ bi-ն՝ z-ի կեղծ մաս՝<strong> </strong>Imz=bi:</blockquote><blockquote><em>5. Իրական </em><em>a թիվը համարվում է </em><em>a+bi կոմպլեքս թվի </em><em>b=0 մասնավոր դեպք։</em></blockquote><blockquote>6. z=a+bi –ն կոչվում է կոմպլեքս թվի հանրահաշվական տեսք։</blockquote><h4>Գործողություններ կոմպլեքս թվերի հետ</h4><blockquote>Հավասարություն</blockquote><p>Եթե a+bi և c+di կոմպլեքս թվերն իրար հավասար են, ապա a=c և b=d։</p><blockquote>Գումարում և հանում</blockquote><p>Կոմպլեքս թվերի գումարը կոմպլեքս թիվ է, որի իրական մասը հավասար է գումարելիների իրական մասերի գումարին, իսկ կեղծ մասը՝ կեղծ մասերի գումարին:</p><p>Կոմպլեքս թվերի տարբերությունը կոմպլեքս թիվ է, որի իրական մասը հավասար է տրված թվերի իրական մասերի տարբերությանը, իսկ կեղծ մասը՝ կեղծ մասերի տարբերությանը:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/473/1*-WwhDx4np_cg4LK3195WbA.png" /></figure><blockquote>Բազմապատկում</blockquote><p>Կոմպլեքս թվերի բազմապատկման կանոնը ձևակերպելու համար օգտվում ենք իրական թվերի բազմապատկման փակագծերը բացելու կանոնից՝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*0vxsFLGqi6JQOcg9HTl1tw.png" /></figure><blockquote>Բաժանում</blockquote><p>Կոմպլեքս թվերի բաժանման կանոնը ձևակերպելու համար օգտվում ենք իրական թվերի բաժանման կանոնից`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/508/1*tLZCHiN92UBzLA6wSbCPgg.png" /></figure><blockquote>Մոդուլ</blockquote><p>Կոմպլեքս թվի մոդուլ (բացարձակ արժեք) անվանում են հետևյալ թիվը՝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*FiAyCAQV8qP9AF4NFJ75KA.png" /></figure><h4>Կոմպլեքս թվի n-րդ աստիճանը</h4><p>Կոմպլեքս թվի ներկայացման մեկ այլ և որոշ դեպքերում ավելի հարմար եղանակ է ոչ զրոյական կոմպլեքս թվի եռանկյունաչափական տեսքը՝ z=r(cosθ+isinθ)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/331/1*bFjk52C0cNDIXDNMHv6Etw.png" /></figure><p>Այս դեպքում, z կոմպլեքս թիվը կսահմանվի որպես r մոդուլի և θ ֆազային անկյան համակցություն: R մոդուլը z կոմպլեքս թվի և կոորդինատների սկզբնակետի հեռավորությունն է։ θ անկյունը ժամացույցի սլաքի հակառակ անկյունն է, որը չափվում է ռադիաններով։</p><blockquote>(r, θ) զույգը կկոչվի թվի <strong>բևեռային կոորդինատներ</strong>։</blockquote><p>Կոմպլեքս թվի z=r(cos θ +isinθ) եռանկյունաչափական տեսքն օգտագործելով ստանում ենք կոմպլեքս թվերի բազմապատկման պարզ բանաձև. երկու կոմպլեքս թվերի արտադրյալի մոդուլը հավասար է արտադրիչների մոդուլների արտադրյալին, իսկ արգումենտը՝ արգումենտների գումարին՝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*i6ZIT0MZf3tAEPdtYzHv9A.png" /></figure><p>Կիրառելով այս կանոնը n անգամ միևնույն<strong> </strong>z=r(cosθ+isinθ) թվի համար, ստանում ենք կոմպլեքս թվի n-րդ աստիճանի համար հետևյալ արտահայտությունը՝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/1*988fJZQd2CuW2pKT7RTpmQ.png" /></figure><h3>Կոմպլեքս թվի n-րդ աստիճանի արմատ</h3><p>z = r(cosθ + i sinθ) կոմպլեքս թվի համար n-րդ աստիճանի արմատը տրվում է այս բանաձևով՝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*0ChEJCD--pomH23pFMq7Dw.png" /></figure><p>Այսպիսով, օգտագործելով n-րդ արմատի բանաձևը, մենք կարող ենք որոշել քառակուսի արմատը բևեռային կոորդինատներով, որտեղ k = 0, 1:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/463/1*ip4vUF7hdT1arNzgVQSyCQ.png" /></figure><p>Այս նույն արտահայտությունը z=x+yi տեսքի կոմպլեքս թվի համար դեկարտյան կոորդինատներով կունենա հետևյալ տեսքը՝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/1*5RYVeVkxBiMUb3cA4nutLw.png" /></figure><blockquote>Կոմպլեքս թվերի բազմությունը նշանակվում է C:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*d1riR6iPlufi1JWxUARVgg.png" /></figure><p>Չնայած «երևակայական» անվանվելուն՝ կոմպլեքս թվերը մաթեմատիկայում ու գիտության հարակից ճյուղերում համարվում են նույնքան «իրական», որքան իրական թվերն են, և նույնքան հիմնարար՝ աշխարհի գիտական նկարագրության տարաբնույթ ասպեկտներում։</p><h3>Կոմպլեքս թվերի հետ աշխատանքը Python-ում։</h3><p>Իսկ ինչպե՞ս ստեղծել կոմպլեքս թվեր Python-ում։ <br>Եկեք նախ պարզենք, թե ինչպես է դա արվում սովորական թվերի հետ։Python-ում սովորական թվեր ունենալու համար պարզապես անհրաժեշտ է այն մուտքագրել՝ 3, 2, 29: <br>Իսկ կոմպլեքս թվեր ստեղծելու համար անհրաժեշտ է անել հետևյալը՝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*q8oqRU9mBKPQd-UcZEPmxg.png" /></figure><p>Այս կերպ ստեղծված կոմպլեքս թվի բաղադրիչ մասերը կարելի է ստանալ հետևյալ կերպ՝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*4rIWE0iakKrFcJl0jQQFZw.png" /></figure><p>Գործողություններ կոմպլեքս թվերի հետ՝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*82T5bhWloNKVXgp9G6hlqw.png" /></figure><p>Իսկ եթե ուզում ենք օգտագործել ֆունկցիաներ, որոնք որպես արգումենտ կստանան կոմպլեքս թվեր, պետք է ներմուծենք cmath գրադարանը։</p><blockquote>Python-ի cmath մոդուլը կոդի մեջ ներմուծելու համար հարկավոր է օգտագործել import cmath հրամանը, իսկ մոդուլի ներկառուցված ֆունկցիաներին հասանելիություն ստանալու համար՝ math.function_name(parameter) հրամանը:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*GpsEntzYc7adnvyt1CYKeg.png" /></figure><p>cmath մոդուլում սահմանված են՝</p><ol><li>Հայտնի մաթեմատիկական հաստատուններ`</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*elJvhhnBkJWlD7eKAsswNg.png" /></figure><p>2. Թվի աստիճան բարձրացնելն ու լոգարիթմը՝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*TJhFxM6MaUOVxHfUG8tlbw.png" /></figure><p>3. Եռանկյունաչափական ֆունկցիաներ՝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*ptU1fHu6W8SbO11NnwD0cA.png" /></figure><p>Կոմպլեքս թվի հետ աշխատելիս այն կարելի է ներկայացնել ոչ միայն դեկարտյան, այլ նաև բևեռային կոորդինատներով՝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*k43oAFoYNBveIsOLT7vDIA.png" /></figure><p>Եվ, հետևաբար, կիրառել մոդուլի ներկառուցված ֆունկցիաները արդեն այդ ներկայացման պայմաններում՝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*rGbchv6SoJVM_uqb4gHTrw.png" /></figure><p>Կոմպլեքս թվերն ունեն բազմաթիվ կիրառություններ, ինչպիսիք են էլեկտրական սխեմաների մոդելավորումը, հեղուկների շարժման ուսումնասիրությունները և ազդանշաններիի վերլուծությունը: Եթե Ձեզ անհրաժեշտ է աշխատել այս ոլորտներին առնչվող խնդրիների հետ, ապա cmath մոդուլը բավականին օգտակար գործիք է։</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4a723581f6f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-republic/python-%D5%AB-cmath-%D5%B4%D5%B8%D5%A4%D5%B8%D6%82%D5%AC%D5%A8-e4a723581f6f">Python-ի “cmath” մոդուլը։</a> was originally published in <a href="https://medium.com/code-republic">Picsart Academy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>