Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MSKCC-Computational-Pathology/MIL-nature-medicine-2019
/ functions
Functions
43 in github.com/MSKCC-Computational-Pathology/MIL-nature-medicine-2019
⨍
Functions
43
◇
Types & classes
8
↓ 3 callers
Method
setmode
(self,mode)
MIL_train.py:190
↓ 2 callers
Method
__init__
(self, path, s, shuffle=False, transform=None)
RNN_test.py:129
↓ 2 callers
Method
__init__
(self, path, s, shuffle=False, transform=None)
RNN_train.py:211
↓ 2 callers
Function
errors
(output, target)
RNN_train.py:160
↓ 2 callers
Function
inference
(run, loader, model)
MIL_train.py:108
↓ 2 callers
Method
init_hidden
(self, batch_size)
RNN_train.py:206
↓ 1 callers
Function
calc_err
(pred,real)
MIL_train.py:133
↓ 1 callers
Function
group_argtopk
(groups, data,k=1)
MIL_train.py:142
↓ 1 callers
Function
group_max
(groups, data, nmax)
MIL_train.py:151
↓ 1 callers
Function
group_max
(groups, data, nmax)
MIL_test.py:68
↓ 1 callers
Function
inference
(loader, model)
MIL_test.py:57
↓ 1 callers
Method
init_hidden
(self, batch_size)
RNN_test.py:124
↓ 1 callers
Function
main
()
RNN_test.py:27
↓ 1 callers
Function
main
()
RNN_train.py:31
↓ 1 callers
Function
main
()
MIL_train.py:29
↓ 1 callers
Function
main
()
MIL_test.py:24
↓ 1 callers
Method
maketraindata
(self, idxs)
MIL_train.py:192
↓ 1 callers
Method
setmode
(self,mode)
MIL_test.py:107
↓ 1 callers
Method
shuffletraindata
(self)
MIL_train.py:194
↓ 1 callers
Function
test_single
(embedder, rnn, loader)
RNN_test.py:66
↓ 1 callers
Function
test_single
(epoch, embedder, rnn, loader, criterion)
RNN_train.py:128
↓ 1 callers
Function
train
(run, loader, model, criterion, optimizer)
MIL_train.py:119
↓ 1 callers
Function
train_single
(epoch, embedder, rnn, loader, criterion, optimizer)
RNN_train.py:94
Method
__getitem__
(self,index)
RNN_test.py:150
Method
__getitem__
(self,index)
RNN_train.py:232
Method
__getitem__
(self,index)
MIL_train.py:196
Method
__getitem__
(self,index)
MIL_test.py:113
Method
__init__
(self, path)
RNN_test.py:89
Method
__init__
(self, ndims)
RNN_test.py:106
Method
__init__
(self, path)
RNN_train.py:171
Method
__init__
(self, ndims)
RNN_train.py:188
Method
__init__
(self, libraryfile='', transform=None)
MIL_train.py:164
Method
__init__
(self, libraryfile='', transform=None)
MIL_test.py:81
Method
__len__
(self)
RNN_test.py:169
Method
__len__
(self)
RNN_train.py:251
Method
__len__
(self)
MIL_train.py:214
Method
__len__
(self)
MIL_test.py:131
Method
forward
(self,x)
RNN_test.py:99
Method
forward
(self, input, state)
RNN_test.py:117
Method
forward
(self,x)
RNN_train.py:181
Method
forward
(self, input, state)
RNN_train.py:199
Method
maketraindata
(self, idxs)
MIL_test.py:109
Method
shuffletraindata
(self)
MIL_test.py:111