Python floor() and ceil() functions

python floor() and ceil() method

The floor and ceiling functions are used most frequently in maths or computer programming. These functions return the nearest integer value of a fractional number. Today in this article I will discuss the usage of the floor() and ceil() functions in Python programming. Python floor() method Both Python floor() and ceil() methods are the parts … Read more

Python regex replace

Python regex replace

A regular expression specifies a set of strings that matches it; The re module in Python provides methods to check if a string matches with a regular expression or not and is used to perform different operations based on this. For example sub() and subn() methods are used to find and replace a string in … Read more

How to install NumPy on Ubuntu Linux?

install numpy on ubuntu

NumPy means Numerical Python it adds support for multidimensional arrays, matrices and provides a large number of high-level mathematical functions. It is one of the most popular machine learning libraries for Python. Many other libraries like TensorFlow uses NumPy internally for performing various operations. It is interactive and easy to use which makes complex mathematical … Read more

How to install Scikit-Learn on Ubuntu Linux?

Scikit-Learn is a free machine learning library for Python, it is best for working with complex data. It is designed to interoperate with NumPy and SciPy libraries. Scikit-Learn provides a higher-level interface for machine learning and features various classification, regression, and clustering algorithms. It can be combined with the Python web framework to build the … Read more

How to install and use TensorFlow in Ubuntu?

tensorflow

TensorFlow is a software library for creating machine learning models for web, mobile, desktop, or cloud. It makes the process of acquiring data, training models, making predictions, and refining future results easier. The TensorFlow was created by the Google Brain team and it can be used with different languages including Python, JavaScript, C++, and Java. … Read more

What are Python Libraries?

python libraries

A Python library is a collection of precompiled codes, sometimes known as modules. These modules may contain some useful functions, documentation, configuration data, message templates, classes, values, etc. Using a library in a Python program eliminates the need for writing codes from scratch, you can simply import and use functions or anything else that a … Read more