Other articles


  1. Some DL Pt2. Back Propagation.

    Published: Mon 21 October 2024
    By Alex

    In python.

    Backpropagation

    To unrderstand backpropagation we need to understand the forward propagation: the process of moving the input data through the net to get the output. On the contrary, backpropagation is the process of moving the error back through the net to adjust the weights and biases. Backpropagation involves calculating the gradient of the error with respect to the weights and biases of the neural network.

    read more
  2. Regression

    Published: Mon 06 November 2023
    By Alex

    In python.

    Intro

    Regression is a supervised learning problem: labelled data passed to a model, once model is instantiated some new input data can be passed in to predict what may happen next is a continuious sequence.

    The simplest model is a line. A line is a rough generalization that gives the ability to explain and predict variables that have a linear relationship with each other. A line that fits a set of data best is a Linear Regression. In regression problems, we are trying to predict a continuous-valued output: housing price is the most known dataset.

    read more
  3. Data Visualization (Python)

    Data Visualization With Python

    There are a lot of good code that makes it easy to tell a story with your data.

    Libraries

    I list some popular libraries to deal with:

    1. matplotlib
    2. seaborn
    3. plotly ...

    Example 1

    I have written a sript a while ago to plot a long sequence of data. In this first example I plot data represented LIDAR scanning of a road with segments having either cleanded ditches or not, while registering a lot I am intrested here in representing three quantitative variables extracted from LIDAR pointcloud.

    read more
  4. Clustering

    Intro

    Cluster analysis is the method in data analysis that is used to classify data points. Clustering pick out pattern in unlabeled data and group items in meaningful way. As a programmer you have to write scripts that learns the inherent structure of the data with no labeled examples provided (unsupervised learning). The program under the hood analyzes the data it encounters and tries to identify patterns and group the data on output.

    read more
  5. Perlin Noise

    Perlin Noise Algoritm

    Ken Perlin is the creator of perlin noise algoritm used in generating textures and terrain-like images to name a few applications of this smooth noise. This arcticle is about application of it and not so much about the algorithms steps.

    Perlin in Python

    In Python in 2023 there is no built-in implementation of the Perlin noise algorithm. Since I can't quickly (time isn't a key factor) refactor this implementation from java to python https://mrl.cs.nyu.edu/~perlin/noise/ read more

  6. Understanding Probability With Python

    Published: Fri 09 December 2022
    By Alex

    In python.

    Probability is a branch of mathematics that is often used to make decisions and is concerned with measuring uncertainty.

    Introduction

    Sets

    Set data types in Python have rules similar to set in mathematics: collections are unordered, unchangeable (only removal or addition is applicable), store unique items, and are unindexed.

    Experiments and Event

    Experiment return values for observation(s), and observations have some level of uncertainty. Single possible outcome of an experiment is a sample point in a set called sample space. Set sample space stores all possible sample points for one experiment. If your experiment is a set of n sample points the full sample space is written as follows for example of coin flip:

    read more

Page 1 / 2 »

links

social