reverse the order and see

Mohit Jaggi
Founder,
Data Orchard LLC
www.dataorchardllc.com




> On Oct 23, 2016, at 11:10 PM, Яровой Андрей Викторович <yaro...@iqmen.ru> 
> wrote:
> 
> Hi, Mohit!
> Thank you for your reply!
> I did what you proposed but with no success:
>  
> import org.apache.spark.sql.{ functions => sparkSqlFunctions }
> import hex.deeplearning.DeepLearning
>  
> <console>:26: error: missing argument list for method hex in object functions 
> Unapplied methods are only converted to functions when a function type is 
> expected. 
> You can make this conversion explicit by writing `hex _` or `hex(_)` instead 
> of `hex`. 
> import hex.deeplearning.DeepLearning 
>  
> Regards, 
> Andrew Yarovoy
>  
>  
> From: Mohit Jaggi [mailto:mohitja...@gmail.com] 
> Sent: Friday, October 21, 2016 8:02 PM
> To: users@zeppelin.apache.org
> Subject: Re: Problem using H2O in Zeppelin
>  
> try 
> import org.apache.spark.sql.{ functions => sparkSqlFunctions }
>  
> Mohit Jaggi
> Founder,
> Data Orchard LLC
> www.dataorchardllc.com <http://www.dataorchardllc.com/>
>  
>  
>  
>  
> On Oct 21, 2016, at 6:18 AM, Яровой Андрей Викторович <yaro...@iqmen.ru 
> <mailto:yaro...@iqmen.ru>> wrote:
>  
> Hi all!
> I faced a problem trying to use deep learning algorithms from H2O library in 
> Zeppelin
> The problem is following:
> When I try to import class
> import hex.deeplearning.DeepLearning
> I get an error:
> Unapplied methods are only converted to functions when a function type is 
> expected.
> You can make this conversion explicit by writing `hex _` or `hex(_)` instead 
> of `hex`.
>        import hex.deeplearning.DeepLearning
>  
> As I see the error happens because the function "hex" already exists in 
> Zeppelin namespace, it comes implicitly from the package 
> "org.apache.spark.sql.functions", 
> Thus it conflicts with package name, so I have to "unimport" it, but I don’t 
> know how.
> Any ideas?
>  
> Thanks in advance, 
> Andrew Yarovoy

Reply via email to