Skip to content

Instantly share code, notes, and snippets.

def make_prediction(X, clf_path, class_encoding_path, std_path, col_seq_path, good_features_path ):
X = pd.DataFrame(X.values.reshape(1, -1), columns = X.index, dtype = float)
kingdom_classes = ['Archea', 'Bacteria', 'Eukaryots']
#load class encoding
with open(class_encoding_path, 'rb') as file:
le = pickle.load(file)
file.close()
@vishalsingha
vishalsingha / untitled13.ipynb
Last active January 31, 2021 10:49
BIT wise.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vishalsingha
vishalsingha / untitled13.ipynb
Last active January 31, 2021 04:56
Untitled13.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vishalsingha
vishalsingha / untitled13.ipynb
Last active January 31, 2021 04:18
Untitled13.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vishalsingha
vishalsingha / welcome-to-colaboratory.ipynb
Last active January 30, 2021 12:08
Welcome To Colaboratory
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vishalsingha
vishalsingha / escape-sequences.ipynb
Last active January 30, 2021 04:52
Escape Sequences.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vishalsingha
vishalsingha / untitled12.ipynb
Last active January 29, 2021 13:00
Untitled12.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.