GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — On demand feature views (ODFVs) should use support python dicts · Issue #2261 · feast-dev/feast Closed Labels Community Contribution NeededWe want community to contributeWe want community to contributearea/servingkeep-openkind/bugpriority/p1 DescriptionIn some test benchmarks, using regular python dicts for inputs for executing the transformations is much faster (up to ~10x) than pandas for the online flow. This tends to be the more latency sensitive flow (offline flows seem to be ~40% slower if using vectorized operations). Something that looks like: @on_demand_feature_view( sources=[driver_hourly_stats_view, val_to_add_request], schema=[ Field(name="conv_rate_plus_val1", dtype=Float64), Field(name="conv_rate_plus_val2", dtype=Float64), ], mode="python" ) def transformed_conv_rate(driver_hourly_stats: Dict[str, Any], vals_to_add: Dict[str, Any]) -> Dict[str, Any]: features = {} features['conv_rate_plus_val1'] = (driver_hourly_stats['conv_rate'] + vals_to_add['val_to_add']) features['conv_rate_plus_val2'] = (driver_hourly_stats['conv_rate'] + vals_to_add['val_to_add_2']) return features might be similar to what we want Activity
MetadataMetadataAssigneesLabelsCommunity Contribution NeededWe want community to contributeWe want community to contributearea/servingkeep-openkind/bugpriority/p1 TypeProjects
MilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |