SiRumCz / CSC501

CSC501 assignments
0 stars 1 forks source link

Heat Maps - Improved #58

Closed jonhealy1 closed 4 years ago

jonhealy1 commented 4 years ago

heat_maps.zip

@soroushysfi Hi. Are you able to work with these files? Especially the Jon_heat_map_slides.html file?

soroushysfi commented 4 years ago

heat_maps.zip

@soroushysfi Hi. Are you able to work with these files? Especially the Jon_heat_map_slides.html file?

I will look into them see if I can import them into our project

jonhealy1 commented 4 years ago

Ok awesome thanks.

soroushysfi commented 4 years ago

I tried to add these to react but the data used in them are really big(15MB, 30MB,...), so the app crashes when ever I run the server. We have two solutions, one is that we could write an API for the long arrays(heat map data). Or we can submit these files with our project and mention them in our documentation. Which I think the second solution is better. I will mention in our webpage that we have separate html files for the images.

jonhealy1 commented 4 years ago

Oh yea true. Good idea. Also, the other videos weren't playing for me.

soroushysfi commented 4 years ago

Oh yea true. Good idea. Also, the other videos weren't playing for me.

Do you get any console errors?

jonhealy1 commented 4 years ago

If you want to run the maps from React I can send you what I did with Python to make them. It may not be too hard I'm not too sure.

jonhealy1 commented 4 years ago

I didn't check - I will.

jonhealy1 commented 4 years ago

Does the heat map video html file play for you? The one I sent in this thread?

soroushysfi commented 4 years ago

If you want to run the maps from React I can send you what I did with Python to make them. It may not be too hard I'm not too sure.

Yeah that could work. I'll see if I can create them with js as you did with python.

soroushysfi commented 4 years ago

Does the heat map video html file play for you? The one I sent in this thread?

yeah it works

jonhealy1 commented 4 years ago

a2_heat_maps_ipynb.zip

This is just the heat maps part. This is the csv file. test.zip

jonhealy1 commented 4 years ago

Like with the videos I don't see a play button and I'm not seeing any errors in the console besides for errors from not being able to have setup db run.

SiRumCz commented 4 years ago

I tried to add these to react but the data used in them are really big(15MB, 30MB,...), so the app crashes when ever I run the server. We have two solutions, one is that we could write an API for the long arrays(heat map data). Or we can submit these files with our project and mention them in our documentation. Which I think the second solution is better. I will mention in our webpage that we have separate html files for the images.

Another solution I could think of is to include buttons/links to react app that redirect user to these heat maps. But your solutions are also doable.

SiRumCz commented 4 years ago

@noonespecial009 For your heat_maps, how did you manage to get individual coordinates for every dropoffs/pickups? These are very interesting and look very cool too.

jonhealy1 commented 4 years ago

@SiRumCz Hi thanks. I found another dataset online that is almost identical to the one we were given but have longitude/ latitude for each pickup/ drop-off

SiRumCz commented 4 years ago

@SiRumCz Hi thanks. I found another dataset online that is almost identical to the one we were given but have longitude/ latitude for each pickup/ drop-off

That sounds great, it is for sure better spatio data than the one provided in the assignment. We could definitely include it in our technical report.