ソース コードが必要ない場合は、libnear ディレクトリにある Windows ディレクトリから Windows の train.exe と predict.exe を直接呼び出してみてください。
Process p = new Process();
p.StartInfo.FileName = @"E:\liblinear-1.94\windows\train.exe";
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.RedirectStandardError = true;
p.StartInfo.CreateNoWindow = false;
p.StartInfo.Arguments = @" -s 0 E:\Data.train";
p.Start();
StreamReader so = p.StandardOutput;
string a = "";
while (!p.HasExited)
{
Thread.Sleep(100);
if (!so.EndOfStream)
{
Console.WriteLine(so.ReadLine());
}
}
if (!p.StandardError.EndOfStream)
{
Console.WriteLine("StdError:" + p.StandardError.ReadToEnd());
}