probcomp / BayesDB

A Bayesian database table for querying the probable implications of data as easily as SQL databases query the data itself. New implementation in http://github.com/probcomp/bayeslite
http://probcomp.csail.mit.edu/software/bayesdb/
Apache License 2.0
891 stars 52 forks source link

Remote INITIALIZE MODELS query error #29

Closed mdobson-cs closed 9 years ago

mdobson-cs commented 10 years ago

I'm trying to run the following queries remotely, but I'm running into the error below when I run the INITIALIZE query.

from client import Client

# Connect to BayesDB in out-of-box VM
c = Client(bayesdb_host='x.x.x.x', bayesdb_port=xxxx)=
c('CREATE BTABLE mytable FROM ~/Development/BayesDB/examples/dha/dha.csv;')
c('INITIALIZE 20 MODELS FOR mytable;')

This is the content of the returned request object after making the INITIALIZE query

{"jsonrpc": "2.0", "id": "1", "error": {"message": "initialize() got an unexpected keyword argument 'row_initialization'", "code": 0, "data": ["initialize() got an unexpected keyword argument