Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
57 lines (49 sloc) 3.49 KB
'''
Created on Nov 19, 2011
@author: kykamath
'''
# Boundaries
us_boundary = [[24.527135,-127.792969], [49.61071,-59.765625]]
sub_world_boundary = [[-58.447733,-153.457031], [72.127936,75.410156]]
#Input files
tempInputFile = 'hdfs:///user/kykamath/geo/twitter/2_11'
inputFolder = 'hdfs:///user/kykamath/geo/hashtags/'
# Analysis
hashtagsAnalysisFolder = '/mnt/chevron/kykamath/data/geo/hashtags/analysis/'
hashtagsFile = hashtagsAnalysisFolder+'%s/%s/hashtags'
occurrencesCountFile = hashtagsAnalysisFolder+'%s/%s/occurrencesCount'
hashtagsTrainingDataFile = hashtagsAnalysisFolder+'%s/%s/hashtagsTrainingData'
hashtagsTestDataFile = hashtagsAnalysisFolder+'%s/%s/hashtagsTestData'
hashtagsWithoutEndingWindowFile = hashtagsAnalysisFolder+'%s/%s/hashtagsWithoutEndingWindow'
hashtagsWithKnownSourceFile = hashtagsAnalysisFolder+'%s/%s/hashtagsWithKnownSource'
hashtagsLatticeGraphFile = hashtagsAnalysisFolder+'%s/%s/latticeGraph'
hashtagsWithoutEndingWindowAndOcccurencesFilteredByDistributionInTimeUnitsFile = hashtagsAnalysisFolder+'%s/%s/hashtagsWithoutEndingWindowAndOcccurencesFilteredByDistributionInTimeUnits'
hashtagsBoundarySpecificStatsFile = hashtagsAnalysisFolder+'%s/%s/hashtagsBoundarySpecificStats'
hashtagsDisplacementStatsFile = hashtagsAnalysisFolder+'%s/%s/hashtagsDisplacementStats'
hashtagsDistributionInTimeFile = hashtagsAnalysisFolder+'hashtagsDistributionInTime'
hashtagsDistributionInLatticeFile = hashtagsAnalysisFolder+'hashtagsDistributionInLattice'
hashtagsAnalayzeLocalityIndexAtKFile = hashtagsAnalysisFolder+'%s/%s/hashtagsAnalayzeLocalityIndexAtK'
hashtagWithGuranteedSourceFile = hashtagsAnalysisFolder+'%s/%s/hashtagWithGuranteedSource'
hashtagSharingProbabilityGraphFile = hashtagsAnalysisFolder+'%s/%s/hashtagSharingProbabilityGraph'
hashtagSharingProbabilityGraphWithTemporalClosenessFile = hashtagsAnalysisFolder+'%s/%s/hashtagSharingProbabilityGraphWithTemporalCloseness'
hashtagLocationTemporalClosenessGraphFile = hashtagsAnalysisFolder+'%s/%s/locationTemporalClosenessGraph'
hashtagLocationInAndOutTemporalClosenessGraphFile = hashtagsAnalysisFolder+'%s/%s/locationInAndOutTemporalClosenessGraph'
# Images
hashtagsImagesFolder = '/data/geo/hashtags/images/%s/'
hashtagsImagesFlowInTimeForFirstNLocationsFolder = hashtagsImagesFolder+'fit_first_n_locations/%s/'
hashtagsImagesFlowInTimeForFirstNOccurrencesFolder = hashtagsImagesFolder+'fit_first_n_occ/%s/'
hashtagsImagesFlowInTimeForWindowOfNOccurrencesFolder = hashtagsImagesFolder+'fit_window_of_n_occ/%s/'
hashtagsImagesFlowInTimeForWindowOfNLocationsFolder = hashtagsImagesFolder+'fit_window_of_n_loc/%s/'
hashtagsImagesLocationClosenessFolder = hashtagsImagesFolder + 'location_closeness/'
hashtagsImagesLocationInfluencersFolder = hashtagsImagesFolder + 'location_influencers/'
hashtagsImagesTimeSeriesAnalysisFolder = hashtagsImagesFolder + 'time_series/'
hashtagsImagesHashtagsClassFolder = hashtagsImagesFolder + 'hashtags_class/'
hashtagsImagesFirstActiveTimeSeriesAnalysisFolder = hashtagsImagesFolder + 'first_active_time_series/'
hashtagsImagesGraphAnalysisFolder = hashtagsImagesFolder + 'graph_analysis/'
hashtagsImagesHastagEvolutionFolder = hashtagsImagesFolder + 'hashtag_evolution/'
hashtagsImagesHastagSharingVsTransmittingProbabilityFolder = hashtagsImagesFolder + 'sharing_vs_transmitting/'
# Classifiers
hashtagsClassifiersFolder = hashtagsAnalysisFolder+'/classifiers/%s/%s/'
targetSelectionRegressionClassifiersFolder = hashtagsAnalysisFolder+'/ts_classifiers/%s/%s/%s/'
# Models
hashtagsModelsFolder = hashtagsAnalysisFolder+'/models/%s/%s/%s/'