def loadFeaturesFromFile(fileName):
    """ Loads features from a file into a list """
    features = []
    rawData = open(fileName).read().split('\n')
    for f in rawData:
        #if f.replace(".","").isdigit():
        if f != '':
            features.append(float(f))
    return features