Icon

JKISeason2-23@obito_​od

Just Knime It season2-23@obito_od

Just KNIME It! Season2
Challenge 23: Testing Your Work
@obito_od回答例










Just KNIME It! season2-23 Knime ver. : 4.7.7 方針指定のディレクトリにinputとoutputを置いてテスト用にworkflowを実行した際に各データ読み込み、テスト施行をし、diffcheckで結果確認できるようにする。尚、WFは実行しっぱなしにしておき、テストデータが指定ディレクトリに放り込まれるのを監視しておくようにする。 説明あなたとあなたのチームはレキシコンベースのセンチメント分析アプリケーションに取り組んでおり、センチメントスコアの計算をカプセル化するコンポーネントを作成しました。このコンポーネントは多くのワークフローで再利用されるので、正しく動作することを確認することが重要です。これを達成する原則的な方法は、自動ユニットテストです。このコンポーネントが入力として受け取るデータのサンプル(入力ゴールデンデータ)と、それに対応する期待される出力(出力ゴールデンデータ)を持つ小さな表が与えられたら、このコンポーネントを自動的にテストするワークフロー(testflow)を作成するのが目標です。注:KNIMEでテストを実行する方法については、こちらをお読みください。注2:レキシコンベースの感情分析については、こちらをお読みください。 Description: You and your team are working on a lexicon-based sentiment snalysis application, and created a component thatencapsulates the calculation of sentiment scores. This component will be re-used in many workflows, so it is important tomake sure that it is behaving correctly. A principled way of accomplishing this is through automated unit testing. Given asample of the data this component receives as input (input golden data), and a small table with the corresponding expectedoutputs (output golden data), your goal is to create a workflow that automatically tests this component (testflow). Note: Readmore about how to perform testing in KNIME here. Note 2: Read more about lexicon-based sentiment analysis here. diff check結果確認 Golden_input読み込みGolden_output読み込みdiff checkGolden_dataファイル群を置いているディレクトリを指定variable化variable化内部監視ディレクトリ指定path型に変換データコピーのマージン確保inputを拾うoutputを拾う Calculate Scores Table Reader Table Reader Table DifferenceFinder List Files/Folders Table Rowto Variable Table Rowto Variable Wait... File Upload(legacy) String to Path(Variable) Wait... Row Filter Row Filter Just KNIME It! season2-23 Knime ver. : 4.7.7 方針指定のディレクトリにinputとoutputを置いてテスト用にworkflowを実行した際に各データ読み込み、テスト施行をし、diffcheckで結果確認できるようにする。尚、WFは実行しっぱなしにしておき、テストデータが指定ディレクトリに放り込まれるのを監視しておくようにする。 説明あなたとあなたのチームはレキシコンベースのセンチメント分析アプリケーションに取り組んでおり、センチメントスコアの計算をカプセル化するコンポーネントを作成しました。このコンポーネントは多くのワークフローで再利用されるので、正しく動作することを確認することが重要です。これを達成する原則的な方法は、自動ユニットテストです。このコンポーネントが入力として受け取るデータのサンプル(入力ゴールデンデータ)と、それに対応する期待される出力(出力ゴールデンデータ)を持つ小さな表が与えられたら、このコンポーネントを自動的にテストするワークフロー(testflow)を作成するのが目標です。注:KNIMEでテストを実行する方法については、こちらをお読みください。注2:レキシコンベースの感情分析については、こちらをお読みください。 Description: You and your team are working on a lexicon-based sentiment snalysis application, and created a component thatencapsulates the calculation of sentiment scores. This component will be re-used in many workflows, so it is important tomake sure that it is behaving correctly. A principled way of accomplishing this is through automated unit testing. Given asample of the data this component receives as input (input golden data), and a small table with the corresponding expectedoutputs (output golden data), your goal is to create a workflow that automatically tests this component (testflow). Note: Readmore about how to perform testing in KNIME here. Note 2: Read more about lexicon-based sentiment analysis here. diff check結果確認 Golden_input読み込みGolden_output読み込みdiff checkGolden_dataファイル群を置いているディレクトリを指定variable化variable化内部監視ディレクトリ指定path型に変換データコピーのマージン確保inputを拾うoutputを拾う Calculate Scores Table Reader Table Reader Table DifferenceFinder List Files/Folders Table Rowto Variable Table Rowto Variable Wait... File Upload(legacy) String to Path(Variable) Wait... Row Filter Row Filter

Nodes

Extensions

Links