전체 글195 [python] argparse 구문 jupyter 에서 사용하기 argparse는 python3에 기본적으로 들어있는 pytyhon input variable 처리 라이브러리다. 사용법> def main(): # Training settings parser = argparse.ArgumentParser(description='PyTorch MNIST Example') parser.add_argument('--batch-size', type=int, default=64, metavar='N', help='input batch size for training (default: 64)') parser.add_argument('--test-batch-size', type=int, default=1000, metavar='N', help='input batch size for.. 2019. 5. 27. VScode에 jupyter notebook, ipython 사용하기 https://code.visualstudio.com/docs/python/jupyter-support Working with Jupyter Notebooks in Visual Studio Code Working with Jupyter Notebooks in Visual Studio Code code.visualstudio.com 파이썬 고르기 Python: Select Interpreter command from the Command Palette (Ctrl+Shift+P). Connect to a remote Jupyter server You can offload intensive computation in a Jupyter notebook to other computers by connecting .. 2019. 5. 16. Word2Vec 의 학습 한문장 내에 가까운곳에 같이 등장하는 단어 -> 중심단어, 주변단어 중심단어와 주변단어의 임베딩이 유사해 지는 과정. 2019. 5. 13. node와 edge의 성질에 따른 그래프의 종류 어떤 이론에 입각한 내용이 아니고, 내가 임의로 정의한 내용. 1) edge 가 node의 유사도로 정의된 그래프 : node의 feature을 기반으로 edge을 정의. ex) fMRI,EEG기반 brain network. 2) edge 가 node사이에 일어난 사건으로 정의된 그래프 : edge로 연결된 두 node의 성질이 유사하지 않음. 2.1) edge의 성질이 균일해서 indirect 연결이 의미가 있는경우 ex) 항공네트워크, indirect path가 의미있음. Effiency 분석이 의미있음. 인맥네트워크,(페이스북과 같은곳에서 indirect 인맥연결이 있으면 추천해서 보여줌. 상대적으로 인맥이 있을 가능성이 있음) 2.2) edge의 성질이 균일하지만 indirect 연결이 의미 없는.. 2019. 4. 25. 이전 1 ··· 15 16 17 18 19 20 21 ··· 49 다음