{"action":"created","issue":{"url":"https://api.github.com/repos/blue-yonder/tsfresh/issues/130","repository_url":"https://api.github.com/repos/blue-yonder/tsfresh","labels_url":"https://api.github.com/repos/blue-yonder/tsfresh/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/blue-yonder/tsfresh/issues/130/comments","events_url":"https://api.github.com/repos/blue-yonder/tsfresh/issues/130/events","html_url":"https://github.com/blue-yonder/tsfresh/issues/130","id":197503996,"number":130,"title":"'MinimalFeatureExtractionSettings' has no attribute 'n_processes'","user":{"login":"marta-em","id":22732142,"avatar_url":"https://avatars.githubusercontent.com/u/22732142?v=3","gravatar_id":"","url":"https://api.github.com/users/marta-em","html_url":"https://github.com/marta-em","followers_url":"https://api.github.com/users/marta-em/followers","following_url":"https://api.github.com/users/marta-em/following{/other_user}","gists_url":"https://api.github.com/users/marta-em/gists{/gist_id}","starred_url":"https://api.github.com/users/marta-em/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marta-em/subscriptions","organizations_url":"https://api.github.com/users/marta-em/orgs","repos_url":"https://api.github.com/users/marta-em/repos","events_url":"https://api.github.com/users/marta-em/events{/privacy}","received_events_url":"https://api.github.com/users/marta-em/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-25T14:51:29Z","updated_at":"2016-12-25T16:06:08Z","closed_at":null,"body":"I'm trying to extract features using tsfresh package and extract_features() function. I'm trying to set `MinimalFeatureExtractionSettings` . \r\n\r\ntsfresh Version: 0.4.0.post0.dev1+ng19fa136\r\n\r\nHowever, I get the following error:\r\n\r\n`AttributeError:` type object 'MinimalFeatureExtractionSettings' has no attribute 'n_processes'`\r\n\r\nCode:\r\n```\r\nimport numpy as np\r\nimport pandas as pd\r\n\r\ncolumn_names = ['time_series1', 'time_series2','time_series3']\r\nts = np.random.rand(6,3)\r\n\r\n\r\ndf_to_extract = pd.DataFrame(data=ts, columns = column_names)\r\n\r\ndf_to_extract['id'] = 1\r\ndf_to_extract['time'] = np.arange(1,7)\r\n\r\n#print(df_to_extract)\r\n\r\nimport tsfresh\r\nfrom tsfresh import extract_features\r\nfrom tsfresh import select_features\r\nfrom tsfresh.utilities.dataframe_functions import impute\r\n\r\nfrom tsfresh.feature_extraction import FeatureExtractionSettings\r\nfrom tsfresh.feature_extraction import extract_features\r\nfrom tsfresh.feature_extraction import extract_features, MinimalFeatureExtractionSettings\r\n\r\n\r\nextracted_features = extract_features(df_to_extract, \r\n                                      column_id=\"id\", \r\n                                      column_sort=\"time\", \r\n                                      parallelization= 'per_kind', \r\n                                      feature_extraction_settings= MinimalFeatureExtractionSettings)\r\n```\r\n\r\nI'm using Python 3.5 (Anaconda) on Win10.\r\n\r\nAny ideas how to solve that issue?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/blue-yonder/tsfresh/issues/comments/269128363","html_url":"https://github.com/blue-yonder/tsfresh/issues/130#issuecomment-269128363","issue_url":"https://api.github.com/repos/blue-yonder/tsfresh/issues/130","id":269128363,"user":{"login":"MaxBenChrist","id":13162426,"avatar_url":"https://avatars.githubusercontent.com/u/13162426?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxBenChrist","html_url":"https://github.com/MaxBenChrist","followers_url":"https://api.github.com/users/MaxBenChrist/followers","following_url":"https://api.github.com/users/MaxBenChrist/following{/other_user}","gists_url":"https://api.github.com/users/MaxBenChrist/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxBenChrist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxBenChrist/subscriptions","organizations_url":"https://api.github.com/users/MaxBenChrist/orgs","repos_url":"https://api.github.com/users/MaxBenChrist/repos","events_url":"https://api.github.com/users/MaxBenChrist/events{/privacy}","received_events_url":"https://api.github.com/users/MaxBenChrist/received_events","type":"User","site_admin":false},"created_at":"2016-12-25T16:06:08Z","updated_at":"2016-12-25T16:06:08Z","body":"If you want you can correct this and submit a pr. \r\n\r\nThanks :)"}}
{"actor":{"display_login":"MaxBenChrist"}}