<?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 Moses kurui on Medium]]></title>
        <description><![CDATA[Stories by Moses kurui on Medium]]></description>
        <link>https://medium.com/@mosesriku?source=rss-1b3ea9d3c0c5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Moses kurui on Medium</title>
            <link>https://medium.com/@mosesriku?source=rss-1b3ea9d3c0c5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 07:12:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mosesriku/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[A Beginner’s Guide to Scikit-Learn: A Simple API Overview]]></title>
            <link>https://medium.com/@mosesriku/a-beginners-guide-to-scikit-learn-a-simple-api-overview-2346c26c4550?source=rss-1b3ea9d3c0c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/2346c26c4550</guid>
            <dc:creator><![CDATA[Moses kurui]]></dc:creator>
            <pubDate>Mon, 22 Jul 2024 14:11:27 GMT</pubDate>
            <atom:updated>2024-07-22T14:11:27.782Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Tb_l_AvpxXWuwP9i" /></figure><p>Scikit-learn (pronounced “scikit-learn”) is a popular Python library for machine learning. In my previous article on why scikit-learn is the <a href="https://medium.com/@mosesriku/why-scikit-learn-should-be-the-first-package-to-learn-for-anyone-interested-in-machine-learning-c2612d0f8967">best</a>, I promised to deliver a series of articles to help you understand how to use this powerful tool. This article, under 500 words, will simply explain the API, providing you with a cheatsheet. Future articles will dive deeper into specific models, such as Linear Regression.</p><h4>Consistent Interface</h4><p>One of the things that makes scikit-learn so user-friendly is its consistent interface. Most objects in scikit-learn follow a similar pattern in how you interact with them, making learning and using different functionalities easier.</p><h4>Estimators</h4><p>Estimators are the workhorses of scikit-learn. They are objects that can learn from data. Imagine you have a dataset and want to uncover underlying patterns or relationships. An estimator can analyze this data and create a model that captures these patterns. This process of learning from data is called fitting, and it’s typically done using the fit method. Estimators can also take other parameters, often called hyperparameters, that control the learning process. These hyperparameters allow you to fine-tune the estimator to get the best possible results on your specific data.</p><h4>Transformers</h4><p>Transformers are used to modify or prepare your data before feeding it to a model. Common transformations include scaling features to a specific range or converting text data into numerical representations. Transformers typically use the transform method to apply the transformation to a dataset. They can also accept hyperparameters to control how the transformation is performed. An alternative is to use the fit_transform method, which combines both fitting and transformation in one step.</p><h4>Predictors</h4><p>As the name suggests, predictors are used to make predictions based on a trained model. They take a dataset as input and output predictions for new data points. For example, a classifier might predict the class label (like spam or not spam) for a new email, while a regressor might predict a continuous value (like house price) for a new house.</p><p>This overview should help you get started with scikit-learn and understand its consistent interface. Stay tuned for more specific articles that will explore different models and their applications in detail.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2346c26c4550" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Scikit-learn Should Be the First Package to Learn for Anyone Interested in Machine Learning]]></title>
            <link>https://medium.com/@mosesriku/why-scikit-learn-should-be-the-first-package-to-learn-for-anyone-interested-in-machine-learning-c2612d0f8967?source=rss-1b3ea9d3c0c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2612d0f8967</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[scikit-learn]]></category>
            <dc:creator><![CDATA[Moses kurui]]></dc:creator>
            <pubDate>Tue, 18 Jun 2024 03:39:22 GMT</pubDate>
            <atom:updated>2024-06-18T03:39:22.302Z</atom:updated>
            <content:encoded><![CDATA[<p>Machine learning (ML) powers some of the coolest technologies in the world. Ever wondered how your favorite streaming service knows exactly what shows you’ll binge next? Or how that spam filter magically whisks away unwanted emails? The answer: machine learning. From self-driving cars to virtual assistants like Siri and Alexa, ML is the magic behind many modern marvels. No wonder people want to join this field.</p><p>But where do you even begin to understand this seemingly complex world? Fear not, aspiring data padawan! Enter Scikit-learn, your friendly neighborhood guide, ready to hold your hand and introduce you to the wonders of machine learning.</p><p>From personal experience, I imagine Scikit-learn as your machine learning starter kit. It comes with all the essential tools neatly organized and ready to use. No need to spend hours deciphering cryptic code — Scikit-learn uses plain language that makes grasping core concepts like classification and regression a breeze.</p><p>Think of it this way: you wouldn’t build a house without a hammer and nails, right? Scikit-learn equips you with a toolbox full of fundamental machine learning algorithms. From linear regression for predicting house prices to decision trees for classifying emails, you can experiment with a variety of tasks, all within this user-friendly framework.</p><p>Imagine you’re a chef with a new kitchen. Scikit-learn provides the pots, pans, and ingredients, allowing you to focus on perfecting your recipes. You get to play with different algorithms like you’re trying out new dishes — some spicy, some sweet — and discover what works best for your data.</p><p>But here’s the real superpower of Scikit-learn: it allows you to focus on the real magic — understanding how these algorithms work. By taking care of the low-level coding grunt work, Scikit-learn lets you delve into the fascinating concepts that make machine learning tick.</p><p>And the best part? You’re not alone on this journey. Scikit-learn boasts a massive and supportive community. Stuck on a problem? There’s a wealth of online resources, tutorials, and forums brimming with helping hands. Stack Overflow has numerous answers to the probable errors you might encounter during your coding.</p><p>Sure, there are other powerful libraries out there, but Scikit-learn is like that wise old teacher who patiently lays the groundwork. It equips you with the foundational knowledge of classical machine learning, the essential building blocks for tackling more advanced techniques later on.</p><p>Moreover, Scikit-learn gives you the confidence to learn other machine learning and AI libraries such as TensorFlow, PyTorch, OpenCV, and the latest packages in generative AI, such as LangChain. It’s like learning to ride a bike: once you have the basics down, you’re ready to tackle more challenging terrains.</p><p>For many people, learning Scikit-learn can be challenging, and this is understandable. The Scikit-learn documentation PDF is over 1,200 pages long, and learning it all can be complex. The approach used in learning Scikit-learn could be why many people find it hard to understand how it works.</p><p>Stay tuned as I will be writing articles on how to use Scikit-learn for classification, regression, and other machine learning problems. We’ll break down the complexities into bite-sized, digestible pieces, making the journey into machine learning not just educational but also fun and exciting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2612d0f8967" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>