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

ML Kit SDK keeps all machine learning on the device

How we experimented with Amazon Rekognition’s custom labels

Scientific computing — lessons learned the hard way

Don’t let your model’s quality drift away

Understanding Recurrent Neural Networks

Working with TensorFlow 2.0 Alpha

Machine Learning and the Coming Transformation of Finance

KL Divergence on Iris Dataset

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

Regression [With Code]: A Lighthouse for Data Scientists

Predicting HDB Resale Prices in Singapore during COVID-19

Timeseries Part 3: ARIMA & SARIMA

A19: Seaborn (Part-4): Statistical Data Visualization (Matrix and Regression Plots)