Icon

Challenge 34 - Word Scramble

Challenge 34 - Word Scramble
Challenge 34: Word Scramble Description: One of your tasks at work is to train a model using sentences with the correct word context (i.e., words in a sentence following a meaningful and correctorder). However, to train such model, you also need to create a dataset of words used in an incorrect context. You can think of this task as a version of Negative Sampling - a neat technique for training the famous Word2Vec model. Concretely, in this challenge you will create a workflow that takes a sentence and scrambles the order of its words. You can create a small sample of sentences to testyour work with the Table Creator node. TESTING DATA SCRAMBLE WORDS Testing Sentence DataFind all thepossible PermutationsSplit eachSentence intowordsEach wordto columnRenameShufflePermutationsTake thefirst rowArray toSentence (String)Loopby SentenceCollectResultReset Row IDsTable Creator Python Script Cell Splitter Transpose Column Rename Shuffle Row Sampling Column Expressions Group Loop Start Loop End RowID Challenge 34: Word Scramble Description: One of your tasks at work is to train a model using sentences with the correct word context (i.e., words in a sentence following a meaningful and correctorder). However, to train such model, you also need to create a dataset of words used in an incorrect context. You can think of this task as a version of Negative Sampling - a neat technique for training the famous Word2Vec model. Concretely, in this challenge you will create a workflow that takes a sentence and scrambles the order of its words. You can create a small sample of sentences to testyour work with the Table Creator node. TESTING DATA SCRAMBLE WORDS Testing Sentence DataFind all thepossible PermutationsSplit eachSentence intowordsEach wordto columnRenameShufflePermutationsTake thefirst rowArray toSentence (String)Loopby SentenceCollectResultReset Row IDsTable Creator Python Script Cell Splitter Transpose Column Rename Shuffle Row Sampling Column Expressions Group Loop Start Loop End RowID

Nodes

Extensions

Links