Visualizing An Image From DICOM File

Read an DICOM file This is example to read a DICOM file and display an image , by using this example code you must be install package oro.dicom first. Download a DICOM file from Neurohacking_data repository library(oro.dicom) url <- “https://raw.githubusercontent.com/muschellij2/Neurohacking_data/master/BRAINIX/DICOM/T1/IM-0001-0001.dcm” destfile <- “IM-0001-0001.dcm” name <- file.path(getwd(), destfile) download.file(url, destfile,mode=”wb”) # DICOM is binaryfile format dcm <- readDICOMFile(destfile)…

Read More

Visualizing Images From NIfTI File

Read an NIfTI file This is example to read a NIfTI file and display an image , by using this example code you must be install package oro.nifti) first. Download a NIfTI file from Neurohacking_data repository library(oro.nifti) url <- “https://raw.githubusercontent.com/muschellij2/Neurohacking_data/master/BRAINIX/NIfTI/Output_3D_File.nii.gz” destfile <- “Output_3D_File.nii.gz” name <- file.path(getwd(), destfile) download.file(url, destfile,mode=”wb”) # NIfTI is binaryfile format nii_T1 <- readNIfTI(destfile)…

Read More

Note One Case Study About T-Test

This is a quiz in inference statistic at udacity In this quiz, we want to study : Who has more shoes – males or females? Firstly, we set a null hypothesis that : Males and Femals have the same number of shoes. So, alternative hypothesis is Males and Femals have not the same number of shoes.  This…

Read More

Predicting House Price

My boss give me the challenge “how to predict house prices”. I wondered what to do… It’s difficult because i don’t know what is the feature1 and feature2. How to start? Input Training Content training.csv file features1,features2,price 0.44,0.68,511.14 0.99,0.23,717.1 0.84,0.29,607.91 0.28,0.45,270.4 0.07,0.83,289.88 0.66,0.8,830.85 0.73,0.92,1038.09 0.57,0.43,455.19 0.43,0.89,640.17 0.27,0.95,511.06 0.43,0.06,177.03 0.87,0.91,1242.52 0.78,0.69,891.37 0.9,0.94,1339.72 0.41,0.06,169.88 0.52,0.17,276.05 0.47,0.66,517.43 0.65,0.43,522.25…

Read More

Pagination Search Result in Cakephp 1.1

In previous lesson, i talked about pagination in cakephp 1.1.  In this lesson, i’m going to talk about pagination search result in cakephp 1.1.(like previous method). With PaginationHelper and PaginationComponent in previous lesson, they only help conventional pagination. But, when we add search condition into request, pagination has been error. The reason is that when…

Read More

How To Setup SVN in BlueHost Host

1. Request bluehost for access by ssh 2. Connect to server bt ssh client (PuTTY, Bitvise) 3. Setup ~$mkdir _src ~$cd _src _src$wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz _src$wget http://subversion.tigris.org/downloads/subversion-deps-1.4.6.tar.gz _src$tar -xzvf subversion-1.4.6.tar.gz _src$tar -xzvf subversion-deps-1.4.6.tar.gz _src$cd subversion-1.4.6 _src/subversion-1.4.6$cd apr _src/subversion-1.4.6/apr$./configure –enable-shared –prefix=$HOME _src/subversion-1.4.6/apr$make && make install _src/subversion-1.4.6/apr$cd ../apr-util _src/subversion-1.4.6/apr-util$./configure –enable-shared –prefix=$HOME –with-expat=builtin –with-apr=$HOME –without-berlekey-db _src/subversion-1.4.6/apr-util$make && make install…

Read More