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:I have a .mat file I have opened in python. I am

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!