Showing posts with label My Progs: AskWise. Show all posts
Showing posts with label My Progs: AskWise. Show all posts

Tuesday, January 27, 2009

AskWise v1.1.0

I would like to test this version a bit more but it seems stable so I am releasing it. The new features, as found in the changelog are:

v1.1.0: The stiffness has been removed. Some minor improvements on the prediction algorithm. The database format has also been changed. To upgrade a database to the new format, just remove completely its second line. Batch prediction feature added*. Nano is now the default external editor for Linux.

*The batch prediction feature will help you get lot's of predictions at once by inputting TSV files with queries into AskWise.

Also in the process of writing v1.1 I might have fixed some bugs that might have or might have not existed in the v1.0. :-)

For more info about AskWise you might want to read all posts about it.

The new version can be downloaded from here.


PS: Here is a small Lua Quine I made: s=[[ print("s=\[\["..s.."\]\]"..s) ]] print("s=\[\["..s.."\]\]"..s)
Quines are programs that output their source code when run. You can find Quines in many languages here.

Tuesday, November 25, 2008

AskWise v1.0.0



I finally finished rewriting AskWise and it think it's time to take it out of beta. It is a menu driver console application that using databases with sets of known numerical data, predicts missing values in other sets of numerical data. For example, one of the included databases has some sets of height, weight, age and sex (male=0 female=10). Given this database, AskWise can predict someones sex given his height, weight and age. In fact you can give it whatever values (of these four) you know for a person and it will try to predict the rest of them. This database is not useful but you can create your own databases and use them with AskWise.

That's the fourth time I program AskWise's algorithm. The first one was during my final year in school when me and a friend of mine were challenging each other to find functions with specific strange graphs. I though I should try to make a function that can easily be adapted to connect any number of points, so I made one. Later I realized that I could use this function as a quick and dirty way to predict missing values in a set so I wrote a program in PLua that used it for this purpose. I later rewrote it in Visual Basic improving the algorithm a little. Then I rewrote it in Lua, further improving the algorithm and now I wrote it again in Lua, using almost the same algorithm but with a better, menu driven UI.



The new version is released under the terms of the GNU/GPLv3, works on both Windows and Linux and can be found here.

I also wrote some documentation for it, where I try to explain both how to use AskWise and how it makes it's predictions. It was quite hard to do this in English and I believe that my syntax might be quite complex in some parts. If you believe that something is lacking clarity (I'm sure there are such parts) then, please, point it out to me.

PS: This is out of beta but there might still be bugs. If you find one, AskWise will create a small bug report on it's directory, I would be glad if you send it back to me. :-)

Tuesday, October 9, 2007

AskWise (Beta)

AskWise is a program that I made before two or three years that makes statistical predictions based on knowledge you give to it. I recently rewrote it in Lua so that it runs on Linux too. It is a console application now (the old one had a GUI) but the algorithm has been improved a bit. You may read the post about the old Ask Wise (the new version doesn't have the two words separated). What I just realized is that I have written AskWise three times from the scratch. The first one was in Plua, then in Visual Basic and finally to Lua. Click here to download the Beta version. Two sample databases are included. One that predicts someone's sex provided the height weight and age and another database with that tries (unsuccessfully in my opinion) to predict the resulting score of a football match based on three ratios given by OPAP in "Pame stoixima".

Wednesday, August 22, 2007

Old Program - Ask Wise

Ask Wise helps you make statistical predictions. Initially I had written it's algorithm in Plua which is port of Lua for palmtops and the first experiment with the program was to create a database with records of the height, weight, age and sex of many people. Then Ask Wise would be able to predict someones sex given his height weight and age.

Later I ported the algorithm to Visual Basic while improving many aspects of it. It now has much more features. But still the main idea is the same: Give it a database with sets of N numbers. Then give to it a set of N numbers with gaps (holes in a set of the N numbers) and Ask Wise will fill each hole with a number based on the databases records.

Does is seem complex? Well it might be a little but it is a very nice program as it can predict many things if you provide it with a good knowledge file (database). Just make sure that you read the help (by clicking the help button in the program).

You can download Ask Wise by clicking here.

Here is a screenshot:


Popular Posts