{"cells":[{"metadata":{},"cell_type":"markdown","source":"## Params"},{"metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","trusted":true},"cell_type":"code","source":"seed = 42\nnfold = 5\nimport numpy as np \nimport pandas as pd \nimport os\ndata_dir = '../input/ranzcr-clip-catheter-line-classification/train' ","execution_count":null,"outputs":[]},{"metadata":{"trusted":true},"cell_type":"code","source":"df  = pd.read_csv('../input/how-to-properly-split-folds/train_folds.csv')\ndf0 = pd.read_csv('../input/pseudo-labeling-for-nih-fold-0/fold zero predictions positive and negative.csv')\ndf1 = pd.read_csv('../input/pseudo-labeling-for-nih-fold-1/fold one predictions positive and negative.csv')\ndf2 = pd.read_csv('../input/pseudo-labeling-for-nih-fold-2/fold two predictions positive and negative.csv')\ndf3 = pd.read_csv('../input/pseudo-labeling-for-nih-fold-3/fold three predictions positive and negative.csv')\ndf4 = pd.read_csv('../input/pseudo-labeling-for-nih-fold-4/fold four predictions positive and negative.csv')\n","execution_count":null,"outputs":[]},{"metadata":{"trusted":true},"cell_type":"code","source":"df['file_path'] = df.StudyInstanceUID.apply(lambda x: os.path.join(data_dir, f'{x}.jpg'))\n","execution_count":null,"outputs":[]},{"metadata":{"trusted":true},"cell_type":"code","source":"full_train = pd.concat([df,df0,df1,df2,df3,df4],axis=0)","execution_count":null,"outputs":[]},{"metadata":{"trusted":true},"cell_type":"code","source":"full_train.to_csv('full training set 2 splits.csv')","execution_count":null,"outputs":[]},{"metadata":{"trusted":true},"cell_type":"code","source":"","execution_count":null,"outputs":[]}],"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"pygments_lexer":"ipython3","nbconvert_exporter":"python","version":"3.6.4","file_extension":".py","codemirror_mode":{"name":"ipython","version":3},"name":"python","mimetype":"text/x-python"}},"nbformat":4,"nbformat_minor":4}