featuretools.
load_features
Loads the features from a filepath, S3 path, URL, an open file, or a JSON formatted string.
features (str or FileObject) – The location of where features has
FileObject
saved which this must include the name of the file (been) –
a JSON formatted (or) –
string –
a readable file handle where the features have been saved. (or) –
profile_name (str, bool) – The AWS profile specified to write to S3. Will default to None and search for AWS credentials. Set to False to use an anonymous profile.
Feature definitions list.
features (list[FeatureBase])
FeatureBase
Note
Features saved in one version of Featuretools or python are not guaranteed to work in another. After upgrading Featuretools or python, features may need to be generated again.
Example
filepath = os.path.join('/Home/features/', 'list.json') ft.load_features(filepath) f = open(filepath, 'r') ft.load_features(f) feature_str = f.read() ft.load_features(feature_str)
See also
save_features()