Skip to content

Commit

Permalink
modified: __init__.py
Browse files Browse the repository at this point in the history
	modified:   dcm_api.py
	modified:   dcm_torch.py
  • Loading branch information
chiragnagpal committed Mar 15, 2022
1 parent 2623bf8 commit 64c3de0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion auton_survival/models/dcm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class DeepCoxMixtures:
hidden layer.
Example
-------
>>> from dsm.contrib import DeepCoxMixtures
>>> from auton_survival.models.dcm import DeepCoxMixtures
>>> model = DeepCoxMixtures()
>>> model.fit(x, t, e)
Expand Down
4 changes: 2 additions & 2 deletions auton_survival/models/dcm/dcm_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class DeepCoxMixtures:
"""A Deep Cox Mixture model.
"""A Deep Cox Mixtures model.
This is the main interface to a Deep Cox Mixture model.
A model is instantiated with approporiate set of hyperparameters and
Expand Down Expand Up @@ -195,4 +195,4 @@ def predict_latent_z(self, x):
"model using the `fit` method on some training data " +
"before calling `predict_latent_z`.")


2 changes: 1 addition & 1 deletion auton_survival/models/dcm/dcm_torch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import numpy as np

from dsm.dsm_torch import create_representation
from auton_survival.models.dsm.dsm_torch import create_representation

class DeepCoxMixturesTorch(nn.Module):
"""PyTorch model definition of the Deep Cox Mixture Survival Model.
Expand Down

0 comments on commit 64c3de0

Please sign in to comment.