alteryx / alteryx/featuretools

Spike: Improve Generics for Return Types in Primitives

オープン
#1,687 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
7.7k
フォーク
915
PR マージ指標
30日以内にマージされた PR はありません

説明

## Problem
- There are certain primitives where the return_type depends on the input_type, such as AddNumeric, MultiplyNumeric, GreaterThan, GreaterThanEqualTo, LessThan
```
input_types = [ColumnSchema(semantic_tags={'numeric'}), ColumnSchema(semantic_tags={'numeric'})]
return_type = ColumnSchema(semantic_tags={'numeric'})
```
- The following situations can happen
- float + float = float
- float + int = float
- int + int = int
- However, since we can't define primitive return types that depend on the input types, this leads to a situation where after calculate_feature_matrix, **we have to re-run inference. This is expensive, should not be necessary.**

## Request
- This spike is to create a design document to possible solutions to this problem.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。