Recommender system to find music

Problem: I need on building recommender systems to find music that interest users. Solution: I built  a personalized model, and showed the significant improvement provided by personalization. I’m going to explore the song data and the recommendations made by my model. Download: song_data.gl Start: # Use Graphlab library import graphlab # Use Sframe of Graphlab to load data song_data =…

Read More

Basic Data Manipulation

Read an NIfTI files This is example to read some NIfTI files and execute some basic data manipulation, by using this example code you must be install package oro.nifti,fslr,AnalyzeFMRI first. Download a NIfTI file from Neurohacking_data repository library(oro.nifti) url <- “https://raw.githubusercontent.com/muschellij2/Neurohacking/master/Basic_Data_Manipulations/Kirby21/SUBJ0001-01-MPRAGE.nii.gz” destfile <- “SUBJ0001-01-MPRAGE.nii.gz” fname <- file.path(getwd(), destfile) download.file(url, destfile,mode=”wb”) # NIfTI is binaryfile format maskurl <-…

Read More

Transformations and Smoothing

Read an NIfTI file This is example to read a NIfTI file and apply TRANSFORMATIONS AND SMOOTHING , by using this example code you must be install package oro.nifti,AnalyzeFMRI: first. Download a NIfTI file from Neurohacking_data repository library(oro.nifti) url <- “https://raw.githubusercontent.com/muschellij2/Neurohacking/master/Basic_Data_Manipulations/Kirby21/SUBJ0001-01-MPRAGE.nii.gz” destfile <- “Output_3D_File.nii.gz” name <- file.path(getwd(), destfile) download.file(url, destfile,mode=”wb”) # NIfTI is binaryfile format T1 <-…

Read More

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