Posts

Showing posts from September, 2020

Implementation of a parser in Python using Artificial Intelligence

Image
A common task in natural language processing is parsing, the process of determining the structure of a sentence. This is useful for a number of reasons: knowing the structure of a sentence can help a computer to better understand the meaning of the sentence, and it can also help the computer extract information out of a sentence. In particular, it’s often useful to extract noun phrases out of a sentence to get an understanding for what the sentence is about. Here, we’ll use the context-free grammar formalism to parse English sentences to determine their structure.  The main aim is to start with a nonterminal symbol  S  (representing a sentence) and repeatedly apply context-free grammar rules until we generate a complete sentence of terminal symbols (i.e., words).  Source code of the project demonstration : https://github.com/diesel707/Knights/tree/parser

What is strong AI and weak AI? What are the limitations of AI?

Image
 STRONG AI Strong AI is the study and design of machines that simulate the human mind to perform intelligent tasks. It borrows many ideas from psychology , neuroscience and the main aim is to perform a task, the way a human might do them. It includes psychological ideas in Short term memory (STM), Long Term Memory (LTM), language, genetics, etc. It has a complex algorithm that helps it act in different situations. For example : The AI that is found in games is a good example of Strong AI. AI learns from itself to adapt and to outsmart the human opponents. The game of chess, nim, are good examples of Strong AI. LIMITATIONS OF STRONG AI : Job Losses Unemployment  will be a major cause as there are chances of artificial intelligence displacing many low-skilled jobs. Arguably, robots have already taken many jobs on the assembly line but now this could extend to new levels.  F or example - the concept of driverless cars, which could displace the need to have millions of human drivers, from

How does a smartphone use AI to obtain a response from users?

Image
When you hear the word technology , Artificial Intelligence or AI is one those technologies that hit one's mind at first. With AI transforming each and every sector today, it is believed to be one of the greatest transformations that has occurred in recent times. One of the major impact that AI has made is in the smartphone industry. Starting with voice recognition Siri or Google Assistant to Face recognition passwords and many more, AI has transformed smart phone industry into a whole new technology. AI in smartphones can be found in : Powerful AI chips   Apple, Samsung, and  Huawei  have all introduced smartphones with powerful AI chips that can perform up to 5 trillion operations per second and use significantly less power to accomplish tasks. With AI, these phones provide features from Face ID to  Augmented Reality . AI is even used to improve photo quality, with an AI-recognition of depth that enables digital image post-production editing of blur and sharpness. Camera with an

Artificial Intelligence - How to predict whether or not the user will make purchase while shopping online?

Image
When users are shopping online, not all will end up purchasing something. Most visitors to an online shopping website, in fact, likely don’t end up going through with a purchase during that web browsing session. It might be useful, though, for a shopping website to be able to predict whether a user intends to make a purchase or not: perhaps displaying different content to the user, like showing the user a discount offer if the website believes the user isn’t planning to complete the purchase. How could a website determine a user’s purchasing intent? That’s where machine learning will come in. I've built a nearest-neighbor classifier to solve this problem. From the given information about a user, how many pages they’ve visited, whether they’re shopping on a weekend, what web browser they’re using, etc. , the classifier will predict whether or not the user will make a purchase. Source code of the project demonstration is given below : https://github.com/diesel707/Knights/tree/shoppin

Artificial Intelligence - How to implement Nim game using Python?

Image
Nim is a mathematical game of strategy in which two players take turns removing objects from distinct heaps or piles. On each turn, a player must remove at least one object, and may remove any number of objects provided they all come from the same heap or pile. The goal of the game is to avoid taking the last object. 2:52 - Game #1 (AI wins) 3:30 - Game #2 (Human wins) Source code of the project demonstration is given below: https://github.com/diesel707/Knights/tree/nim

Learn how to implement a spellchecker using python.!!

Image
 You can implement a spellchecker using pyspellchecker module in python. It makes your code look pretty simple and understandable. The video shows how to install the module as well as implementation of spellchecker in python.

How to implement a crossword game using python?

Image
Source code of the project demonstration is given below: https://github.com/diesel707/Knights/tree/crossword

Tips to transform social media marketing through Artificial Intelligence

Image
Artificial Intelligence (AI) is revolutionizing the digital marketing landscape. Businesses are heavily relying on AI and machine learning to sort out vast amounts of data. Aritificial Intelligence is an important component of the popular social networks which people use every single day. For example : Facebook uses advanced machine learning to do everything from serving you to the content to recognizing your face in photos to target users with advertising.  Instagram (owned by Facebook) uses AI to identify visuals. Here are some tips to transform social media marketing through Artificial Intelligence : 1. Social creation and Management Artificial  Intelligence can help you produce shareable content for social media and then manage the distribution of that content. Create your social media post faster and develop the right messages for each platform. Artificial Intelligence helps in analyzing the audience and helps in managing the work across different social media platforms. 2. Gettin

Long term future of Artificial Intelligence

Image
Artificial Intelligence is a vast field. In today's generation, AI makes it possible for machines to learn from experience, adjust to new inputs and perform human-like tasks.  Most AI examples that we hear about today - from chess playing computers to self-driving cars - rely heavily on deep learning and natural language processing.  In the AI-enabled future, humans will be able to converse and interact with each other in the native language of choice, not having to worry about miscommunication intentions. Machine learning models will be able to understand context, nuance, and colloquialisms that help to fill the gaps of human communication. In addition to this, AI has various fields where one can think his/her future in it. One can easily secure hi/her future in AI by doing research in any of the fields given below:  1.  GAMING Practical  AI  for video  game development  involves applying  algorithms , such as the Minimax  algorithm , into  machine learning  in order to provide th