Skip to main content

Posts

Showing posts from July, 2018

Computing in Python I: Fundamentals and Procedural Programming

Learn the fundamentals of computer programming in Python, from the basics of how a computer runs lines of code, to the write-run-debug cycle of program development, to working with variables, mathematical operators, and logical operators.      Techhb82    About this course This course starts from the beginning, covering the basics of how a computer interprets lines of code; how to write programs, evaluate their output, and revise the code itself; how to work with variables and their changing values; and how to use mathematical, boolean, and relational operators. By the end of this course, you'll be able to write small programs in Python that use variables, mathematical operators, and logical operators. For example, you could write programs that carry out complex mathematical operations, like calculating the interest rate necessary to reach a savings goal, recommending apparel options based on weather patterns, or calculating a grade based ...

A Simple Neural Network to Recognize Patterns

Lets build a program that will teach the computer to recognize simple patterns using neural networks. Artificial neural networks, like real brains, are formed from connected "neurons", all capable of carrying out a data-related task, such as answering a question about the relationship between them. Let's take the following pattern: 1 1 1 = 1 1 0 1 = 1 0 1 1 = 0 Each input, and the output can be only a 1 or a 0. If we look closer, we will realize that the output is 1, if the first input is 1. However, we will not tell that to the computer. We will only provide the sample inputs and outputs and ask it to "guess" the output of the input 1 0 0 (which should be 1). To make it really simple, we will just model a single neuron, with three inputs and one output. The three examples above are called a training set. We're going to train the neuron to work out the pattern and solve the task for input 1 0 0, by just having the training set and without know...

Neural Networks

The goal of artificial neural network machine learning algorithms is to mimic the way the human brain organizes and understands information in order to arrive at various predictions. Neural networks, with their remarkable ability to derive meaning from complicated or imprecise data, can be used to extract patterns and detect trends that are too complex to be noticed by either humans or other computer techniques. Artificial neural networks, like real brains, are formed from connected "neurons", all capable of carrying out a data-related task, such as recognizing something, matching a piece of information to another piece, and answering a question about the relationship between them. Each neuron is capable of passing on the results of its work to a neighboring neuron, which can then process it further. Typically, neurons are organized in layers. Different layers may perform different kinds of transformations on their inputs. Signals travel from the first (input), to t...

Applications for Python

Python is used in many application domains. Here's a sampling. The  Python Package Index  lists thousands of third party modules for Python. Web and Internet Development Python offers many choices for  web development : Frameworks such as  Django  and  Pyramid . Micro-frameworks such as  Flask  and  Bottle . Advanced content management systems such as  Plone  and  django CMS . Python's standard library supports many Internet protocols: HTML and XML JSON E-mail processing . Support for  FTP ,  IMAP , and other  Internet protocols . Easy-to-use  socket interface . And the Package Index has yet more libraries: Requests , a powerful HTTP client library. BeautifulSoup , an HTML parser that can handle all sorts of oddball HTML. Feedparser  for parsing RSS/Atom feeds. Paramiko , implementing the SSH2 protocol. Twis...

Python: 7 Important Reasons Why You Should Use Python

According to the latest TIOBE Programming Community Index, Python is one of the top 10 popular programming languages of 2017 . Python is a general purpose and high level programming language. You can use Python for developing desktop GUI applications, websites and web applications. Also, Python, as a high level programming language, allows you to focus on core functionality of the application by taking care of common programming tasks. The simple syntax rules of the programming language further makes it easier for you to keep the code base readable and application maintainable. There are also a number of reasons why you should prefer Python to other programming languages 7.Reasons Why You Must Consider Writing Software Applications in Python 1)  Readable and Maintainable Code While writing a software application, you must focus on the quality of its source code to simplify maintenance and updates. The syntax rules of Python allow you to express concepts with...