Shreya Bose

Levenshtein Distance in Python: Troubleshooting Installation Errors on Windows

For Python developers, the Levenshtein distance package is one of the most valuable tools for text analysis, comparison, and natural language processing. The Levenshtein distance algorithm is indispensable because it is used in many real-life applications such as bioinformatics, speech recognition and spell checks. The Levenshtein distance is a metric used to calculate the difference […]

Levenshtein Distance in Python: Troubleshooting Installation Errors on Windows Read More »

Fix ‘Python module tensorflow.contrib.keras.python.keras was not found’

The integration of R with the TensorFlow package along with Keras has allowed developers to utilize TensorFlow’s functionalities with R. Deep learning has become easier for R users due to the integration of R Keras with Python’s tensorflow module. However, this doesn’t mean that errors during installation have become null. As with every process, chances

Fix ‘Python module tensorflow.contrib.keras.python.keras was not found’ Read More »

Empirical Distribution in Python: Histograms, CDFs, and PMFs

Empirical distribution in Python describes the distribution of data from what is observed rather than having an underlying assumption. It represents the frequency or proportion of observations falling into a particular range by using histograms, cumulative distribution functions (CDFs), or probability mass functions (PMFs). It is a type of deductive distribution technique that makes direct

Empirical Distribution in Python: Histograms, CDFs, and PMFs Read More »

Backtracking Line Search Algorithm for Unconstrained Optimization

Optimization is one of the most fundamental functions of any algorithm. Unconstrained optimization problems refer to those problems where we need to maximize or minimize our function without any constraint on our decision variables. These problems find their usage in many fields such as economics, engineering, machine learning, and many more. The backtracking line search

Backtracking Line Search Algorithm for Unconstrained Optimization Read More »

[Fix] ImportError: cannot import name ‘get_config’ from ‘tensorflow.python.eager.context’

Tensorflow is one of the most popular and widely used software applications in the world. Developers use it to create and implement deep learning algorithms. Even though it is popular for being easy to use, sometimes users might face difficulty when downloading and installing it in their system. These problems are mainly caused by dependencies,

[Fix] ImportError: cannot import name ‘get_config’ from ‘tensorflow.python.eager.context’ Read More »

What is Cohen’s D in Python?

Effect size measure is one of the most important tools in statistical analysis. Effect size measures determine the strength of the relationship between two groups and their degree of difference. For example, if we have two groups in a class namely, A and B, and they have mean scores of 75 and 80, we can

What is Cohen’s D in Python? Read More »