Doug Stevenson
Doug Stevenson
Similar to what's been implemented in TS by @honzasp , batch and transaction should have a mandatory first argument to indicate the mode. See: https://github.com/libsql/libsql-client-ts/blob/main/src/api.ts As a temporary compatibility, the...
In sqlite3, these work the way you would expect with each variety of named parameter using a dictionary to specify values: ```python cur.execute("INSERT INTO users VALUES (:id, :email)", {"id": 2,...
In sqlite3, this is the idiomatic way to iterate rows from a query: ```python con = sqlite3.connect(":memory:") cur = con.cursor() for row in cur.execute("SELECT * FROM users"): print(row) ``` `execute`...
In sqlite3, this works as you would expect (list of values in square brackets vs. tuple in parens): ```python cur.execute("INSERT INTO users VALUES (?, ?)", [1, '[email protected]']) ``` In libsql,...
I'm using RandomForestLearner to train a 10-class categorization model using roughly 15000 examples and 12 features. One of the features is a categorical set that has about 3500 unique strings....
I'm using RandomForestLearner to train a 10-class categorization model using roughly 15000 examples and 12 features. My example set is imbalanced in terms of category distribution, so I need to...
I have a model trained with the python SDK that includes BOOLEAN type features. Predictions on this model using javascript/nodejs always fail with: > Error: Non supported feature type [object...
I tried to get ydf to work on my M1 mac, and only after a couple of hours struggling with this did I find that this was never going to...
I have a multi-class category task using RandomForestModel, and I'm trying to make predictions using the JS API. For the *Python* API, I had to reverse engineer the fact (without...
### [REQUIRED] Environment info **firebase-tools:** 13.0.2 **Platform:** macOS ### [REQUIRED] Test case Any OPTIONS request to an HTTP function. ### [REQUIRED] Steps to reproduce 1. Author any trivial HTTP function...