Category Archives: Software Test Automation

Converting Numeric Data to Categorical Data

In the August 2013 issue of MSDN Magazine, I explain how to convert numeric data into categorical data. See http://msdn.microsoft.com/en-us/magazine/dn342876.aspx. Machine learning often deals with two kinds of data: numeric data such as a person’s height in inches, and categorical … Continue reading

Posted in Machine Learning, Software Test Automation

Generating Distinct, Random Array Indices

I wrote an article titled “Generating Distinct, Random Array Indices” that was published in the July 2013 issue of Visual Studio Magazine. See http://visualstudiomagazine.com/articles/2013/07/01/generating-distinct-random-array-indices.aspx. This isn’t an earth-shattering topic, but it is a common task that I hadn’t seen explained … Continue reading

Posted in Machine Learning, Software Test Automation

Generating Exponentially Distributed Data in a Given Range (Min to Max)

I ran into a problem that, although I think I solved it, I’m not sure. The problem was to generate data between some min value and some max value in such a way that the data roughly follows an exponential … Continue reading

Posted in Machine Learning, Software Test Automation

Getting Information for all Windows using P/Invoke and C#

A colleague of mine recently asked how to list all the windows on a machine. Microsoft Visual Studio (a developer programming tool) ships with a tool called Spy++ that will list all windows, but Spy++ is a GUI tool and … Continue reading

Posted in Machine Learning, Software Test Automation

Analyzing an Excel 2013 Spreadsheet Programmatically using an Add-In

I set out to write an Excel add-in that will programmatically analyze the contents of a spreadsheet. I was surprised that the documentation I found was weak in the sense that there were few end-to-end examples. So, here we go. … Continue reading

Posted in Machine Learning, Software Test Automation

The Log Gamma Function with C#

I was doing some numerical programming recently and needed a C# implementation of the incomplete gamma function. This in turn required a C# implementation of the log-gamma function. (Note: the gamma function is a cousin to the factorial function. The … Continue reading

Posted in Machine Learning, Software Test Automation

Getting Word Synonyms using WordNet and C#

Recently, I’ve been working with Natural Language Processing. It’s a very large field and one that I’m not very familiar with. I’m looking at the problem of comparing two sentences to compute a measure of similarity so that I can … Continue reading

Posted in Machine Learning, Software Test Automation | 2 Comments