# Solutions to “Just KNIME It!” Challenge 18 - Season 3

**URL:** <https://forum.knime.com/t/solutions-to-just-knime-it-challenge-18-season-3/83116>\
**Category:** Just KNIME It!\
**Created:** [September 11, 2024, 2:39pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-18-season-3/83116 "2024-09-11T14:39:47Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![alinebessa](https://forum-cdn.knime.com/user_avatar/forum.knime.com/alinebessa/32/33306_2.png) [@alinebessa](https://forum.knime.com/u/alinebessa)\
**Post date:** [September 11, 2024, 2:39pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-18-season-3/83116/1 "2024-09-11T14:39:47Z")

</div>

💥 A new _Just KNIME It!_ challenge just came out on explainable AI (xAI). 🔍 Let’s explore the LIME technique with this data puzzle to make research on breast cancer prediction models more transparent. 🩺

[Here](https://www.knime.com/just-knime-it) is the challenge. Let’s use this thread to post our solutions to it, which should be uploaded to your public [KNIME Hub](https://hub.knime.com/) spaces with tag **JKISeason3-18**.

🆘 **Need help with tags?** To add tag JKISeason3-18 to your workflow, go to the description panel in KNIME Analytics Platform, click the pencil to edit it, and you will see the option for adding tags right there. 😊 Let us know if you have any problems!

---

<div class="post-metadata">

**Author:** ![rfeigel](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/r/7ea924/32.png) [@rfeigel](https://forum.knime.com/u/rfeigel)\
**Post date:** [September 12, 2024, 2:36am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-18-season-3/83116/2 "2024-09-12T02:36:18Z")

</div>

Here’s my solution. Rather than trying to completely reinvent the wheel, I used the LIME workflow from the Hub. It required a lot of revision, but seems to work fine. Probably could be improved with some parameter optimization.

> **[JKISeason3-18 – rfeigel](https://hub.knime.com/rfeigel/spaces/Public/JKISeason3-18~1BuOvX4Yez83Un7X/current-state)**
>
> LIME Loop Nodes with AutoML This is an example for computing explanation using LIME. AutoML component was used to pick the best model, but any model and its se…

 ![Automl](https://forum-cdn.knime.com/uploads/default/original/3X/1/e/1ec35591390fe43154960d820b5e9886c27766e1.jpeg)  
 ![LIME Chart](https://forum-cdn.knime.com/uploads/default/original/3X/9/9/998a2272688b15faa9217c509bb7bd7dffce2181.jpeg)  
 ![Multiple Charts](https://forum-cdn.knime.com/uploads/default/original/3X/2/b/2b9d1a9a2dce7f9f87115408d83c2fcea2b045c5.jpeg)

---

<div class="post-metadata">

**Author:** ![berti093](https://forum-cdn.knime.com/user_avatar/forum.knime.com/berti093/32/61891_2.png) [@berti093](https://forum.knime.com/u/berti093)\
**Post date:** [September 13, 2024, 2:45pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-18-season-3/83116/3 "2024-09-13T14:45:16Z")

</div>

My solution to the challange:

> **[JKISeason3-18\_berti093 – berti093](https://hub.knime.com/berti093/spaces/Public/Just%20KNIME%20it%20S03/JKISeason3-18_berti093~t5_-8gnjs_814XKS/current-state)**
>
> Solutions for data science: find workflows, nodes and components, and collaborate in spaces.

I have created a neural network for the prediction

- Input layer: 8 nodes
- Hidden layer: 64 nodes
- Hidden layer: 32 nodes
- Hidden layer: 16 nodes
- Output layer: 2 nodes (softmax for the probabilities)

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/c/c/cc339f4b49655b77b84b85ce636bb055cd4eaba3.png)

I created the LIME chart for all the test observations (averaged the individuals), and this is my final chart:

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/9/f/9f936f812196e545cb4a18c77d32b7f55200ecb3.png)

I think this challange rightly tagged as a hard challange, but was very exciting for me!

---

<div class="post-metadata">

**Author:** ![Tofusa](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/t/ecd19e/32.png) [@Tofusa](https://forum.knime.com/u/Tofusa)\
**Post date:** [September 13, 2024, 11:41pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-18-season-3/83116/5 "2024-09-13T23:41:10Z")

</div>

Hello all,  
Here is my solution

> **[JKISeason3-18\_tofusa – tofusa](https://hub.knime.com/tofusa/spaces/Public/Just_KNIME_It/JKISeason3-18_tofusa~bMNB4PbQyCNvFTnC/current-state)**
>
> Description: You work as a researcher creating models to identify whether a breast tumor is benign or malign, based on anonymized patient data. Besides obtaini…

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/9/6/96acc241c0a440c129d5213ffe1e612f2cd4a110.jpeg)

You can find actual feature values impact using tile view

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/0/b/0bf4fe73978add43c468821c13ffa07de83d237a.jpeg)

---

<div class="post-metadata">

**Author:** ![tark](https://forum-cdn.knime.com/user_avatar/forum.knime.com/tark/32/79770_2.png) [@tark](https://forum.knime.com/u/tark)\
**Post date:** [September 14, 2024, 3:12am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-18-season-3/83116/6 "2024-09-14T03:12:32Z")

</div>

Hi all,  
Here is my solution. I used a simple random forest without any optimizations. I calculated the average LIME value for each class, as well as the LIME values for each sample, to determine which features might contribute to the predictions. I believe that optimizing the prediction conditions could alter these results. Thank you.

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/3/2/32ea0f44a4cf13b639a571159b2349f0d2c28b3a.png)  
 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/0/5/05f2b1d10bbd5d118378d7141873716591845042.png)

> **[JKISeason3-18\_tark – tark](https://hub.knime.com/tark/spaces/Just%20KNIME%20It/JKISeason3/JKISeason3-18_tark~mLcN7WcMSjz2IY46/current-state)**
>
> Explaining Cancer Predictions Challenge 18 Level: Hard Description: You work as a researcher creating models to identify whether a breast tumor is benign or ma…

---

<div class="post-metadata">

**Author:** ![sryu](https://forum-cdn.knime.com/user_avatar/forum.knime.com/sryu/32/60147_2.png) [@sryu](https://forum.knime.com/u/sryu)\
**Post date:** [September 14, 2024, 3:17pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-18-season-3/83116/7 "2024-09-14T15:17:35Z")

</div>

Hi all,  
Here is my solution. I created a generic LIME analysis workflow for the binary classification model. This workflow will work for different datasets as long as the appropriate target column is selected in the Column Settings component.

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/6/0/600be6a9075f1a92296a07008dd74f89a8397936.jpeg)  
In this workflow, you can focus on False Positives and False Negatives to analyze which features contributed to the incorrect predictions. This will be useful for improving the model and understanding the quality of the data.

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/a/4/a4601f87827aed553732254bbdef0810af8c172a.png)  
 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/9/c/9cfea96592c26c939b79c232631f2f72c34f43e0.png)

> **[JKISeason3-18\_sryu – sryu](https://hub.knime.com/sryu/spaces/Public/Just%20KNIME%20It%20season3/JKISeason3-18_sryu~jiH5vYTH75XEguTA/current-state)**
>
> Explaining Cancer Predictions Challenge 18 Level: Hard Description: You work as a researcher creating models to identify whether a breast tumor is benign or ma…

---

<div class="post-metadata">

**Author:** ![AnilKS](https://forum-cdn.knime.com/user_avatar/forum.knime.com/anilks/32/52258_2.png) [@AnilKS](https://forum.knime.com/u/AnilKS)\
**Post date:** [September 15, 2024, 6:32am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-18-season-3/83116/8 "2024-09-15T06:32:58Z")

</div>

Find herewith my submission - [JKISeason3-18 – KNIME Community Hub](https://hub.knime.com/s/X6BkVBE-nYCJiDBN)

---

<div class="post-metadata">

**Author:** ![jm1950sjr](https://forum-cdn.knime.com/user_avatar/forum.knime.com/jm1950sjr/32/67705_2.png) [@jm1950sjr](https://forum.knime.com/u/jm1950sjr)\
**Post date:** [September 15, 2024, 4:11pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-18-season-3/83116/9 "2024-09-15T16:11:44Z")

</div>

Hi all,  
Here is my solution.

> **[JKI-S3\_challenge18 – jm1950sjr](https://hub.knime.com/jm1950sjr/spaces/Public/Just%20KNIME%20It!%20Season3/JKI-S3_challenge18~1pOat-GMoKgdQW1p/current-state)**
>
> Level: Hard Description: You work as a researcher creating models to identify whether a breast tumor is benign or malign, based on anonymized patient data. Bes…

 ![スクリーンショット 2024-09-16 1.09.24](https://forum-cdn.knime.com/uploads/default/original/3X/7/8/78d7ba3b631b5dc43e1a1943b5f6c75e30002210.png)

---

<div class="post-metadata">

**Author:** ![RBre](https://forum-cdn.knime.com/user_avatar/forum.knime.com/rbre/32/76285_2.png) [@RBre](https://forum.knime.com/u/RBre)\
**Post date:** [September 15, 2024, 10:17pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-18-season-3/83116/10 "2024-09-15T22:17:47Z")

</div>

Hi, this is my solution for this challenge.

I modified two workflows from community hub.

> **[JKISeason3-18\_Explaining Cancer Predictions – rbre](https://hub.knime.com/rbre/spaces/Public/JKISeason3-18_Explaining%20Cancer%20Predictions~tjt5H3MuKp0q9XPb/current-state)**
>
> Explaining Cancer Predictions Challenge 18 Level: Hard Description: You work as a researcher creating models to identify whether a breast tumor is benign or ma…

---

<div class="post-metadata">

**Author:** ![MartinDDDD](https://forum-cdn.knime.com/user_avatar/forum.knime.com/martindddd/32/69988_2.png) [@MartinDDDD](https://forum.knime.com/u/MartinDDDD)\
**Post date:** [September 17, 2024, 11:25am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-18-season-3/83116/11 "2024-09-17T11:25:23Z")

</div>

Getting one on the board as well… with most machine learning topics still a bit out of my depth, but amazed how one can pull things off by following examples.

In order not to just copy any other solution I set up parameter optimization for Gradient Boosted Tree and then wrangled the data so that I could use some of the visuals from the LIME Example on the hub (Bubble and Violine plot), plus some of the bar charts that were used here.

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/e/8/e84bc96536ac8619835f9d6787b4e2afb6a662d0.png)

> **[JKI-S3-C18-FinnovationFlows – martindddd](https://hub.knime.com/martindddd/spaces/Public/Just%20Knime%20It/S3/C18/JKI-S3-C18-FinnovationFlows~DxU3Rp_esjqexy3D/current-state)**
>
> Solutions for data science: find workflows, nodes and components, and collaborate in spaces.

---

<div class="post-metadata">

**Author:** ![alinebessa](https://forum-cdn.knime.com/user_avatar/forum.knime.com/alinebessa/32/33306_2.png) [@alinebessa](https://forum.knime.com/u/alinebessa)\
**Post date:** [September 17, 2024, 2:13pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-18-season-3/83116/12 "2024-09-17T14:13:03Z")

</div>

🌞 Another Tuesday, another solution to our beloved _Just KNIME It!_ challenges! 🌞

🤯 Once again you folks went above and beyond with the modeling and visualization for this challenge. Bravo!! 👏

⬇ Here’s our solution highlighting the power of LIME.

> **[Challenge 18 - Explaining Cancer Predictions – knime](https://hub.knime.com/knime/spaces/Just%20KNIME%20It!/Challenge%2018%20-%20Explaining%20Cancer%20Predictions~hp5ZeDuqH1UKBSPQ/current-state)**
>
> Challenge 18: Explaining Cancer Predictions Level: Hard Description: You work as a researcher creating models to identify whether a breast tumor is benign or m…

🌬 🌬 See you tomorrow for a _fast_ challenge on Formula 1 analytics!

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [December 16, 2024, 2:13pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-18-season-3/83116/13 "2024-12-16T14:13:05Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
