Skip to content

Commit

Permalink
Update database.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Emanuele Guidotti committed Feb 11, 2024
1 parent faad5c3 commit 76fe2f1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bornrule/sql/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,6 @@ def _sql_transform(self, items, concat, name):
1.0 AS {self.w}
FROM
{table}
WHERE
{items[2]} IS NOT NULL
"""

def _sql_partial_fit(self, items, sample_weight):
Expand All @@ -406,7 +404,8 @@ def _sql_partial_fit(self, items, sample_weight):
FROM
P_jk
WHERE
1 = 1
{self.j} IS NOT NULL AND
{self.k} IS NOT NULL
"""

def _sql_predict(self, items, cache):
Expand Down

0 comments on commit 76fe2f1

Please sign in to comment.