Reverse correlation image classification using R

Download and Installation

install.packages("devtools") library(devtools) install_github("rdotsch/rcicr", ref = "development")

Generating stimuli

library(rcicr)
generateStimuli2IFC(base_face_files, n_trials = 770)
base_face_files <- list('male'='male.jpg', 'female'='female.jpg')

Data analysis

ci <- generateCI2IFC(stimuli, responses, baseimage, rdata)
ci1 <- generateCI2IFC(…) ci2 <- generateCI2IFC(…) cis <- list(ci1name=ci1, ci2name=ci2) scaled_cis <- autoscale(cis, saveasjpegs = TRUE)
cis <- batchGenerateCI2IFC(dataframe, "columnToSplitDataBy", "columnContainingStimulusNumbers", "columnContainingResponses", baseimage, rdata)

Example

Running reverse correlation experiments online

Citations

citation('rcicr')

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

R-CNN, Fast R-CNN, Faster R-CNN, YOLO — Object Detection Algorithms

[eTextBook] Statistical Mechanics of Neural Networks: Proceedings of the Xlth Sitges Conference…

restoration gains with GANs

News Recommendation System

BigQuery ML or the Machine Learning for the dumbs

Transfer Learning in Keras for dump truck classification

4 misconceptions I had about solar energy

Haystack: Question Answering at Scale

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ron Dotsch

Ron Dotsch

More from Medium

EVERYTHING ABOUT LINEAR REGRESSION

Independence of Two Random Variables

Random Variables