clop-console outputs some numbers but I don't know what they mean. It looks like the last 4 are the 4 parameter values? And what does the data file output mean? Again, this is just a line of numbers - no doc on that.
--Jon
clop-console output?
Moderator: Ras
-
jdart
- Posts: 4420
- Joined: Fri Mar 10, 2006 5:23 am
- Location: http://www.arasanchess.org
-
lucasart
- Posts: 3243
- Joined: Mon May 31, 2010 1:29 pm
- Full name: lucasart
Re: clop-console output?
Personally, I used the CLOP GUI, it's easier.jdart wrote:clop-console outputs some numbers but I don't know what they mean. It looks like the last 4 are the 4 parameter values? And what does the data file output mean? Again, this is just a line of numbers - no doc on that.
--Jon
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
-
Rémi Coulom
- Posts: 438
- Joined: Mon Apr 24, 2006 8:06 pm
Re: clop-console output?
I'm lazy, so I just paste the code:jdart wrote:clop-console outputs some numbers but I don't know what they mean. It looks like the last 4 are the 4 parameter values? And what does the data file output mean? Again, this is just a line of numbers - no doc on that.
--Jon
Code: Select all
void CRealObserver::OnOutput(int i)
{
//results.Refresh();
const int Wins = results.CountOutputs(COutput(COutput::WinV()));
const int Draws = results.CountOutputs(COutput(COutput::DrawV()));
const int Losses = results.CountOutputs(COutput(COutput::LossV()));
std::cout << std::setw(8) << results.GetSamples();
std::cout << std::setw(8) << Wins;
std::cout << std::setw(8) << Draws;
std::cout << std::setw(8) << Losses;
std::cout << std::setw(13) << (Wins + 0.5 * Draws) / (Wins + Draws + Losses);
std::vector<double> v(paramcol.GetSize());
bool fMax = me.MaxParameter(&v[0]);
if (fMax)
{
for (int j = 0; j < paramcol.GetSize(); j++)
{
const CParameter ¶m = paramcol.GetParam(j);
std::cout << std::setw(13) << param.TransformFromQLR(v[j]);
}
}
std::cout << '\n';
std::cout.flush();
}
-
jdart
- Posts: 4420
- Joined: Fri Mar 10, 2006 5:23 am
- Location: http://www.arasanchess.org
Re: clop-console output?
So it looks like these are the current params, transformed back to their original scale?
How do I see the converged or converging values- does this require the GUI? (I'm not running that because commonly I do everything remotely from another machine, and run batch processes detached).
--Jon
How do I see the converged or converging values- does this require the GUI? (I'm not running that because commonly I do everything remotely from another machine, and run batch processes detached).
--Jon
-
Rémi Coulom
- Posts: 438
- Joined: Mon Apr 24, 2006 8:06 pm
Re: clop-console output?
These are the estimated location of the maximum.jdart wrote:So it looks like these are the current params, transformed back to their original scale?
How do I see the converged or converging values- does this require the GUI? (I'm not running that because commonly I do everything remotely from another machine, and run batch processes detached).
--Jon
If you wish to visualize data with the GUI, you can just copy the .clop and data files to your local machine, and open them with the GUI.
Rémi
-
jdart
- Posts: 4420
- Joined: Fri Mar 10, 2006 5:23 am
- Location: http://www.arasanchess.org
Re: clop-console output?
Got it, thanks for the info.
--Jon
--Jon