Code in Python
Machine Learning and Deep Learning Blogs

Tag: python (page 1 of 2)

Deep Learning Tensorflow vs Keras vs PyTorch

What is Deep Learning? Deep learning is the application of artificial neural networks (ANNs) to learn tasks. These tasks contain more than one hidden layer. Deep learning is part of a broader family of machine learning. Machine learning itself is a part of Artificial Intelligence(AI). It is something like this Artificial Intelligence > Machine Learning […]

NumPy Array Indexing and Slicing

Numpy offers several ways to index into arrays. As mentioned earlier, items in numpy array object follow zero-based index. The three types of indexing methods that are followed in numpy  − field access, basic slicing, and advanced indexing. Here are the 3 topics we will look into in this article: 1)    Slicing 2)    Integer array […]

Learn more about NumPy, NdArrays and its attributes

Numpy is a python library to create homogeneous multidimensional arrays and provide tools for working with these arrays. The elements of numpy array are of the same type. One can create an array in Python using lists or array() function. The advantage of using Numpy array is it scales better and takes less memory when […]

How to work with Tuples in Python

A tuple is a sequence data type that is similar to list. Tuples are immutable lists. It contains a set of numbers or characters or a combination of both separated by commas and enclosed within parenthesis (()). Lists are enclosed in square brackets ([]) whereas tuple is within parenthesis (()). The one thing that separates […]

Learn about Dictionary in Python 3

We have stored values in variables and lists. In lists, the values were accessed using indices. Dictionary stores values using keys. Keys in dictionaries map directly to the values. It is like a hash table. It is enclosed in curly braces ({}) and every key and its value are separated by commas. A colon (:) […]

All you need to know about Strings in Python

Strings are the most important data types in Python. The string is defined as a combination of more than one character placed contiguously within quotation marks. In other programming languages a string is enclosed only in double quotes but in python, we have the freedom to put our string in either double or single quotes. […]

Data types and Numbers in Python

Data types as defined in our Top 20 Programming Terms that Everyone Should Know article are the means to identify the types of data used in a programming language. With the help of data types, we can identify the type of data and then perform associated operations for handling that type of data. Python has […]

All you need to know about Variables in Python

The concept of variables is same in any programming language. A variable is nothing but a memory location that is capable of storing some data or a specified value. Whenever you create a variable you reserve some space in memory to store the desired information. You can consider a variable as a box with some […]

Step by Step Install JetBrains PyCharm

JetBrains PyCharm is an Integrated Development Environment (IDE) used specifically for writing python programs. It provides code analysis, a graphical debugger, an integrated unit tester and supports web development with Django. To install PyCharm, keep in mind that first, you have to install the python interpreter. To install python interpreter, refer our previous articles Install […]

Install Python on Windows in 6 Easy Steps

Here we will provide step by step guide on how to install Python on your PC. Here we will show you how to install Python 3.5.2 for windows operating system. Follow the guide below. There is a difference between Python2 and Python3. We prefer and also recommend users to get familiar with Python3. Since there […]

Older posts

© 2018 Code in Python