<?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: Simbo Asante Ntiro</title>
    <description>The latest articles on DEV Community by Simbo Asante Ntiro (@asantentiro).</description>
    <link>https://dev.to/asantentiro</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%2F812638%2F98adc846-6b08-41ff-8403-4c0b84d1bcad.jpeg</url>
      <title>DEV Community: Simbo Asante Ntiro</title>
      <link>https://dev.to/asantentiro</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/asantentiro"/>
    <language>en</language>
    <item>
      <title>How do you do ML on AWS?</title>
      <dc:creator>Simbo Asante Ntiro</dc:creator>
      <pubDate>Tue, 02 Aug 2022 09:23:00 +0000</pubDate>
      <link>https://dev.to/asantentiro/how-do-you-do-ml-on-aws-2e9k</link>
      <guid>https://dev.to/asantentiro/how-do-you-do-ml-on-aws-2e9k</guid>
      <description>&lt;p&gt;In the last decade, there has been a huge leap forward in Artificial Intelligence and Machine Learning mainly because of the massive increase in data being produced today by web/mobile applications and IOT devices on the internet, the great improvement in ML algorithms, and the availability of the Cloud's scalable compute resources for training and deploying models.&lt;/p&gt;

&lt;p&gt;I'll be telling you about managed services on Amazon Web Services that don't require AI/ML expertise and services you can use to run custom models as well.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Machine Learning anyways?
&lt;/h2&gt;

&lt;p&gt;Machine learning can be described as methods that leverage data to improve performance on a set of tasks. It's a really important part of Artificial Intelligence.&lt;br&gt;
Machine learning behind services like Alexa, Google Maps' commute estimation, and even your FYP on Tik-Tok!&lt;br&gt;
So its a really huge part of our modern lives.&lt;/p&gt;

&lt;h2&gt;
  
  
  Managed services on AWS
&lt;/h2&gt;

&lt;p&gt;If you are interested in AI/ML and don't know much about it you can use Amazon Web Service's managed services such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon Textract&lt;/strong&gt;&lt;br&gt;
This service automatically extracts printed text, handwriting, and other data from scanned documents.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon Translate&lt;/strong&gt;&lt;br&gt;
As the name implies, Amazon Translate is a text translation service that uses ML to provide high-quality translation on demand. It can be used to translate unstructured text or build apps that work in many languages.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon Comprehend&lt;/strong&gt;&lt;br&gt;
This service uses something called Natural Language Processing (NLP) to find insights and relationships in text. It can be used for things like Sentiment Analysis.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon Personalize&lt;/strong&gt;&lt;br&gt;
This is a Machine Learning service that helps create individual recommendations for customers. It can really improve customer engagement through product recommendations and even tailored search results.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon Polly&lt;/strong&gt;&lt;br&gt;
This service turns text into lifelike speech, making it possible to create applications that talk. This is called Text-to-Speech (TTS). This is great for improving accessibility of an app. Unfortunately it only supports 8 languages (at the time of &lt;br&gt;
posting).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AWS Rekognition&lt;/strong&gt;&lt;br&gt;
This is a service that makes it easy to add video and image analysis to applications. It uses proven highly scalable deep learning technology developed by Amazon's computer vision scientists and requires no machine learning expertise to use.&lt;br&gt;
By using Rekognition Custom Models you can identify objects and scenes in images that are specific to your business needs. For example, you can build a model to detect unhealthy plants.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Build your own models on AWS
&lt;/h2&gt;

&lt;p&gt;You can use AWS's large amount of compute and GPU's to train your custom models or you can use Sagemaker.&lt;/p&gt;

&lt;h2&gt;
  
  
  Amazon Sagemaker
&lt;/h2&gt;

&lt;p&gt;Amazon Sagemaker can be used to train, then directly deploy ML models to a production ready environment. It has very many features one of which is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;SageMaker Studio&lt;br&gt;
If you have played around with Data Science and Machine Learning you are very familiar with Jupyter Notebooks and Google Colab, well SageMaker has you covered! You can; prepare data for machine learning ,build and train machine learning models, deploy the models and monitor the performance of their predictions and even track and debug the machine learning experiments!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;SageMaker Training Compiler&lt;br&gt;
This service allows you to create clusters if GPU containers that can be used to train &amp;amp; tune your models. It can also help you automate your Deep Learning Workflows.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After you build and train your models, Amazon SageMaker also makes it easy for you to deploy them for predictions using SageMaker hosting services.&lt;/p&gt;

&lt;p&gt;You can programmatically deploy a model using an AWS SDK,You can programmatically deploy a model using an AWS SDK or even through the SageMaker console. You can deploy a model with a Python wrapper file and get back a HTTP endpoint for your inference.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fully Managed ML Services Vs Building Your Own Model
&lt;/h2&gt;

&lt;p&gt;There are clear advantages of using managed services over the non-managed ones.&lt;br&gt;
As is the norm when dealing with cloud services the difference between Fully Managed Services and Bespoke solutions usually comes down to a Cost-Performance trade-off. Usually a Managed Service will cost more upfront but has no Operational Overhead, and the opposite would be true for a Bespoke solution. But if you have no experience with ML or have a very small scale application the best option would be to use AWS' managed services for ML.&lt;/p&gt;

&lt;p&gt;Cheers! And happy tinkering!&lt;/p&gt;

</description>
      <category>cloud</category>
      <category>aws</category>
      <category>machinelearning</category>
      <category>datascience</category>
    </item>
    <item>
      <title>Web3 vs Web2? What does that even mean!?</title>
      <dc:creator>Simbo Asante Ntiro</dc:creator>
      <pubDate>Sat, 05 Mar 2022 17:38:42 +0000</pubDate>
      <link>https://dev.to/asantentiro/web3-vs-web2-what-does-that-even-mean-5b2b</link>
      <guid>https://dev.to/asantentiro/web3-vs-web2-what-does-that-even-mean-5b2b</guid>
      <description>&lt;p&gt;Everyone is talking about Web2 vs Web3 these days. But what do they mean by Web2 and Web3? I hope this article will help you understand the basic differences between the two.&lt;/p&gt;

&lt;p&gt;Web2 is a term that describes the internet we know and use today. It allows us to dynamically interact with websites on the internet. An example of a web2 app would be YouTube.&lt;/p&gt;

&lt;p&gt;The fundamental difference between web2 and web3 technologies is their architecture.&lt;/p&gt;

&lt;h2&gt;
  
  
  Web2 architecture consists of;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A place to store essential data (user credentials, likes, comments, etc)&lt;/li&gt;
&lt;li&gt;A backend to define business logic.&lt;/li&gt;
&lt;li&gt;A frontend to display what the app/website looks like and what happens when a user interacts with elements of the app&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--k-6fUw6g--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ke7p227uu63vgbtj25zu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--k-6fUw6g--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ke7p227uu63vgbtj25zu.png" alt="Image of web2 architecture " width="750" height="868"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Web3 architecture is very different because it;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Uses smart contracts for backend logic&lt;/li&gt;
&lt;li&gt;Uses blockchain to build apps on a decentralized state machine (eg. EVM) that is maintained by nodes on the network.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--iekRaU-b--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jzfkd4186fn9km1x981o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iekRaU-b--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jzfkd4186fn9km1x981o.png" alt="Image of web3 architecture" width="800" height="967"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;By looking at the difference between Web2’s &amp;amp; Web3’s architecture we can see that the main issue here is centralization vs decentralization.&lt;/p&gt;

&lt;p&gt;In Centralized Systems participation in the network is controlled by the central authority but in Decentralized Systems ideally, anyone can participate in the network.&lt;/p&gt;

&lt;p&gt;In the past few years, we have seen issues with web2 companies harvesting search histories, email topics, likes, political and religious affiliations, sexual orientation, relationship status, health information, purchase histories of all sorts, and selling this data to marketing and advertising firms as part of their business models. Owning the user is part of the web2 “ethos”.&lt;/p&gt;

&lt;p&gt;Essentially, Web3 can be regarded as the next-generation internet, where everything that could be done in Web2 can still be done but in a decentralized way meaning&lt;br&gt;
participants can interact without permission from a trusted intermediary or governing body.&lt;br&gt;
no central authority can control content and impose indiscriminate censorship&lt;/p&gt;

&lt;p&gt;Web3 technologies are hoping to shift the power away from big tech corporations to individual users.&lt;/p&gt;

&lt;p&gt;The Nigerian startup &lt;a href="https://nestcoin.com/"&gt;Nestcoin&lt;/a&gt; is helping bring web3 technologies to Africa by building web3 apps and helping the ecosystem grow by training new blockchain developers in collaboration with &lt;a href="https://zuri.team/"&gt;ZuriTeam&lt;/a&gt; and &lt;a href="https://blockgames.gg/"&gt;Blockgames&lt;/a&gt;. You can check out their youtube &lt;a href="https://www.youtube.com/watch?v=ONb8luX43h8&amp;amp;list=PLxuUHF3OiqfUDGh5gwLdRvuFiFHjWEBEz&amp;amp;index=12"&gt;here&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;Another resource I REALLY like (that is also one of Nestcoin’s products) is the Breach blog which you can check out &lt;a href="https://breachclub.medium.com/"&gt;here&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>web3</category>
      <category>ethereum</category>
      <category>wagmi</category>
      <category>nestcoin</category>
    </item>
    <item>
      <title>Getting Started With Python</title>
      <dc:creator>Simbo Asante Ntiro</dc:creator>
      <pubDate>Thu, 10 Feb 2022 10:38:35 +0000</pubDate>
      <link>https://dev.to/asantentiro/getting-started-with-python-4g6i</link>
      <guid>https://dev.to/asantentiro/getting-started-with-python-4g6i</guid>
      <description>&lt;h2&gt;
  
  
  &lt;u&gt;Introduction:
&lt;/u&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;br&gt;
Python is a general purpose, high level, interpreted language with easy syntax. It was developed in 1989 by Guido Van Rossum, it is named after the British comedy group Monty Python (I'm also a big fan of their movies and sketches). In the past decade Python has seen an exponential increase in its popularity among developers.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why is Python so popular?
&lt;/h2&gt;

&lt;p&gt;The biggest reason is its easy-to-learn syntax. Python also boasts a great number of use cases including but &lt;u&gt;not limited to&lt;/u&gt;: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;AI and Machine Learning&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Web Development&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Data Visualization&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Game Development&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Data Analytics&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Financial-Technology&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cyber Security&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Automation&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Testing&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Getting Started
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Download the latest version of Python for your operating system &lt;a href="https://www.python.org/"&gt;here&lt;/a&gt;. You can also read more about setting up a python development &lt;a href="https://wiki.python.org/moin/BeginnersGuide/Download"&gt;here&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create a new folder where you will be saving you python files, let say FirstApp.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Open your text-editor, then navigate to the folder you created (FirstApp).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create a new file called app.py then enter the following code into the file:&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;code&gt;print("Hello, World!")&lt;/code&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Save the file.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That was easy! Now for the REAL magic.&lt;/p&gt;

&lt;p&gt;Using Command Prompt on Windows or Terminal on UNIX (macOS or Linux) Navigate to the FirstApp folder and type the following command&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Python3 app.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If everything went according to plan, you'll see the following message on screen:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Hello, World!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There you go! You just wrote your first program in Python!&lt;br&gt;
I hope you can learn more soon!&lt;/p&gt;

</description>
      <category>python</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
