def writeUsingRadius(minLocationsTheUserHasCheckedin, minUniqueUsersCheckedInTheLocation, radiusInMiles):
     spotsFile = "%s/%s_%s_%s" % (
         spotsRadiusFolder,
         minLocationsTheUserHasCheckedin,
         minUniqueUsersCheckedInTheLocation,
         radiusInMiles,
     )
     SpotsAnalysis.writeSpotsToFile(
         iterateSpotsUsingRadius(minLocationsTheUserHasCheckedin, minUniqueUsersCheckedInTheLocation, radiusInMiles),
         spotsFile,
     )
 def writeUsingItemsetClustering(
     minLocationsTheUserHasCheckedin,
     minUniqueUsersCheckedInTheLocation,
     minCalculatedSupport,
     initialNumberofLocationsInSpot,
     **kwargs
 ):
     spotsFile = "%s/%s_%s" % (spotsFIFolder, minLocationsTheUserHasCheckedin, minUniqueUsersCheckedInTheLocation)
     SpotsAnalysis.writeSpotsToFile(
         iterateSpotsByItemsetClustering(
             minLocationsTheUserHasCheckedin,
             minUniqueUsersCheckedInTheLocation,
             minCalculatedSupport,
             initialNumberofLocationsInSpot,
             **kwargs
         ),
         spotsFile,
     )
 def writeToFile(): Spots.writeSpotsToFile(UserGraphSpots.iterateSpots(), UserGraphSpots.getSpotsFile())
 @staticmethod
 def writeToFile(): 
     print 'Writing', '%s'%RadiusSpots.getSpotsFile()
     Spots.writeSpotsToFile(RadiusSpots.iterateSpots(), RadiusSpots.getSpotsFile())
 def writeToFile(): Spots.writeSpotsToFile(FrequentItemSpots.iterateSpots(), FrequentItemSpots.getSpotsFile())
 @staticmethod