by Suf | Jan 15, 2022 | Machine Learning, Programming, Python, TensorFlow, Tips
A common error you may encounter when using Python is modulenotfounderror: no module named ‘keras’. Keras comes packaged with Tensorflow 2.0 as tensorflow.keras. To import and start using Keras, you need to install TensorFlow 2. You can install TensorFlow...
by Suf | Jan 3, 2022 | Machine Learning, Programming, Python
This article will go through the sigmoid function formula, sigmoid function as an activation function, the ways to implement the sigmoid function in Python, and a brief history of the origins and applications of the sigmoid function. After reading through this...
by Suf | Dec 8, 2021 | Data Science, Programming, Python, Tips
Distances measures are essential tools for machine learning. A distance measure is a score that summarises how different two objects are in the problem domain. Usually, we calculate distance measures on rows of data, like strings representing text documents. Specific...
by Suf | Nov 30, 2021 | Data Science, Programming, Python, Tips
If we try to concatenate an integer with a string, we will raise the error “TypeError: can only concatenate str (not “int”) to str”. This error occurs because you can only concatenate strings with other strings. In this tutorial, we will go through the...
by Suf | Nov 19, 2021 | Data Science, Machine Learning, Python, Tips
Machine learning is the science of programming a computer to learn from different data and perform inference. Yesteryear, machine learning tasks involved manual coding all of the algorithms and mathematical and statistical formulae. Nowadays, we have fantastic...