2018년 7월 15일 일요일

통계학 변수 용어

추리통계학: 모집단으로부터 추출된 표본의 통계량을 이용하여 모집단의 특성을 추측하고 검정하는 통계적 방법론이다. 

변수 개념 (양적변수, 질적변수, 독립변수, 종속변수) 


변수: 측정하고자 하는 특성. 관심있는 특성으로 상수가 아닌 변화하는 값을 가지는 것  

양적변수: 연구자의 관심대상이 되는 특성을 수치로 나타내는 변수 (연속형: T-test) 예) 아동의 몸무게, 성인남자의 키, 대장균의 수, 진료환자의 나이 등등  

질적변수: 특성을 범주로 구분하여 나타내는 변수 (범주형: χ²-test) 예) 성별구분 (남자:1 & 여자;2), 소득수준 (상, 중, 하) 

독립변수 :다른 변수에 영향을 주는 변수로 원인이 된다.(원인변수, 설명변수, 예측변수)라고 한다.  

종속변수 : 다른 변수에 영향을 받는 변수로 결과로 된다.(결과변수, 피설명변수, 피예측변수)라고 한다. 
예) 00당과 00당의 당원들의 봉급 자료이다 성별 및 당 간의 봉급차이를 살펴볼 때,  
 독립변수는 성별, 속한당/ 종속변수는 봉급 예) ‘흡연은 폐암을 유발한다’ 에서 흡연은 독립변수, 폐암은 종속변수이다. 

2018년 7월 2일 월요일

Building Tensorflow on anaconda in Mac

1. Follow the link below
https://www.tensorflow.org/install/install_sources

2. Follow the commands
conda create --name tensorflow python=3.6 #if you never installed it before. activate tensorflow pip install tensorflow

ex) make graph log file in a source code
tw = tf.summary.FileWriter("log_dir", graph=sess.graph)

ex) connect with the link below
http://localhost:6006/

2017년 4월 4일 화요일

[Tensorflow] With CPU only on Ubuntu 10.04 LTS

Tensorflow with CPU only.

01. Install Virtualbox. Mount and install Ubuntu 16.04 LTS.

02. Install python3 with this command.
: sudo apt-get install python3

03. sudo apt-get install python3-pip python3-dev python-virtualenv

04. Edit .bashrc or .bash_profile with vi and add the URL below.
   export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0-cp35-cp35m-linux_x86_64.whl

05. virtualenv --system-site-packages -p python3 ~/tensorflow

06. Excute tensorflow
   : source ~/tensorflow/bin/activate

07. Checking python version
   : python --version

08. Upgrade tensorflow
   : pip3 install --upgrade $TF_BINARY_URL

09. Install Jypyter notebook
   : pip3 install jupyter

10. Excute Jupyter
   : jupyter notebook

2013년 12월 28일 토요일

VMware 콘솔 화면 해상도 설정

1. 해당 이미지로 부팅을 하고 root 권한에서 아래 파일을 수정한다.
   [root@ftz root ]# vi /etc/grub.conf 


설정값 : 지원 색상과 해상도에 따라 다르고 필요 시 구글링~
 - 791 : 1024 * 768
 - 794 : 1280 * 1024

putty setting

http://hajadc.tistory.com/65

2013년 12월 27일 금요일

gdb couldn't get registers operation not permitted

브레이크 포인트 걸고 실행했을 때 제목처럼 오류가 나오면
해당 파일을 다른 디렉토리로 복사해서 하면 된다.
- 끝 - ^^