Posts

Showing posts with the label Python

Blockchain and Cryptocurrency Tutorial using Python

Image
Blockchain and Cryptocurrency Tutorial using Python Introduction         Blockchain and Cryptocurrency are the two most popular buzz words in the technology industry today. Blockchain is the technology on which the most popular Cryptocurrency Bitcoin is built upon. I was searching online for a tutorial to understand about Blockchain and how it is used in cryptocurrencies, but I could not find simple examples, hence I decided to come up with this post. In this post, we will understand about Blockchain by building our own cryptocurrency, that I have named as Alpha, using Python. Blockchain and Cryptocurrency         Blockchain in simple terms is a chain of blocks or a list of records. It is an open, distributed ledger that can record transactions between two parties efficiently and in a verifiable and permanent way and it cannot be edited. In a broader sense it is a domain and a technology. Cryptocurrency is one of the practica...

Machine Learning and NLP Chatbot

Image
Machine Learning and NLP Chatbot Introduction         Chatbots are able to translate and interpret human natural language input through a combination of NLP (Natural Language Processing) and Machine Learning. In this post I will show you how this can be done. This post is the second part of the tutorial on chatbots. To learn a few basic concepts and how to build a simple chatbot using NLTK, please refer to my first part tutorial: NLTK Chatbot Tutorial . I have named the chatbot as SmartBot. The SmartBot presented in this post, works in 3 basic modes: Chat Mode(return learned responses from previous exchanges) Statement Mode(accept a statement or fact and store it in the database) Question Mode (accept a question and try to answer it based on previously stored statements) Requirements to Run the Application Anaconda. Java. MySQL Database Intellij IDE with Python Community Edition Plugin.  Anaconda bundles up Python installation and the mo...

NLTK Chatbot Tutorial

Image
NLTK Chatbot Tutorial Introduction         As Machine Learning and Artificial Intelligence are getting popular day by day, chatbots are getting popular too. I am writing a 2 part tutorial to show you as to how you can build chatbots both simple and complex. This post is the Part 1 tutorial. Let start with the basics in this tutorial. Natural Language Toolkit (NLTK) is one of the basic things that you need to know to build chatbots as per your requirements. NLP         Natural-language processing (NLP) is an area of computer science and artificial intelligence concerned with the interactions between computers and human (natural) languages, in particular how to program computers to fruitfully process large amounts of natural language data. NLTK         NLTK stands for Natural Language Toolkit and is a suite of open source Python modules, data sets, and tutorials supporting research and development in Nat...

Python and Flask RESTful API Tutorial

Image
Python and Flask RESTful API Tutorial Introduction         Machine Learning (ML), Artificial Intelligence (AI) and Deep Learning are getting popular and are being used almost in every domain and industry. In most of the places Python is the language being used for programming ML, AI and Deep Learning models as there are many Python libraries that support the requirements and the Python libraries have evolved over time and they are only getting better and better. To display the output data of the ML, AI or Deep Learning models or to pass input data to ML, AI or Deep Learning models using UI built on AngularJS or ReactJS or any of the other latest UI frameworks, there is the requirement of RESTful APIs to send data to UI and receive data from UI. This is where Flask comes in.         I was looking online for basic tutorials to learn Flask RESTful APIs and most of the posts I found were very old, dating back to 2013 or 2014 which do not even w...