Icon

JKISeason2-13 Ángel Molina

Desafío 13:
Descripción: Usted es un científico de datos que trabaja para una empresa de bienes raíces y escuchó el rumor de que el "número promedio de habitaciones por vivienda" (RM) puede estar relacionado con la "tasa de criminalidad per cápita" (CRIM) según la ciudad. ciudad. Entonces decides investigar si este es el caso de Boston, la ciudad donde vives y trabajas. Para ello, decide experimentar con un modelo de regresión de aprendizaje automático y con un tema que ha estado estudiando recientemente: XAI. ¿Cómo están conectados RM y CRIM en Boston?

Annotations and comments
  • JUST KNIME IT S2-13 ÁNGEL MOLINA WORKFLOW FROM KNIME HUB
  • Housing dataset
  • X Axis
  • Y Axis
  • Color by Column
  • k 1.5 (R_4)
  • Port 0 : train set Port 1: test set
  • SHAP values feature wise
  • Prefix "SHAP"
  • Sampled 500 rows
  • using SHAP Summarizer Sampling weight
  • Append the mumeric and string Cols
  • Append the SHAP weights col
  • SHAP Weight col
  • Pick data based on the case
  • if empty means no string columns proceed with kmeans on numerical columns
  • Check the first row of the string columns
  • Append OHE string cols to numeric cols
  • Append the numeric with decoded OHE cols
  • Split the columns into numeric and String columns
  • Split into numeric and OHE cols
  • Number of Prototypes
  • check if the normalisation flag is set
  • Create flow variable with value "top" if table has more than 0 rows, otherwise "bottom"
  • Pass the col names to the loop
  • Extract the specs of Numerical columns
  • Start with string cols
  • Brealpoint to check if empty cols
  • Select the sum
  • Upper output port is activ, if not all column headers are equivalent Lower output port is active, if all column header are equivalent
  • Full outer join on column headers. If a column header is only in one table it will create a missing values
  • Sum of Missing values
  • Misising value treatment
  • Table with non empty columns
  • Shuffle before applying k-Means to avoid order related issues
  • Send the String Cols names
  • Extract cluster sizes
  • Rename the col SHAP weights

Nodes

Extensions

Links