app.ml.logregΒΆ

Functions to work with logistic regression.

Functions

map_neuron_weights_to_brain_region

Returns a dictionary with (neuron-idx, brain-region) tuples associated with each response type.

plot_confusion_matrix

Plots the confusion matrix.

train_model

Returns a trained model.