isv.scripts package¶
Submodules¶
isv.scripts.constants module¶
CNV specific constants and attribute lists
isv.scripts.helpers module¶
- isv.scripts.helpers.check_cnvs_obj(cnvs)¶
isv.scripts.open_model module¶
- isv.scripts.open_model.open_model(model_path)¶
Open and return a model from json file
- Parameters:
model_path – path to the model
- Returns:
model
isv.scripts.prepare_df module¶
- isv.scripts.prepare_df.prepare(X, cnv_type, return_train=False)¶
Extract relevant attributes for training and return training dataset together with labels, and scale the dataset - do same for validation dataset
- Parameters:
cnv_type – type of the cnv == [“loss”, “gain”]
X – pandas dataframe
return_train – specify if transformed train data should be returned
- Return X:
transformed dataframe if return_train is False. else tuple (X, X_train)