<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sarleymwaka</title>
    <description>The latest articles on DEV Community by Sarleymwaka (@sarleymwaka).</description>
    <link>https://dev.to/sarleymwaka</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F851377%2Fac30fadf-382e-452d-b7ae-9f2b477f9ff5.png</url>
      <title>DEV Community: Sarleymwaka</title>
      <link>https://dev.to/sarleymwaka</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sarleymwaka"/>
    <language>en</language>
    <item>
      <title>DETECTING FAKE NEWS WITH PYTHON AND MACHINE LEARNING</title>
      <dc:creator>Sarleymwaka</dc:creator>
      <pubDate>Sun, 01 May 2022 20:11:29 +0000</pubDate>
      <link>https://dev.to/sarleymwaka/detecting-fake-news-with-python-and-machine-learning-54ig</link>
      <guid>https://dev.to/sarleymwaka/detecting-fake-news-with-python-and-machine-learning-54ig</guid>
      <description>&lt;h2&gt;
  
  
  Fake news
&lt;/h2&gt;

&lt;p&gt;fake newsis a big issue in the internet and social media.&lt;br&gt;
&lt;strong&gt;machine learning&lt;/strong&gt; tend to stop the problem of spreadin of fake news to some point due to use of natural language processing.&lt;/p&gt;

&lt;h2&gt;
  
  
  natural language processing
&lt;/h2&gt;

&lt;p&gt;In-text preprocess we are cleaning our text by steaming, lemmatization(Converting the word or token in its Base form), remove stopwords, remove special symbols and numbers, etc. After cleaning the data we have to feed this text data into a vectorizer which will convert this text data into numerical features.&lt;br&gt;
&lt;strong&gt;cleaning data&lt;/strong&gt;&lt;br&gt;
this is the removal of unusable words and special symbols&lt;br&gt;
&lt;strong&gt;vectorizer&lt;/strong&gt;&lt;br&gt;
converts text data to numerical features which is then used in the news detection&lt;/p&gt;

&lt;h2&gt;
  
  
  Machine learning classifiers
&lt;/h2&gt;

&lt;p&gt;Classifier is an algorithm that is used to map the input data to a specific category.&lt;br&gt;
machine learning classifiers are using for different purposes and these can also be used for detecting the fake news. The classifiers are first trained with a data set called training data set. After that, these classifiers can automatically detect fake news.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>introduction to python</title>
      <dc:creator>Sarleymwaka</dc:creator>
      <pubDate>Thu, 21 Apr 2022 17:12:04 +0000</pubDate>
      <link>https://dev.to/sarleymwaka/introduction-to-python-23l3</link>
      <guid>https://dev.to/sarleymwaka/introduction-to-python-23l3</guid>
      <description>&lt;h2&gt;
  
  
  python
&lt;/h2&gt;

&lt;p&gt;python is a high level programming language meaning it can be easily understood by humans.&lt;br&gt;
python extension is .py&lt;br&gt;
&lt;strong&gt;python environment&lt;/strong&gt; is a space where you write your python code.examples visual studio,google colab.&lt;br&gt;
&lt;em&gt;features of python&lt;/em&gt; include&lt;br&gt;
easy to learn&lt;br&gt;
simple&lt;br&gt;
&lt;strong&gt;fuctions&lt;/strong&gt;:keywords that perform specific tasks example;&lt;br&gt;
1)print function&lt;code&gt;print("welcome")&lt;/code&gt;-this displays the text in quotes that is welcome.other examples of functons are ;input&lt;br&gt;
&lt;strong&gt;identifiers&lt;/strong&gt;: names used to name &lt;/p&gt;

&lt;h2&gt;
  
  
  variables;RULES-
&lt;/h2&gt;

&lt;p&gt;must not be keywords, &lt;br&gt;
digits cannot be used, they are case sensitive,&lt;br&gt;
special characters cannot be used.&lt;br&gt;
&lt;strong&gt;data structures&lt;/strong&gt;-ways of organising or describing pieces of data example lists:&lt;code&gt;todo=list["cow","goat"]&lt;/code&gt;,turple,sets&lt;br&gt;
&lt;strong&gt;data types&lt;/strong&gt;:integer-print(123),&lt;br&gt;
float-numbers with decimal points,&lt;br&gt;
boolean-true or false,&lt;br&gt;
**commenting **in python by use of # and """,""":comments do not a[ppear on the code they just give instructions&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
