39bed742d56249a3e372df96625ccfb48cf450f7,neurokit/eeg/eeg_complexity.py,,eeg_complexity,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,24
Before Change
complexity[epoch_index][feature] = pd.Series(complexity[epoch_index][feature]).mean()
if len(data) == 1:
data = data[0]
return(complexity)
After Change
complexity_features[epoch_index][feature] = pd.Series(complexity_features[epoch_index][feature]).mean()
// Convert to dataframe
complexity_features = pd.DataFrame.from_dict(complexity_features, orient="index")
return(complexity_features)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: neuropsychology/NeuroKit.py
Commit Name: 39bed742d56249a3e372df96625ccfb48cf450f7
Time: 2017-08-16
Author: dom.mak19@gmail.com
File Name: neurokit/eeg/eeg_complexity.py
Class Name:
Method Name: eeg_complexity
Project Name: ClimbsRocks/auto_ml
Commit Name: 16a3cbe8c0b0d801ecc6db4c1a4a43ee09064520
Time: 2017-05-15
Author: ClimbsBytes@gmail.com
File Name: auto_ml/utils_model_training.py
Class Name: FinalModelATC
Method Name: predict_uncertainty
Project Name: scikit-learn-contrib/categorical-encoding
Commit Name: 39811c9f52de2780e5f06e6621f8c2c8a934a9b1
Time: 2016-01-10
Author: will@predikto.com
File Name: encoding_examples.py
Class Name:
Method Name: main