<filename>Text/solution/get_feature_mean.py<gh_stars>10-100
def get_features_mean(tokens, model):
    features = [model[x] for x in tokens if x in model]
    return np.mean(features, axis=0)
<filename>Text/solution/get_feature_mean.py<gh_stars>10-100
def get_features_mean(tokens, model):
    features = [model[x] for x in tokens if x in model]
    return np.mean(features, axis=0)