본문 바로가기

2017/03

무료 프로그래밍, 대학 교재로 공부하자 | Free E-Book, Textbook Openstax 빌게이츠 재단이 후원하고 저명한 저자들이 참여하여 제작한 양질의 책들을 공짜로 제공하는 사이트이다. 수학, 과학, 사회, 화학, 물리학 등 다양한 분야의 대학 교재로 사용되는 책들이 올라와 있는 곳이다. Syncfusion 이 사이트는 특히 이공계, 그 중 프로그래밍을 공부하는 학생들에게 유용한 사이트이다. 물론 요즘은 과 특성을 불문하고 많은 사람들이 프로그래밍을 공부하고 있으므로 각계각층에 도움이 되리라 본다. 더보기
How to Run Fast Forward or Fast Backward on QuickTime Player with AppleScript property step : 10if application "QuickTime Player" is running thentell application "QuickTime Player"set playerPosition to (current time of front document) + stepset movieDuration to duration of front documentif (front document is playing) thenset isPlaying to trueelseset isPlaying to falseend ifif (playerPosition ≥ movieDuration) thenif front document is playing thenstop front documentend ifse.. 더보기
Linear Regression Ex1 H(x) = wx + b 의 Linear Regression example code import tensorflow as tf # X and Y data x_train = [1,2,3] y_train = [1,2,3] W = tf.Variable(tf.random_normal([1]), name = 'weight') b = tf.Variable(tf.random_normal([1]), name = 'bias') # Our hypothesis XW + b hypothesis = x_train * W + b # cost/Loss function cost = tf.reduce_mean(tf.square(hypothesis - y_train)) # Minimize optimizer = tf.train.Gradi.. 더보기
아나콘다(Anaconda)에 TensorFlow 설치하기 on Mac | Installing TensorFlow at Anaconda on MAC OS X Anaconda 설치Anaconda 는 여러 수학, 과학 패키지를 기본적으로 포함하고 있는 파이썬 배포판입니다. Anaconda 는 "conda" 로 불리는 패키지 매니저를 사용하여 Virtualenv 와 유사한 환경 시스템을 제공합니다. (역주: 텐서플로우 뿐만이 아니라 일반적인 데이터 사이언스를 위해서도 아나콘다를 추천합니다)Virtualenv 처럼 conda 환경은 각기 다른 파이썬 프로젝트에서 필요한 패키지들의 버전이 충돌되지 않도록 다른 공간에서 운영합니다. 텐서플로우를 Anaconda 환경으로 설치하면 기존 파이썬 패키지들을 덮어쓰지 않게됩니다.Anaconda를 설치합니다.conda 환경을 만듭니다.conda 환경을 활성화 하고 그 안에 텐서플로우를 설치합니다.설치 후에는 텐서플로우를 사용하고.. 더보기