Closed thekingofkings closed 7 years ago
Add new function to CrimeDataset
class inside the python/Crime.py
.
def temporalDistribution_perTract_perCategory()
This function takes one-year raw crime data (crime-file-name
) as input, and outputs the occurrence time distribution of various crimes by categories for each tract area.
The correlation between urban features and various crime categories are different.
We observe that in Theft crime category, the
POI
features can improves the prediction accuracy, while theGeo
features are useless. On the other hand, for Motor vehicle Theft and Robbery, thePOI
features make the prediction worse.How to explain these observations?
Data available
For crime data, we have more detailed information such as date / time, general description. Previously, we did not use any of those data.
Things to try
Some crime categories behave differently from others. We can try to define / measure the similarity of two crimes (with the data we have). Although it is hard to explain why some urban features has such correlation, but it is helpful to show which crime property makes the correlations are different.