Tue Aug 21, 2018 2:48 am
Login Register Lost Password? Contact Us


ML.Regress_Poly_X

Topics related to the set of Machine Learning libraries and Matrix processing algorithms

Fri Jan 29, 2016 9:54 am Change Time Zone

Hello ,

I am trying to run an example code for linear regression

Code: Select all
IMPORT ML;
R := RECORD
INTEGER rid;
INTEGER Recs;
REAL Time;
END;
d := DATASET([{1,50000,1.00},{2,500000,2.29}, {3,5000000,16.15},
{4,25000000,80.2},{5,50000000,163},{6,100000000,316},
{7,10,0.83},{8,1500000,5.63}],R);
ML.ToField(d,flds);
P := ML.Regress_Poly_X(flds(number=1),flds(number=2));
P.Beta;
P.RSquared


and I am running into this error:


Warning: Only LOCAL versions of JOIN are currently supported on THOR (115, 13 - C:\Users\Public\Documents\HPCC Systems\ECL\My Files\ecl-ml-master\PBblas\PB_dgetrf.ecl)
Warning: Only LOCAL versions of JOIN are currently supported on THOR (147, 16 - C:\Users\Public\Documents\HPCC Systems\ECL\My Files\ecl-ml-master\PBblas\PB_dtrsm.ecl)
Warning: Only LOCAL versions of JOIN are currently supported on THOR (147, 16 - C:\Users\Public\Documents\HPCC Systems\ECL\My Files\ecl-ml-master\PBblas\PB_dtrsm.ecl)
Warning: (0,0): error C6003: C++ link error: cannot find -lcblas
Error: Compile/Link failed for W20160129-134350 (see '//192.168.56.101/var/lib/HPCCSystems/myeclccserver/eclcc.log' for details) (0, 0 - W20160129-134350)
Warning:
Warning: ---------- compiler output --------------
Warning: /usr/bin/ld: cannot find -lcblas
Warning: collect2: ld returned 1 exit status
Warning:
Warning: --------- end compiler output -----------


I am not sure what is going wrong. Any help would be very helpful.

Regards,
Vivek
vivekaxl
 
Posts: 11
Joined: Wed Oct 15, 2014 3:43 am

Fri Jan 29, 2016 2:48 pm Change Time Zone

Vivek,

Note that these are only warnings, your workunit is still being run. If you run your code on hThor, you won't get those warnings.

These warnings come from the "set of datasets" form of JOIN, which is only supported on Thor as LOCAL, which is what the warning is telling you. You could also edit the ECL code files where the warnings are from and add the LOCAL option to those JOINs and that would also make the warnings disappear.

HTH,

Richard
rtaylor
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 1370
Joined: Wed Oct 26, 2011 7:40 pm


Return to Machine Learning

Who is online

Users browsing this forum: No registered users and 1 guest

cron