Skip to content

Commit

Permalink
Fixing scscore
Browse files Browse the repository at this point in the history
  • Loading branch information
Bharath Ramsundar authored and Bharath Ramsundar committed Oct 22, 2020
1 parent 5768421 commit 4019d55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deepchem/models/tests/test_scscore.py
@@ -1,6 +1,6 @@
import unittest

import deepchem
import tempfile
import deepchem as dc
import numpy as np


Expand All @@ -16,9 +16,9 @@ def test_overfit_scscore(self):

X = np.random.rand(n_samples, 2, n_features)
y = np.random.randint(2, size=(n_samples, n_tasks))
dataset = deepchem.data.NumpyDataset(X, y)
dataset = dc.data.NumpyDataset(X, y)

model = deepchem.models.ScScoreModel(n_features, dropouts=0)
model = dc.models.ScScoreModel(n_features, dropouts=0)

model.fit(dataset, nb_epoch=100)
pred = model.predict(dataset)
Expand Down

0 comments on commit 4019d55

Please sign in to comment.