Question: I have a .mat file I have opened in python. I am not sure how to read this to save in variables (x and y)
I have a .mat file I have opened in python. I am not sure how to read this to save in variables (x and y) to run logestic regression. This is what I have:
header ': b'MATLAB 5.0 MAT-file Platform: posix, Created on: Wed Aug 10 11:38:32 2011', version_': '1.0','_globals__: images' array([ 0., 0.,0.,...,0.,0 0., 0.1 [255., ., 215., , ., 160., 124.], 255, 0., 227., ...,0, 122., 72.1, [255., ., 156., , ., ., 12.]], [255., 0., 255., ...,0., 255., 255., 255, 0., 110., ...,0, 206., 227.1, [255., ., 21., , ., ., 63.11, 0, 167., 0., ...,0., 0., 0.. 0, 255.,0., ...,1., 1.,0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
