by Suf | Apr 15, 2022 | Programming, Python, Tips
In NumPy, if you try to multiply two NumPy arrays with different shapes using *, NumPy will attempt to broadcast the smaller array to the size of the larger array. If the dimensions are incompatible for broadcasting, the interpreter will throw the ValueError: operands...
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...