5bd1e60a5b93b52d6e6f4177c980cab3b3982eef,hypertools/tools/missing_inds.py,,missing_inds,#Any#,7
Before Change
x = format_data(x)
inds = [[idx for idx,row in enumerate(arr) if any(np.isnan(row))] for arr in x]
if len(inds) > 1:
return inds
else:
After Change
inds = []
for arr in x:
if np.argwhere(np.isnan(arr)).size is 0:
inds.append(None)
else:
inds.append(np.argwhere(np.isnan(arr)))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: ContextLab/hypertools
Commit Name: 5bd1e60a5b93b52d6e6f4177c980cab3b3982eef
Time: 2017-10-06
Author: andrew.heusser@gmail.com
File Name: hypertools/tools/missing_inds.py
Class Name:
Method Name: missing_inds
Project Name: layumi/Person_reID_baseline_pytorch
Commit Name: e9d5373461b0a037716722a461cb12416aa5d1bc
Time: 2018-01-01
Author: zzheng@joo-ml1-dev.j.cinglevue.com
File Name: evaluate.py
Class Name:
Method Name: evaluate
Project Name: AIRLab-POLIMI/mushroom
Commit Name: c702968d83449f3a6aad3a5cec6cc0b2aafd78c5
Time: 2017-09-27
Author: carloderamo@gmail.com
File Name: mushroom/algorithms/dqn.py
Class Name: RDQN
Method Name: fit