Posts

RIP - Stephen Hawking - 76

Stephen W. Hawking, the Cambridge University physicist and best-selling author who roamed the cosmos from a wheelchair, pondering the nature of gravity and the origin of the universe and becoming an emblem of human determination and curiosity, died early Wednesday at his home in Cambridge, England. He was 76. His death was confirmed by a spokesman for Cambridge University. “Not since Albert Einstein has a scientist so captured the public imagination and endeared himself to tens of millions of people around the world,” Michio Kaku, a professor of theoretical physics at the City University of New York, said in an interview. Dr. Hawking did that largely through his book “A Brief History of Time: From the Big Bang to Black Holes,” published in 1988. It has sold more than 10 million copies and inspired a documentary film by Errol Morris. The 2014 film about his life, “The Theory of Everything,” was nominated for several Academy Awards and Eddie Redmayne, who played Dr. Hawking, won the Oscar …

How to do web scraping using python?

Image
In this tutorial, I am going to do web scraping using python.Before jumping to web scraping let know what is the use of it.Web scraping is extracted the data from the website using script.Why should we do this? because consider a situation If you want to get Flipkart or Amazon all product list then manually typing all product name is excel sheet is impossible to do this automatically we write a script to download all product name store in csv, excel or JSON format.


Now let's see the necessary package to write this script.In Python, we use BeautifulSoup,urllib2, pandas.
To do this example I take moneycontrol website (www.moneycontrol.com).This is a famous website for all funds, the stock market and shares etc. In this website, I going to scrap RELIANCE TOP 200 FUND - RETAIL PLAN (G) data.Let's jump into the code!!
I have to give website Link below to scarp the data
Link:http://www.moneycontrol.com/mutual-funds/reliance-top-200-fund-retail-plan/portfolio-holdings/MRC155

Python …

ARTIFICIAL INTELLIGENCE - FUZZY LOGIC SYSTEMS

Image
. What is Fuzzy Logic? Fuzzy Logic FL is a method of reasoning that resembles human reasoning. The approach of FL imitates the way of decision making in humans that involves all intermediate possibilities between digital values YES and NO.
The conventional logic block that a computer can understand takes precise input and produces a definite output as TRUE or FALSE, which is equivalent to human’s YES or NO.
The inventor of fuzzy logic, Lotfi Zadeh, observed that unlike computers, the human decision making includes a range of possibilities between YES and NO, such as −

CERTAINLY YES POSSIBLY YES CANNOT SAY POSSIBLY NO CERTAINLY NO

The fuzzy logic works on the levels of possibilities of input to achieve the definite output.
Implementation
It can be implemented in systems with various sizes and capabilities ranging from small micro-controllers to large, networked, workstation-based control systems.
It can be implemented in hardware, software, or a combination of both. Why Fuzzy Logic? Fuzzy lo…