def __init__(self, config): self.features = FeatureFunctionVector(config["features"]) self.initialize_weights(config["initial_weights"])