Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Cesar has confirmed there is a problem with that class:
"Many thanks for opening the issue. Indeed there are some issues with the PolynomiaLeastSquares class, that probably got introduced during the rush to port all learning algorithms to the new .Learn() interfaces.
There are at least two problems there, both happening for the roughly the same reason: The .ToString() method and the .Learn are still reflecting the old implementation, where the intercept was stored as the last element of the .Coefficients array (which now it is stored as separate value in the .Intercept property).
I will add more tests and fix it before the next pre-release.
You're right! Great analysis of the problem. Thanks for putting in the request, now we wait for the next release. Its important to note Accord is an open source project, not a finished commercial product, so everyone knows. I wonder about the multi reg function has problems too?
On a side note, we can also interoperate R and NT with R.NET, which has a wealth of useful features! Check it out!
Update: A major downside of R.net only allows one instance at a time, so you can only use it in one indicator at a time. Bummer.... Can't figure a work around. If you try to access it multiple times from different indicator, you get errors or NT crash. Any Ideas?
I'm new to NT8 but old to ML.
I tried to add Accord to ninjatrader, this is the NT8 version I use: 8.0.8.0 64-bit (Standard).
I try to do this: var smo = new SequentialMinimalOptimization<Gaussian>()
{
Complexity = 100 // Create a hard-margin SVM
};
It's compiles with no issues. but I get run-time error:
Strategy 'ScalperGilbollinger': Error on calling 'OnBarUpdate' method on bar 0: Could not load file or assembly 'Accord.MachineLearning, Version=3.6.0.0, Culture=neutral, PublicKeyToken=fa1a88e29555ccf7' or one of its dependencies. The system cannot find the file specified.
maybe you can guide me on how to install the Accord correctly?
maybe you can share the Accord DLL files....
I don't use Accord but you need to add DLL files to NT8 using the right mouse menu 'References...' option in any single source code file, then they are available to all.