Posts

Featured

Linear Regression using Least Square Method

Image
Regression is a technique which is finds the relationship between a dependent (y) and independent (x) variable and how they contribute and are related to produce a particular outcome together. For example, you can say sales prediction. One of the most common and simple regression techniques used is the Linear Regression Technique.  Let's see in the video to know how least square method is used to solve the linear regression problem.

Heuristics in Artificial Intelligence

Image
What does heuristic mean? Well, heuristic refers to " to discover ". Heuristic is a technique that improves the efficiency of search process possibly by sacrificing the completeness. This technique gives us optimized solution. We can hope to get good solutions to hard problems such as Travelling Salesman Problem which takes less than the exponential time. Some heuristics helps to guide a search process without sacrificing any claims to completeness. Some may occasionally cause an excellent path to be overlooked to improve the quality of paths that are explored.  There are 2 types of  heuristics : General purpose heuristics . General purpose heuristics do not require the need for any specific knowledge. For example, Nearest neighbor heuristics, travelling salesman problem.      2. Special purpose heuristics . Unlike General purpose heuristic, special purpose heuristics require domain specific knowledge. For example, an interesting function of two arguments f(x,y). Domain speci

Python Tutorial - Beginner to Advanced [2020]

Image
Python is an object-oriented, high level language, interpreted, dynamic and multipurpose programming language. Python is easy to learn yet powerful and versatile scripting language which makes it attractive for Application Development. Python's syntax and dynamic typing with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas. Want to learn python? Do check out this playlist on youtube : Python Tutorial - Beginner to Advanced 2020

10 Popular Tech Skills in 2020

Image
Here are 10 popular technology skills of 2020. One can do specialization in any of these skills for a better future. Each and every field is interesting to learn and can guarantee a bright future on a longer run. For a good job offers, one needs to make projects in a given field.  A project on a certain topic shows how much knowledge you have regarding that subject. 

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.