How to normalize and denormalize data between 0 and 1

Some AI algo¬†works better with values between 0 and 1 but it is rare to have data already between 0 and 1. The following formula will show you how to convert an array of data to a normalized Normalize = ($inputvalue – $min) / ($max – $min) 0.111 = (2-1)/(10-1) Denormalized = ($normalizedValue * ($max-$min) […]

Read More »

How to install metatrader 5 on linux ubuntu xenial

There is 2 basics steps to install Metatrader 5 on linux. You need to install right version of wine and ubuntu xenial does not have the right version in its repository. The one that comes with Ubuntu is missing the mono packages that is needed to run .NET application and it is also missing the […]

Read More »

How to install wine on linux ubuntu with X11 forwarding via vagrant

The following code should go into a bash file on the linux image that vagrant is running. 1234567echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections yes Y | udo apt-get install ttf-mscorefonts-installer sudo dpkg –add-architecture i386 sudo apt-get update yes Y | sudo apt-get install wine yes Y | sudo apt-get install winetricks yes Y […]

Read More »

How to visualise an in Memory Database.

This is a great tool to be able to see what is going on under the hood when you have an embeded in memory database in your application. 1    DatabaseManagerSwing.main(new String[] { "–url", "jdbc:hsqldb:mem:testdb", "–user", "sa", "–password", "" });

Read More »