This thread is for posting solutions to “Just KNIME It!” Challenge 34. This week we learn how to automatically scramble words in a sentence
Here is the challenge: Just KNIME It!
Feel free to link your solution from KNIME Hub as well!
And as always, if you have an idea for a challenge we’d love to hear it! Tell us all about it here.
Season 1 of “Just KNIME It!” is slowly coming to an end: we’ll wrap up on October 26!
here is my solution:
The punctuation should not be relevant, but I made it a little pretty.
Hi fellow KNIMErs,
I’d like to share my solution as well. 7 processing nodes, true randomization, no loop
My Submission - shuffle the dice
I love how varied these solutions are already!
Here’s my solution. Pretty crude, but does provide some randomization.
This is my solution for Challenge 34
I have 4 different solutions for the challenge (from Top to Bottom)
(1) Simple Word Scramble - Only 2 Nodes
(2) Simple Word Scramble (Actual Solution) - 5 Nodes
(3) Word Scramble with True Randomization using Loops - 9 Nodes
(4) Word Scramble “Bonus” Solution with True Randomization, without using Loops - 9 Nodes
Word Scramble results per solutions
Correction: In Pivoting Node, I used “Set” Aggregation, not Unique Concat
here my solution for this weeks challenge: jKi-34 – KNIME Hub
Here are my solutions in KNIME Hub:
For loop-free randomization, I used unpivoting, shuffle and groupby nodes to bypass the need for loops.
here is my solution:
I left the user the option to set the seed for shuffling. For a true random shuffling, uncheck the box “Seed” in the random number assigner.
Have a nice day,
As always on Tuesday’s, here’s our solution to challenge 34!
As you can see in our solution workflow, there are three different approaches. The first one is quite a simple solution, but the permutations are not exactly random. The other two solutions introduce true randomization, one using loops, the other doesn’t.
It’s great to see all your different approaches for this task Kudos!
See you tomorrow for a new challenge!
Here is my solution to #justknimeit-34 :
KNIME Hub > gonhaddock > Spaces > Just_KNIME_It > Just KNIME It _ Challenge 034
Randomized using ‘Random Number Assigner’ node: