Skip to content

Commit eaa826c

Browse files
committed
added docstrings
1 parent c14bd51 commit eaa826c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pertbio/pertbio/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
"""
2+
Import all necessary modules
3+
"""
14
from pertbio.config import Config
25
from pertbio.model import *
36
from pertbio.kernel import *

pertbio/pertbio/model.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
This module defines the structures for different models, including
3-
CellBox, linear regression, and co-expression
3+
CellBox, linear regression, Neural network, and co-expression
44
"""
55

66
import numpy as np
@@ -183,6 +183,7 @@ def forward(self, mu):
183183

184184

185185
class NN(LinReg):
186+
"""Neural network model"""
186187
def get_variables(self):
187188
with tf.compat.v1.variable_scope("initialization", reuse=True):
188189
self.params.update({

0 commit comments

Comments
 (0)