Tag Archives: Python

Central Limit Theorem illustrated

A fundamental theorem of statistics is the Central Limit Theorem, which basically states that the averages (means) of a large number of samples drawn from any population converges towards a normal distribution. The graph above demonstrates this theorem: the blue … Continue reading

Posted in development, Math, Numpy, Python, Statistics | Tagged , , , | 2 Comments

Wind,Temperature,Air Pressure statistics

The above graphs show statistics from SMHI, the swedish meteorological and hydrographical institute, on air pressure, temperature and wind speed.  For each categrory, (pressure,temp,wind speed) there are two graphs: the first a frequency chart, the second a Q-Q-chart, showing the … Continue reading

Posted in development, Non Linear Dynamic Systems, Probability, Python, Statistics | Tagged , , , , , , | Leave a comment

Wind Speed Distribution – is it Normal…?

As a sailor, I’ve become obsessed by wind. Trying to understand its behavior has kept me busy for decades, and still, I can’t claim I fully understand wind behavior. Anyways, one of the things I’ve wondered is whether wind is … Continue reading

Posted in Data Analytics, development, Nautical Information Systems, Probability, Python, software, Statistics | Tagged , , , , , , , | 3 Comments

Map Projections using Python & Basemap

The numerous external libraries available for Python continue impressing me, in scope, numbers and ease of use.  A couple of hours ago I googled for chartographic tools for Python, and found the Basemap-library, an add-on to Matplotlib. For whatever reason, … Continue reading

Posted in development, Maritime Technology, Nautical Information Systems | Tagged , , , , , , , | Leave a comment

Great Circle Navigation

The shortest distance between two points is a straight line, right…? Nope, not on the surface of a sphere, like our earth. On a sphere, the shortest distance between two points is a Great Circle.  Let’s say you are a … Continue reading

Posted in development, Nautical Information Systems, Python | Tagged , , , , , , , | Leave a comment

Machine Learning – results

So, I reached the point where my Neural Network , after a couple of thousand training iterations, is capable of correctly identifying and separating different categories of input into their corresponding classes. More specifically, as “targets”, I’ve chosen a number … Continue reading

Posted in AI, development, Machine Learning, Neural networks, Society, Technology | Tagged , , , , , , , | Leave a comment

Machine Learning – normalizing your inputs

Often it pays off  to pre-process/normalize your input data before passing it further down the line of your Neural Network, eg. to get the range of input values into a scale more suitable for your network. Im experimenting with images, … Continue reading

Posted in AI, development, Machine Learning, Neural networks | Tagged , , , , | Leave a comment

Improving Python performance by factor of 100

I’m doing a bit of Machine Learning on my spare time. A neural network that analyzes images. Anyways, since I don’t have zillions of computing power, any decent amount of learning data takes hours and days to process thru my … Continue reading

Posted in AI, Complex Systems, development, Machine Learning, Neural networks, performance, software | Tagged , , , , , , | 1 Comment

Neural Networks – training the network using an SGD

In order to understand how my chosen strategy for finding new weights, namely an SGD, actually operates, I did a bit of analysis. The graph below shows the flow of one single input, in a trivial, “linear” neural network, with only … Continue reading

Posted in AI, development, Machine Learning, Neural networks | Tagged , , , , | Leave a comment

Signal vs Noise – target recognition using Neural Networks

A Python hack implementing a 3 level Neural Network. After 500 iterations of training, the network is capable of fully separating Targets (non random numeric patterns) from noise, i.e random numeric sequnces.

Posted in AI, development, Neural networks | Tagged , , , | 1 Comment