問題タブ [featuretools]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
319 参照

featuretools - es.normalize_entity エラー変数がエンティティに見つかりません

エンティティ セットを学習するために featuretools ドキュメントを使用していますが、現在KeyError: 'Variable: device not found in entity'、次のコードでエラーが発生しています。

これは URL によるものです - https://docs.featuretools.com/loading_data/using_entitysets.html

API es.normalise_entity から、この関数は、インデックスが「session_id」である新しいエンティティ「セッション」と、残りの 3 つの変数を作成するように見えますが、エラーは次のとおりです。

C:\Users\s_belvi\AppData\Local\Continuum\Anaconda2\lib\site-packages\featuretools\entityset\entity.pyc in _get_variable(self, variable_id) 250 return v 251 --> 252 raise KeyError("Variable: % s not found in entity" % (variable_id)) 253 254 @property

KeyError: '変数: エンティティにデバイスが見つかりません'

es.normalize_entity を使用する前に、エンティティの「セッション」を個別に作成する必要がありますか? フローで構文的に何かが間違っているように見えます.いくつかの小さな間違い..