-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import numpy as np # linear algebra | ||
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv) | ||
|
||
import os | ||
print(os.listdir("../input/nvidiaapex/repository/NVIDIA-apex-39e153a")) | ||
|
||
# Installing Nvidia Apex | ||
! pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ../input/nvidiaapex/repository/NVIDIA-apex-39e153a | ||
|
||
from __future__ import absolute_import | ||
from __future__ import division | ||
from __future__ import print_function | ||
|
||
import datetime | ||
import pkg_resources | ||
import seaborn as sns | ||
import time | ||
import scipy.stats as stats | ||
import gc | ||
import re | ||
import operator | ||
import sys | ||
from sklearn import metrics | ||
from sklearn import model_selection | ||
import torch | ||
import torch.nn as nn | ||
import torch.utils.data | ||
import torch.nn.functional as F | ||
from nltk.stem import PorterStemmer | ||
from sklearn.metrics import roc_auc_score | ||
%load_ext autoreload | ||
%autoreload 2 | ||
%matplotlib inline | ||
from tqdm import tqdm, tqdm_notebook | ||
import os | ||
from IPython.core.interactiveshell import InteractiveShell | ||
InteractiveShell.ast_node_interactivity = "all" | ||
import warnings | ||
warnings.filterwarnings(action='once') | ||
import pickle | ||
from apex import amp | ||
import shutil |