Hi Frank,
Please find the screenshots below,

This is the error I had mentioned. I execute this query after creating the 
table and inserting 20 rows as in this tutorial page
-> 
https://cwiki.apache.org/confluence/display/MADLIB/Quick+Start+Guide+for+Users

[cid:B6D4E7BF-CBF4-4E8A-B8AE-83676C544DD0]



The next screenshot shows that MADlib has been successfully installed.

[cid:BB51D11C-4442-4B94-8595-825B8EB8F635]
Please let me know if you need more details.



Thanks and Regards,

Karthik Maharajan Sankara Subramanian
Computer and Information Science and Engineering Department
Herbert Wertheim College of Engineering
University of Florida
Gainesville, FL-32611


On Jan 31, 2017, at 2:24 PM, Frank McQuillan 
<fmcquil...@pivotal.io<mailto:fmcquil...@pivotal.io>> wrote:

Karthik,

Please attach the output from the installation so we can have a look.

Thanks,
Frank

On Mon, Jan 30, 2017 at 5:48 PM, Sankara Subramanian,Karthik Maharajan <
skarthikmahar...@ufl.edu<mailto:skarthikmahar...@ufl.edu>> wrote:

MADlib community,
I am using Mac OS Sierra 10.12.2. I have installed both postgresql and
Madlib as per the “Super Quick Start” instruction in this page ->
https://cwiki.apache.org/confluence/display/MADLIB/Installation+Guide.
The installations were successful. However, when I try to run the sample
logistic regression query from the tutorial page,

SELECT madlib.logregr_train(
   'patients',                                 -- source table
   'patients_logregr',                         -- output table
   'second_attack',                            -- labels
   'ARRAY[1, treatment, trait_anxiety]',       -- features
   NULL,                                       -- grouping columns
   20,                                         -- max number of iteration
   'irls'                                      -- optimizer
   );

I am getting the error,

ERROR:  schema "madlib" does not exist
LINE 1: SELECT madlib.logregr_train(


Should I manually create the schema for madlib? Please let me know what I
am missing here.



Thanks and Regards,

Karthik Maharajan Sankara Subramanian
Computer and Information Science and Engineering Department
Herbert Wertheim College of Engineering
University of Florida
Gainesville, FL-32611




Reply via email to