These are chat archives for hpcc-systems/ecl-ml

23rd
May 2016
johnholt
@johnholt
May 23 2016 11:32
What is the error? How are you running? A command line, ECLIPSE, something else?
MahalakshmiL
@MahalakshmiL
May 23 2016 15:30
command line
johnholt
@johnholt
May 23 2016 15:36
I assume that you added the directory where you put the Machine Learning code to the include directories list. If not, you need to do that. What is your command line?
MahalakshmiL
@MahalakshmiL
May 23 2016 15:37
i downloaded the entire ML folder
I get error on IMPORT ML
I ran ecl run IRegression.ecl -t thor
johnholt
@johnholt
May 23 2016 15:40
And you added the directory holding the download to the -I list?
MahalakshmiL
@MahalakshmiL
May 23 2016 15:40
I get the error:
IRegression.ecl(3,11): error C2081: Import names unknown module "ML"
How to add that ?
I haven't done that
johnholt
@johnholt
May 23 2016 15:47
I don’t use the command line. however, if you look in the documentation for ecl run, you will see how you specify eclcc options att eh bottom of the parameter list.
MahalakshmiL
@MahalakshmiL
May 23 2016 15:47
ok..
will try
johnholt
@johnholt
May 23 2016 15:48
One point. I believe that you will see that IRegression is an abstract definition used to define the Regression interface.
In Java or C++, it would be like trying to instantiate a virtual class.
MahalakshmiL
@MahalakshmiL
May 23 2016 15:49
I see..
Is it easier to run with eclipse ?
johnholt
@johnholt
May 23 2016 17:31
I think that ECLIPSE is easier, but you should be able to do it with command line tools. There are several other ways to interact with an HPCC cluster. One of the alternatives is a Windows program called ECL-IDE which does quite a bit for you. If you are not running Windows but have WINE running (a Windows emulator), you should be able to run the ECL-IDE.