Skip to content

Commit 1600f42

Browse files
authored
Merge pull request #93 from AnFreTh/main
v0.1.8
2 parents 2a7102a + a4aa16e commit 1600f42

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

stream_topic/NAM/NAM.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,9 @@ def __init__(
323323
columns=["text", "tokens"], errors="ignore"
324324
)
325325

326+
if "predictions" in self.structured_data.columns:
327+
self.structured_data = self.structured_data.drop(columns=["predictions"])
328+
326329
self.target_column = target_column
327330

328331
# Combine topic probabilities with structured data
@@ -520,7 +523,6 @@ def forward(self, x):
520523

521524
def training_step(self, batch, batch_idx):
522525
x, y = batch
523-
print(y)
524526
y_hat = self(x)
525527
loss = self.loss_fn(y_hat, y)
526528

stream_topic/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""Version information."""
22

33
# The following line *must* be the last in the module, exactly as formatted:
4-
__version__ = "0.1.7"
4+
__version__ = "0.1.8"

0 commit comments

Comments
 (0)