Code in Python
Machine Learning and Deep Learning Blogs

Understanding TensorFlow for noobs

Deep Learning is a trending field in Computer Science. It is a subset of Machine Learning and Artificial Intelligence. Tensorflow is an open source Machine Learning Library developed by Google that supports neural networks and other Deep learning models. In this tutorial series, we will learn more about Tensorflow and construct deep learning models on […]

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 Array and its operations

NumPy Array Creation Numpy provides many functions to create arrays. For Example: a = np.array([1, 2, 3, 4, 5, 6, 7]) Note that the np.array() takes only one input parameter, that is a list of elements. If you want to create a multi-dimensional array, then pass tuples of numbers on the list. For example: b […]

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 create a Message Box in Tkinter

In this chapter, we will learn how to make Tkinter message box. It is equivalent to alert in javascript, pop-ups that appear on the screen. They can either give you a plain text, like a piece of information or they, can also ask you a question like “do you want to leave this site”, yes […]

Learn How to add a Status bar in Tkinter

In the previous chapter, we learned how to make toolbar and drop down menus. In this chapter, we will learn how to make a status bar. It is just a text written on the bottom of the window that shows the status of the file on which you are working on or any other thing. […]

How to Create Drop Down Menus in Tkinter

In this chapter, we will learn how to build a basic framework of a common piece of software and that includes, making the drop down menus. Every software we buy has menus at the top that drop down when clicked. We will also learn how to make a toolbar. This is all built-in. we don’t […]

Learn how to use Classes with Tkinter

In this chapter we will learn how to use classes with Tkinter and whenever we work with a professional software or whenever we will make more than just simple buttons, this is the standard technique that we will use because it is standard not only for making GUI applications but also to make software. We […]

How to implement Mouse Click Event in Tkinter

Whenever we use Tkinter, we are not just limited to bind one function to one widget. With widgets, we can bind multiple events to it depending on what we do with that widget, it behaves in different kind of ways. We can have a button, and if we left click it, something happens and if […]

« Older posts

© 2019 Code in Python