Categories
Python

cluster1d a single dimensional clustering algorithm

I was looking for a single dimension clustering algorithm back in the day and i didnt really find one implemented “out of the box” so I took the challenge and implemented one myself, I called the resulting algorithm “cluster1d” and you can see it in full here. Its runtime complexity is O(nlogn) and space complexity […]

Categories
Python

Convert Neural Network Inputs to Time Series

A Typical and simple neural network inputs would consist of 2 dimensions : Sample dimension Feature dimension To clarify their meaning, The length of Sample dimension of the given input indicates how many data items are we going to input, while the length of Feature dimension indicates how many data features does each data item […]

Categories
Python

Visualizing Training of Neural Networks

When I started working on neural networks deep learning projects, I was always curious about whats going on under the hood, observing TensorFlow’s output was not enough to realize how good my model really trains and it doesn’t provide enough clarity of how the model progresses towards the goal I want it to learn. After […]