alteryx/evalml

Add util method to component graph to get components based on component class

Ouverte

#2 878 ouverte le 6 oct. 2021

 (0 commentaire) (0 réaction) (0 personne assignée)Python (93 forks)auto 404
good first issuenew feature

Métriques du dépôt

Stars
 (852 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

Right now, component_graph.get_component expects a string which is the unique name used to find a component in the graph (ex: "My Label Encoder", and not "Label Encoder"). This makes it difficult to find components of a specific class, ex LabelEncoder instances. We should add a method to help with this!

API should take into consideration what happens if we have multiple of the same component in a graph. Ex: if we have two label encoders under "LE 1" and "LE 2", we should find both.

Guide contributeur