32 lines
1.1 KiB
Python
32 lines
1.1 KiB
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
"""
|
|
Created on Sat Sep 3 09:43:22 2022
|
|
|
|
@author: tanu
|
|
"""
|
|
|
|
###############################################################################
|
|
homedir = os.path.expanduser("~")
|
|
sys.path.append(homedir + '/home/tanu/git/LSHTM_analysis/scripts/ml/combined_model')
|
|
sys.path.append(homedir + '/home/tanu/git/LSHTM_analysis/scripts/ml/ml_functions')
|
|
sys.path.append(homedir + '/home/tanu/git/LSHTM_analysis/scripts/ml')
|
|
|
|
from MultClfs import *
|
|
###############################################################################
|
|
|
|
#%% RUN: Combined model Baseline
|
|
outdir_cg = "/home/tanu/git/LSHTM_ML/output/combined/"
|
|
#===============
|
|
# Complete Data
|
|
#===============
|
|
CombinedModelML(cm_input_df = combined_df, outdir = outdir_cg, file_suffix = "complete")
|
|
CombinedModelML(cm_input_df = combined_df, outdir = outdir_cg, std_gene_omit=['alr'], file_suffix = "complete")
|
|
|
|
#===============
|
|
# Actual Data
|
|
#===============
|
|
CombinedModelML(cm_input_df = combined_df_actual, outdir = outdir_cg, file_suffix = "actual")
|
|
CombinedModelML(cm_input_df = combined_df_actual, outdir = outdir_cg, std_gene_omit=['alr'], file_suffix = "actual")
|
|
|
|
|