Tag Archives: programming

Capturing NMEA sentences over WiFi using Python

In order to figure out how the NMEA-WiFi Gateway deals with clients, e.g. if it expects any “handshake” or any other communication setup protocol, I decided to write a simulator mimicing the gateway, and then using iRegatta 2 from Zifago … Continue reading

Posted in Data Analytics, Maritime Technology, Nautical Information Systems, NMEA, Numpy, performance, Python, Simulation, TCPIP | Tagged , , , , , , , , , , , , | Leave a comment

Making a living as a Professional Scientific Gambler using Bayesian Inference…?

As my readers know, over the past few weeks I’ve been conducting an experiment: Applying scientific betting on the just finished Ice Hockey World Championships.  By “scientific”, I’m referring to the exclusive use of statistical and mathematical models, simulation, and … Continue reading

Posted in Bayes, Data Analytics, Data Driven Management, Finance, Gambling, HOCKEY-2018, Math, Numpy, Probability, PYMC, Python, Simulation, Statistics | Tagged , , , , , , , , , | Leave a comment

Stay smart, write code

Interesting article on the mental benefits of writing code: https://www.makeuseof.com/tag/how-programming-affects-brain/

Posted in software | Tagged | Leave a comment

Hypothesis testing in Python – alpha,beta,Effect & Power

Suppose you’d like to conduct an experiment determining whether a new drug is effective to combat some disease. Let’s say that you have a control group and a test group of test subjects, where the test group receives your drug … Continue reading

Posted in Data Driven Management, Probability, Python, Simulation, Statistics | Tagged , , , , , , | Leave a comment

Statistics – lies, damn lies,part II: “Cancer rates in your county are more than factor 18 above national average!”

My previous post, on how statistics can, if not carefully presented and analyzed, give misleading conclusions can be further illustrated by a variant of the problem presented in that previous post: in the previous simulation, the overall population of 1.000.000 … Continue reading

Posted in Data Analytics, Data Driven Management, Math, Numpy, Probability, Simulation, Statistics | Tagged , , , , , | Leave a comment

Confidence Intervals in Python

Suppose you are interested in finding out the mean weight of all Sumo wrestlers in Japan. Or the average gas consuption of Korean made automobiles… Why…? No idea, but that sort of statistics might be of interest, for someone, at … Continue reading

Posted in Big Data, development, Math, Numpy, Probability, Python, Simulation, Statistics | Tagged , , , , , , , , , | Leave a comment

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

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