Tag: numpy
Total: 18 Posts
Posts of Tag: numpy
  1. Definitive Guide to Logistic Regression in Python

    .lazyload-placeholder { display: none; } Introduction Sometimes confused with linear regression by novices - due to sharing the term regression - logistic regression is far different from linear regression. Whi...Learn More
    Pythonscikit-learndata sciencedata visualizationmatplotlibpandasnumpyseaborn
  2. Convert Numpy Array to Tensor and Tensor to Numpy Array with PyTorch

    .lazyload-placeholder { display: none; } Tensors are multi-dimensional objects, and the essential data representation block of Deep Learning frameworks such as Tensorflow and PyTorch. A scalar has zero dimensio...Learn More
    PythonArrayMachine LearningDeep Learningartificial intelligencenumpypytorch
  3. How to Fill NaNs in a Pandas DataFrame

    .lazyload-placeholder { display: none; } Missing values are common and occur either due to human error, instrument error, processing from another team, or otherwise just a lack of data for a certain observation...Learn More
    Pythondata sciencepandasnumpy
  4. Guide to NumPy Matrix Subtraction

    Introduction Subtracting two matrices in NumPy is a pretty common task to perform. The most straightforward way to subtract two matrices in NumPy is by using the - operator, which is the simplification of the n...Learn More
  5. Calculating Euclidean Distance with NumPy

    In this guide - we'll take a look at how to calculate the Euclidean distance between two points in Python, using Numpy. What is Euclidean Distance? Euclidean distance is a fundamental distance metric pertaining...Learn More
  6. Calculating Spearman's Rank Correlation Coefficient in Python with Pandas

    Introduction This guide is an introduction to Spearman's rank correlation coefficient, its mathematical calculation, and its computation via Python's pandas library. We'll construct various examples to gain a b...Learn More
    Pythondata sciencedata visualizationpandasmathsnumpyseaborn
  7. Self-Organizing Maps: Theory and Implementation in Python with NumPy

    Introduction In this guide, we'll be taking a look at an unsupervised learning model, known as a Self-Organizing Map (SOM), as well as its implementation in Python. We'll be using an RGB Color example to train ...Learn More
    PythonMachine Learningdata scienceartificial intelligencenumpytheory
  8. Random Projection: Theory and Implementation in Python with Scikit-Learn

    Introduction This guide is an in-depth introduction to an unsupervised dimensionality reduction technique called Random Projections. A Random Projection can be used to reduce the complexity and size of data, ma...Learn More
    PythonMachine Learningscikit-learndata scienceartificial intelligencenumpytheory
  9. Guide to Numpy's arange() Function

    Introduction Numpy is the most popular mathematical computing Python library. It offers a great number of mathematical tools including but not limited to multi-dimensional arrays and matrices, mathematical func...Learn More
  10. Matplotlib Stack Plot - Tutorial and Examples

    Matplotlib Stack Plot - Tutorial and Examples Introduction There are many data visualization libraries in Python, yet Matplotlib is the most popular library out of all of them. Matplotlib’s popularity is due to...Learn More
    PythonStackdata sciencedata visualizationmatplotlibpandasnumpy
  11. Python: How to Flatten a List of Lists

    Python: How to Flatten a List of Lists Introduction A list is the most flexible data structure in Python. Whereas, a 2D list which is commonly known as a list of lists, is a list object where every item is a li...Learn More
  12. Python: Slice Notation on NumPy Arrays

    Python: Slice Notation on NumPy Arrays Introduction The term slicing in programming usually refers to obtaining a substring, sub-tuple, or sublist from a string, tuple, or list respectively. Python offers an ar...Learn More