《KNIME教程》word版_第1頁(yè)
《KNIME教程》word版_第2頁(yè)
《KNIME教程》word版_第3頁(yè)
《KNIME教程》word版_第4頁(yè)
《KNIME教程》word版_第5頁(yè)
已閱讀5頁(yè),還剩49頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、入門指南我們現(xiàn)在想把你整個(gè)過程一步一步的建立一個(gè)小的、簡(jiǎn)單的工作流:我們讀在數(shù)據(jù)從一個(gè)ASCII文件,指定顏色,集群數(shù)據(jù)并顯示數(shù)據(jù)表和散點(diǎn)圖。當(dāng)我們執(zhí)行這個(gè)流程我們將檢查數(shù)據(jù)模型已經(jīng)建立。我們假設(shè)你剛剛開始KNIME空著的工作流。更全面的KNIME快速入門指南,也包含在KNIME下載可以在這里找到。添加節(jié)點(diǎn)在節(jié)點(diǎn)庫(kù)擴(kuò)大“輸入輸出”和“讀”類別中,如低于(左圖像)和拖放文件閱讀器圖標(biāo)工作流編輯器窗口。下一個(gè)節(jié)點(diǎn)現(xiàn)在將k -均值聚類算法。擴(kuò)大“挖掘”類別緊隨其后的是“聚類”的類別,然后拖動(dòng)節(jié)點(diǎn)k - Means流(圖右)。在搜索框中輸入“顏色”節(jié)點(diǎn)存儲(chǔ)庫(kù)并按下enter。這限制了節(jié)點(diǎn)顯示的“顏色”

2、在他們的名字(見上圖中)。拖動(dòng)顏色馬槽節(jié)點(diǎn)工作流(該節(jié)點(diǎn)將定義在數(shù)據(jù)視圖的顏色之后)。看到所有節(jié)點(diǎn)在庫(kù)再一次,按下ESC或退格鍵在搜索字段節(jié)點(diǎn)的存儲(chǔ)庫(kù)。現(xiàn)在,拖動(dòng)互動(dòng)表和散點(diǎn)圖從“數(shù)據(jù)視圖”范疇的工作流編輯器和位置它右邊的顏色管理器節(jié)點(diǎn)。連接節(jié)點(diǎn)現(xiàn)在你需要連接節(jié)點(diǎn)為了得到數(shù)據(jù)流。點(diǎn)擊一個(gè)輸出端口并拖動(dòng)連接到一個(gè)適當(dāng)?shù)妮斎攵丝凇M暾牧鞒倘缦聢D所示:你的節(jié)點(diǎn)不會(huì)顯示一個(gè)綠色的狀態(tài),只要他們不是配置和執(zhí)行。配置節(jié)點(diǎn)完全連接節(jié)點(diǎn)和一個(gè)紅色狀態(tài)圖標(biāo)需要配置。先從文件閱讀器,右鍵單擊它并選擇“配置”菜單。導(dǎo)航到“IrisDataSet”目錄KNIME位于安裝目錄。選擇數(shù)據(jù)。所有文件從這個(gè)位置。文件閱讀器

3、的預(yù)覽表顯示了一個(gè)示例數(shù)據(jù)。點(diǎn)擊OK以關(guān)閉對(duì)話框的文件閱讀器節(jié)點(diǎn)。一旦節(jié)點(diǎn)已被正確配置,它切換到黃色(意味著準(zhǔn)備好執(zhí)行)。在那之后,k -均值節(jié)點(diǎn)立即變成黃色,作為其默認(rèn)設(shè)置被應(yīng)用。可以肯定的是,默認(rèn)的設(shè)置符合您的需要,打開對(duì)話框,檢查默認(rèn)設(shè)置。為了配置顏色管理器節(jié)點(diǎn)你必須首先執(zhí)行節(jié)點(diǎn)k -均值。執(zhí)行后,所有的名義值和范圍的屬性是眾所周知的:這個(gè)meta信息被傳播到繼任者節(jié)點(diǎn)。顏色管理器需要這個(gè)數(shù)據(jù)之前可以對(duì)它進(jìn)行配置。一旦執(zhí)行k -均值節(jié)點(diǎn),打開配置對(duì)話框的顏色馬槽節(jié)點(diǎn)。執(zhí)行節(jié)點(diǎn)現(xiàn)在執(zhí)行散布圖節(jié)點(diǎn):工作臺(tái)為您執(zhí)行所有的前任節(jié)點(diǎn)。在一個(gè)更大、更復(fù)雜的流程你可以選擇多個(gè)節(jié)點(diǎn)和觸發(fā)執(zhí)行給他們所有的

4、人。工作流管理器根據(jù)需要執(zhí)行節(jié)點(diǎn),如果可能的話在平行。檢查結(jié)果為了檢驗(yàn)數(shù)據(jù)和結(jié)果,打開節(jié)點(diǎn)”的觀點(diǎn)。在我們的示例中,k -均值,互動(dòng)表和散點(diǎn)圖有觀點(diǎn)。開放他們從節(jié)點(diǎn)的上下文菜單。Hiliting選擇一些點(diǎn)散點(diǎn)圖,選擇“Hilite Selected”從“Hilite”菜單。這個(gè)hilited點(diǎn)標(biāo)記一個(gè)橙色的邊境。您還將看到hilited分在表視圖。傳播的醒目地位適用于所有視圖在所有部門的流動(dòng)顯示相同的數(shù)據(jù)。開始你自己的探索之旅!這只是一個(gè)非常簡(jiǎn)單的例子來(lái)讓你開始。有更多的發(fā)現(xiàn)。玩它!我們?cè)噲D保持簡(jiǎn)單和直觀的。這將是偉大的,收到你的反饋,找出你喜歡的和你不喜歡,東西你找到尷尬或事情似乎并未奏效。

5、工作臺(tái)描述可用的視圖在以下的KNIME工作臺(tái)及其特性進(jìn)行更為詳細(xì)的描述。當(dāng)KNIME最初打開它始于以下安排視圖:Workflow Projects所有KNIME工作流是顯示在工作流項(xiàng)目視圖。工作流的狀態(tài)表示一個(gè)圖標(biāo)顯示工作流是否關(guān)閉、閑置、執(zhí)行或者執(zhí)行完成。Favorite Nodes最喜歡的節(jié)點(diǎn)視圖顯示你最喜歡的,最常用的和去年使用的節(jié)點(diǎn)。一個(gè)節(jié)點(diǎn)被添加到你的收藏夾通過拖動(dòng)它從節(jié)點(diǎn)存儲(chǔ)庫(kù)到個(gè)人最喜歡的節(jié)點(diǎn)類別。當(dāng)一個(gè)節(jié)點(diǎn)拖動(dòng)到工作流編輯器,最后使用和更新最頻繁使用的類別。最喜歡的節(jié)點(diǎn)視圖有以下操作菜單欄的視圖:收起所有擴(kuò)展類別擴(kuò)大所有類別清除過去的使用和最經(jīng)常使用的類別刪除選中的節(jié)點(diǎn)從您的收

6、藏夾節(jié)點(diǎn)的數(shù)量在去年使用最頻繁和類別默認(rèn)限制為10節(jié)點(diǎn)。這個(gè)數(shù)字可以調(diào)整,在偏好。選擇“文件/首選項(xiàng). .“/ KNIME / KNIME GUI設(shè)置不同的值的最大大小常用節(jié)點(diǎn)和最大數(shù)量的最后使用節(jié)點(diǎn)。Node Repository節(jié)點(diǎn)存儲(chǔ)庫(kù)包含所有節(jié)點(diǎn)KNIME下令在類別。一個(gè)類別可以包含另一個(gè)類別,例如,閱讀類別是一個(gè)子類的IO范疇。節(jié)點(diǎn)從存儲(chǔ)庫(kù)中添加工作流編輯器通過拖放它們到工作流編輯器。選擇一個(gè)類別顯示所有包含節(jié)點(diǎn)的節(jié)點(diǎn)描述視圖,選擇一個(gè)節(jié)點(diǎn)顯示為該節(jié)點(diǎn)的幫助。如果你知道一個(gè)節(jié)點(diǎn)的名稱可以輸入部分的名字在搜索框中節(jié)點(diǎn)的存儲(chǔ)庫(kù)。當(dāng)你輸入所有節(jié)點(diǎn)都立即過濾那些包含輸入的文本在他們的名字:O

7、utlineoutline視圖提供了一個(gè)概述整個(gè)工作流即使只有一小部分是可見的工作流編輯器(標(biāo)記為灰色在大綱視圖中)。outline視圖還可以用于導(dǎo)航:灰色矩形可以移動(dòng)鼠標(biāo),導(dǎo)致編輯器向下滾動(dòng),可見部分匹配的灰色矩形。Console控制臺(tái)視圖打印出錯(cuò)誤和警告消息為了給你一個(gè)線索:底層怎么回事。相同的信息(調(diào)試詳細(xì)級(jí)別是寫入一個(gè)日志文件,它位于 workspace / . metadata / knime / knime.log)。如果你想改變這個(gè)級(jí)別的細(xì)節(jié)(這兩個(gè)日志文件或控制臺(tái)視圖)去File/Preferences./KNIME詳細(xì)級(jí)別的日志文件或去File/Preferences./KN

8、IME/KNIME GUI的細(xì)節(jié)層次控制臺(tái)視圖。你可以選擇: DEBUG主要用于開發(fā)調(diào)試消息。不建議使用這個(gè)控制臺(tái)視圖,因?yàn)樗麷NIME減慢。 INFO日志信息消息。不是真的重要,但也不是完全無(wú)用! WARNING如果一個(gè)節(jié)點(diǎn)不能在配置一個(gè)警告消息也發(fā)布了。警告消息不是致命的;通常工作流可以繼續(xù)執(zhí)行,但他們表示,一些值得了解已經(jīng)發(fā)生。違約和推薦級(jí)別控制臺(tái)視圖。ERROR只有當(dāng)事情發(fā)生了致命的發(fā)行,即工作流可以不再被執(zhí)行。Node Description節(jié)點(diǎn)描述顯示選中的節(jié)點(diǎn)信息(或節(jié)點(diǎn)包含在一個(gè)選定的類別)。特別是,它解釋了對(duì)話框選項(xiàng),可用的視圖,預(yù)期的輸入數(shù)據(jù)和輸出結(jié)果數(shù)據(jù)。在Linux下有

9、一些問題與這一觀點(diǎn),因?yàn)樗枰到y(tǒng)的web瀏覽器。KNIME / Eclipse試圖找到一個(gè)基于mozilla的瀏覽器自動(dòng),如果環(huán)境變量沒有設(shè)置MOZILLA_FIVE_HOME KNIME。承憲應(yīng)該注意瀏覽器,它是用在這種情況下。你可以嘗試顯式地設(shè)置到firefox目錄和MOZILLA_FIVE_HOME如果這沒有幫助你也可以嘗試通過“-Dorg.eclipse.swt.browser.XULRunnerPath =“knime.sh。有一個(gè)已知問題和Firefox 3(和使用xulrunner = 1.9),對(duì)于那些沒有解決方法除了使用的是舊版本。這也可能導(dǎo)致你一些麻煩。參見鏈接的Ecli

10、pse bug報(bào)告為了提供一個(gè)完整的文本搜索,節(jié)點(diǎn)的描述也集成在Eclipse幫助。選擇幫助/幫助菜單中的內(nèi)容以打開Eclipse內(nèi)置的幫助。有一個(gè)KNIME范疇,它有一個(gè)節(jié)點(diǎn)描述子菜單。在搜索字段可以執(zhí)行全文搜索在所有節(jié)點(diǎn)的描述。例如,如果你輸入“集群”,所有節(jié)點(diǎn)描述包含詞集群顯示:Preferences偏好與文件/打開首選項(xiàng)KNIME-related的偏好被分成三個(gè)類別:KNIME偏好的KNIME也適用于KNIME如果開始在批處理模式日志文件日志級(jí)別的詳細(xì)級(jí)別的日志文件。默認(rèn)值是調(diào)試,這意味著開發(fā)人員也記錄信息。這個(gè)日志文件發(fā)送給我們?nèi)绻阌龅饺魏我馔獾男袨榭赡軙?huì)給我們一個(gè)提示,是什么導(dǎo)致

11、了這個(gè)問題。最大工作線程對(duì)所有節(jié)點(diǎn): 這個(gè)KNIME工作流管理器試圖優(yōu)化執(zhí)行時(shí)間的節(jié)點(diǎn),例如,通過分配單獨(dú)的分支的工作流來(lái)幾個(gè)線程。它可以歸結(jié)為并行運(yùn)行節(jié)點(diǎn)盡可能。這里您可以輸入多少線程應(yīng)該用于并行化。默認(rèn)情況下它是CPU的數(shù)量的兩倍。這已經(jīng)被證明是一個(gè)良好的數(shù)額。目錄為臨時(shí)文件KNIME需要存儲(chǔ)一些臨時(shí)文件(數(shù)據(jù)的執(zhí)行但尚未保存工作流)某處。您可以在這里指定位置。KNIME GUI:偏好相關(guān)的KNIME圖形用戶界面。控制臺(tái)視圖日志級(jí)別的詳細(xì)級(jí)別的日志信息顯示在控制臺(tái)視圖。通常警告是足夠的。調(diào)試減緩性能和主要適用于發(fā)展。確認(rèn)節(jié)點(diǎn)復(fù)位請(qǐng)選擇你想要的是否一個(gè)確認(rèn)對(duì)話框彈出當(dāng)你重置一個(gè)已經(jīng)執(zhí)行節(jié)點(diǎn)。

12、如果你檢查了“不又問“復(fù)選框在這種類型的對(duì)話框中,選擇“選項(xiàng)”,使它們?cè)俅纬霈F(xiàn)。 確認(rèn)節(jié)點(diǎn)/連接刪除上面提到的一樣,但是對(duì)于確認(rèn)刪除節(jié)點(diǎn)和/或連接。確認(rèn)重新連接已連接的節(jié)點(diǎn)截至KNIME 2.0可以拖動(dòng)一個(gè)連接到一個(gè)已經(jīng)連接的端口。連接被替換如果配置節(jié)點(diǎn),但如果它被執(zhí)行(因此將重置取代連接)一個(gè)確認(rèn)對(duì)話框。這個(gè)確認(rèn)對(duì)話框也可以被開啟或關(guān)閉通過這種偏好。最大尺寸為最常用的節(jié)點(diǎn)節(jié)點(diǎn)的數(shù)量來(lái)維持最頻繁使用的節(jié)點(diǎn)類別的最喜歡的節(jié)點(diǎn)視圖。 最后使用節(jié)點(diǎn)最大尺寸節(jié)點(diǎn)的數(shù)量由去年使用節(jié)點(diǎn)類別的最喜歡的節(jié)點(diǎn)視圖。Master KeyKNIME不存儲(chǔ)任何密碼(例如數(shù)據(jù)庫(kù))在普通測(cè)試,但通過一個(gè)主密鑰加密.Wor

13、kflow Editor工作流編輯器是用來(lái)裝配工作流程、配置和執(zhí)行節(jié)點(diǎn),檢查結(jié)果和探索你的數(shù)據(jù)。本節(jié)描述了交互可以在編輯器。Node OptionsConfigure當(dāng)一個(gè)節(jié)點(diǎn)拖到工作流編輯器或連接,它通常顯示紅色的狀態(tài)燈顯示它需要配置,即對(duì)話框已被打開。要做到這一點(diǎn),可以雙擊節(jié)點(diǎn)或用鼠標(biāo)右鍵單擊節(jié)點(diǎn)打開上下文菜單。第一個(gè)條目的上下文菜單是“配置”,打開對(duì)話框。如果節(jié)點(diǎn)被選中您還可以選擇相關(guān)的按鈕上面的工具欄編輯器。按鈕看起來(lái)像旁邊的圖標(biāo)上下文菜單項(xiàng)。Execute在接下來(lái)的步驟中,您可能希望執(zhí)行節(jié)點(diǎn),即您希望節(jié)點(diǎn)實(shí)際執(zhí)行其任務(wù)的數(shù)據(jù)。為實(shí)現(xiàn)這一目標(biāo)右鍵單擊節(jié)點(diǎn)為了打開上下文菜單,并選擇“執(zhí)行

14、”。你也可以選擇相關(guān)的按鈕從工具欄。按鈕看起來(lái)像旁邊的圖標(biāo)上下文菜單項(xiàng)。沒有必要執(zhí)行每一個(gè)節(jié)點(diǎn):如果執(zhí)行最后一個(gè)節(jié)點(diǎn)連接的但尚未執(zhí)行節(jié)點(diǎn),節(jié)點(diǎn)將執(zhí)行所有的前任執(zhí)行之前最后一個(gè)節(jié)點(diǎn)。Execute All上面的工具欄編輯器還有一個(gè)按鈕來(lái)執(zhí)行所有未執(zhí)行節(jié)點(diǎn)工作流。這同樣適用,如果一個(gè)節(jié)點(diǎn)在流點(diǎn)著紅狀態(tài)燈由于信息缺失的前任節(jié)點(diǎn)。當(dāng)節(jié)點(diǎn)執(zhí)行的前身和節(jié)點(diǎn)與紅狀態(tài)燈可以應(yīng)用其設(shè)置執(zhí)行以及其繼任者。底層的工作流管理器還試圖執(zhí)行的分支并行的工作流。Execute and Open View節(jié)點(diǎn)的上下文菜單還包含“執(zhí)行并打開視圖”選項(xiàng)。這個(gè)執(zhí)行節(jié)點(diǎn),并立即打開視圖。如果一個(gè)節(jié)點(diǎn)有多個(gè)視圖只有第一個(gè)視圖打開。Op

15、en View一個(gè)節(jié)點(diǎn)可以沒有,一個(gè)或多個(gè)視圖。每個(gè)視圖顯示為一個(gè)條目在節(jié)點(diǎn)的上下文菜單。選擇它為了打開相關(guān)的視圖。一種觀點(diǎn)認(rèn)為,之前被打開節(jié)點(diǎn)已經(jīng)執(zhí)行,盡快更新節(jié)點(diǎn)執(zhí)行。你可以打開視圖的一個(gè)節(jié)點(diǎn)幾次,例如如果你想要比較不同的列在散點(diǎn)圖。一個(gè)視圖是自動(dòng)復(fù)位如果節(jié)點(diǎn)是復(fù)位。Open Out-port View如果一個(gè)節(jié)點(diǎn)沒有一個(gè)觀點(diǎn),你有興趣結(jié)果節(jié)點(diǎn)的數(shù)據(jù)操作,您可以檢查數(shù)據(jù)。它可以在節(jié)點(diǎn)的輸出端。底部的上下文菜單中有一個(gè)條目,每個(gè)節(jié)點(diǎn)的輸出港。每一個(gè)打開引用視圖輸出端。注意,輸出端視圖不支持任何交互或hiliting。如果你想看到hilited醒目數(shù)據(jù)或數(shù)據(jù)輸出端連接到互動(dòng)表節(jié)點(diǎn)。Reset你

16、可以重置一個(gè)節(jié)點(diǎn)通過選擇重置選項(xiàng)從上下文菜單。節(jié)點(diǎn)返回的執(zhí)行狀態(tài)(綠色狀態(tài)燈)來(lái)配置狀態(tài)(黃色狀態(tài)燈)。如果節(jié)點(diǎn)被選中您還可以選擇相關(guān)的按鈕上面的工具欄編輯器。按鈕看起來(lái)像旁邊的圖標(biāo)上下文菜單項(xiàng)。Cancel如果一個(gè)節(jié)點(diǎn)是當(dāng)前執(zhí)行你可以取消執(zhí)行通過選擇“取消”選項(xiàng)從上下文菜單或相關(guān)按鈕(相同的圖標(biāo),在上下文菜單)從工具欄。Cancel All工具欄還包含一個(gè)“取消”按鈕,取消所有正在運(yùn)行的節(jié)點(diǎn)的執(zhí)行。Enter Custom Node Name當(dāng)一個(gè)節(jié)點(diǎn)拖到工作流它有一個(gè)名字,比如“節(jié)點(diǎn)1”或類似的默認(rèn)情況下低于狀態(tài)燈。你可以改變這個(gè)名字更好地描述節(jié)點(diǎn)實(shí)際上是做,例如。“過濾器值 10”。這可

17、以通過選擇節(jié)點(diǎn),然后單擊名稱:名稱變成可編輯。按“返回”應(yīng)用您的更改。Enter Custom Node Description在上下文菜單中你還會(huì)找到“節(jié)點(diǎn)名稱和描述”選項(xiàng)。這將打開一個(gè)對(duì)話框來(lái)選擇輸入一個(gè)新的名稱為節(jié)點(diǎn)。此外您可以輸入一個(gè)更詳細(xì)的描述或說(shuō)明該節(jié)點(diǎn)。這個(gè)動(dòng)作也可以通過工具欄中的按鈕。Connections你可以連接兩個(gè)節(jié)點(diǎn)通過拖動(dòng)鼠標(biāo)從一個(gè)節(jié)點(diǎn)的輸出端到另一個(gè)節(jié)點(diǎn)的停港。循環(huán)是不允許的。如果一個(gè)節(jié)點(diǎn)已經(jīng)連接你可以替換現(xiàn)有的連接通過拖拽一個(gè)新的連接到它。如果節(jié)點(diǎn)已經(jīng)連接,您會(huì)被要求確認(rèn)結(jié)果重置目標(biāo)節(jié)點(diǎn)。你也可以拖動(dòng)結(jié)束的一個(gè)現(xiàn)有的連接到一個(gè)新的停港(或者相同的節(jié)點(diǎn)或一個(gè)不同的節(jié)

18、點(diǎn))。Import/Export of workflowsImport of Workflows您可以導(dǎo)入一個(gè)工作流可以從一個(gè)不同的工作區(qū)或從一個(gè)zip文件,例如如果工作流是KNIME出口。導(dǎo)入向?qū)Э梢源蜷_菜單中的“文件/導(dǎo)入KNIME工作流”或通過打開上下文菜單在工作流項(xiàng)目視圖并選擇“導(dǎo)入KNIME工作流”。選擇根目錄,如果您想要導(dǎo)入工作流從另一個(gè)工作區(qū)。選擇存檔文件的選擇如果你想瀏覽壓縮工作流。選擇您想要導(dǎo)入的工作流。如果一個(gè)工作流具有相同名稱已經(jīng)存在在當(dāng)前工作區(qū)中您可以重命名導(dǎo)入的一個(gè)在向?qū)У南乱粋€(gè)頁(yè)面。通過點(diǎn)擊OK項(xiàng)目導(dǎo)入到您的工作區(qū)。如果你不“復(fù)制項(xiàng)目進(jìn)入工作區(qū)”,更改到這個(gè)工作流也

19、將適用于工作流在源位置。Export of Workflows出口流程操作也可以通過菜單(文件/出口KNIME工作流”)或通過上下文菜單中的工作流項(xiàng)目視圖。兩個(gè)打開出口流程向?qū)А_x擇你想要導(dǎo)出的工作流。如果你右鍵單擊一個(gè)工作流打開導(dǎo)出向?qū)н@個(gè)工作流是預(yù)選。在第二場(chǎng)瀏覽到目標(biāo)位置或輸入路徑導(dǎo)致出口位置。選擇排除數(shù)據(jù)被導(dǎo)出默認(rèn)激活。如果勾選此項(xiàng),只有結(jié)構(gòu)的工作流是出口,這將導(dǎo)致一個(gè)配置但非執(zhí)行工作流如果是被。如果您顯式地共享數(shù)據(jù)(例如,如果對(duì)方不能訪問數(shù)據(jù)庫(kù))你可以取消選中此選項(xiàng)。元節(jié)點(diǎn)Using Meta Nodes元節(jié)點(diǎn)節(jié)點(diǎn)包含subworkflows,即在工作流它們看起來(lái)像一個(gè)節(jié)點(diǎn),盡管他們

20、可以包含很多節(jié)點(diǎn),甚至更多的元節(jié)點(diǎn)。他們正在創(chuàng)建的幫助元節(jié)點(diǎn)向?qū)АD憧梢源蜷_元節(jié)點(diǎn)向?qū)ㄟ^選擇“節(jié)點(diǎn)/添加元節(jié)點(diǎn)” 從菜單或點(diǎn)擊按鈕與元節(jié)點(diǎn)圖標(biāo)的工具欄(工作流編輯器必須是可打開的)。Create Pre-defined Meta Node創(chuàng)建一個(gè)預(yù)定義的元節(jié)點(diǎn),選擇一個(gè),然后單擊“完成”。你的選擇是添加到工作流。Create Customized Meta Node如果你需要不同數(shù)量的或出港口或想有不同的端口類型你可以選擇一個(gè)預(yù)先定義的元節(jié)點(diǎn)作為模板,然后點(diǎn)擊“定制”來(lái)訪問這個(gè)向?qū)У南乱豁?yè)。在此頁(yè)面您可以添加或刪除在和出港口的模板。一個(gè)圖標(biāo)在底部立即給你一個(gè)預(yù)覽的節(jié)點(diǎn)。當(dāng)你添加一個(gè)端口的模板

21、可以選擇類型的端口:數(shù)據(jù), 數(shù)據(jù)庫(kù)或數(shù)據(jù)挖掘端口(PMML)。一旦節(jié)點(diǎn)適合你的需要,單擊“完成”以將其添加到工作流。Inside a Meta Node為了打開一個(gè)元節(jié)點(diǎn)可以雙擊它或者選擇“打開Subworkflow編輯”從上下文菜單。根據(jù)不同的數(shù)量的,和出港口的內(nèi)部元節(jié)點(diǎn)類似于下圖:在進(jìn)或出港口是固定的,被稱為workflow port bars,可以移動(dòng)和調(diào)整大小。數(shù)據(jù)連接到停港從外面出現(xiàn)在元節(jié)點(diǎn)編輯器在停港。反之亦然:數(shù)據(jù)連接到內(nèi)部輸出端出現(xiàn)在外面的輸出端。Meta Nodes From Outside元節(jié)點(diǎn)看起來(lái)不同正常節(jié)點(diǎn)。背景圖標(biāo)不是圓形的,有一個(gè)黑暗的灰色背景。沒有狀態(tài)燈,沒有進(jìn)

22、行。States of Meta Nodes元節(jié)點(diǎn)沒有像許多州作為一個(gè)節(jié)點(diǎn)。一個(gè)元節(jié)點(diǎn)的狀態(tài)同工作流的狀態(tài)。元節(jié)點(diǎn)可以:idle/configured如果至少有一個(gè)節(jié)點(diǎn)在元節(jié)點(diǎn),既不執(zhí)行也不執(zhí)行。Executing如果至少有一個(gè)節(jié)點(diǎn)執(zhí)行Executed如果所有包含節(jié)點(diǎn)執(zhí)行元節(jié)點(diǎn)的狀態(tài)是由一個(gè)圖標(biāo)顯示在元節(jié)點(diǎn)(從外部觀察)。Out-Ports of Meta Nodes除了元節(jié)點(diǎn)的狀態(tài)的出港口的一元節(jié)點(diǎn)也有州。一個(gè)小裝飾圖標(biāo)顯示狀態(tài)的輸出端。如果一個(gè)端口未連接或連接到一個(gè)空閑節(jié)點(diǎn)既不規(guī)范也不數(shù)據(jù)是可用的。這是顯示一個(gè)紅色圖標(biāo)。如果一個(gè)端口被連接到一個(gè)配置節(jié)點(diǎn),有些規(guī)格是可用的。這是顯示一個(gè)黃色的

23、圖標(biāo)。如果一個(gè)端口被連接到一個(gè)執(zhí)行節(jié)點(diǎn),規(guī)格和數(shù)據(jù)是可用的。這是顯示一個(gè)綠色的圖標(biāo)。FAQWhat is KNIME, what does KNIME stand for and who has developed KNIME?KNIME stands for KoNstanz Information MinEr and is pronounced: naim (that is, with a silent k, just as in knife). It is developed by KNIME.com AG located in Zurich and the group of Micha

24、el Berthold at the University of Konstanz, Chair for Bioinformatics and Information Mining. Why is it called KNIME? Well, Konstanz Information Miner used to be called Hades (as the pub some of its creators ended up going to often). But that raised lots of not so nice questions (so this is where your

25、 data ends up when its not useful anymore?) so we looked for another name. KIM, the obvious choice was, of course, already taken. However, the Konstanz license plate symbol is KN, so KNIM was our next choice. Adding a vowel at the end was suggested by a native speaker to round it off, as he put it.

26、And it appears in Miner so we felt ok about it. Plus URLs such as , knime.de, . were still available at that time.How to cite KNIME?The recommended way to cite KNIME is to cite the paperwith the following BibTeX:INPROCEEDINGSBCDG+07,author = Michael R. Berthold and Nicolas Cebron and Fabian Dill and

27、 Thomas R. Gabriel andTobias Kotter and Thorsten Meinl and Peter Ohl and Christoph Sieb and Kilian Thiel andBernd Wiswedel,title = KNIME: The Konstanz Information Miner,booktitle = Studies in Classification, Data Analysis, and Knowledge Organization (GfKL 2007),publisher = Springer,ISBN = 978-3-540-

28、78239-1,ISSN = 1431-8814,year = 2007Can I modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part?You may do all this in accordance to the license only. KNIME is available under

29、a dual licensing model. A version under an open source license is available for download from this website. If you need other license terms, please contact us. Please refer to the license for more information about the terms of the open source license.How much data can I process with KNIME?Basically

30、, there are no limits, since the data is buffered in an intelligent way. Nevertheless, some algorithms may require too much time and memory for very huge datasets.Im getting errors like java.lang.OutOfMemoryError: PermGenSpace. What is wrong?This is a known bug in Suns Java, which occurs if a lot of

31、 classes are loaded. This sometimes occurs in KNIME/Eclipse if you have a lot of, or huge plugins. A workaround is to pass the option -XX:MaxPermSize=128m to the Java command. The KNIME product is already using this setting by default. You can also try another Java implementation, such as those from

32、 IBM or BEA.See also Eclipses and Suns bug reports.How can I increase the Java Heap Space for KNIME?In the KNIME installation directory there is a file called knime.ini (under linux it might be .knime.ini). Open the file, find the entry -Xmx512mand change it to -Xmx1024mfor example. You may also con

33、sider to change the -XX:MaxPermSize=128moption and increase it to 256mor even 512m, depending on your computers main memory. Note, that you main memory must be at the very least the sum of both values. (See also the answer for rarely observed problems while increasing heap space under Windows).If yo

34、u use the developer version you have to edit the run configuration:Run - Open Run Dialog. - tab Arguments - field VM arguments - enter -Xmx1024M.I cannot start KNIME on Windows, I do not even see a splash screen? How do I make it work?If you do not even see the KNIME splash screen the system fails t

35、o create the Java VM. We observed this problem on a few computer systems. It seems that the anti-virus software Kaspersky prohibits the Java VM to allocate enough memory (). Thus, there are two workarounds:Try to uninstall the Kaspersky components Anti-Dialer and Anti-Spam as proposed in this forum

36、thread, oropen the knime.ini file in the installation directory and enter smaller values for the Xmxand theXX:MaxPermSizeoptions.I extracted the UpdateSite.zip (or parts of it) into the KNIME installation folder, but the new nodes do not appear in the Node repository.With Eclipse 3.4 the mechanism h

37、ow features/plugins are managed has drastically changed (the magic keyword is p2). One of the major implication for users is, that they cannot install new features/plugins (i.e. nodes) by just copying the plugins and/or features into the corresponding directories of the Eclipse/KNIME installation. I

38、nstead, they must be installed via the Update Manager. One workaround for plugins for which there exists no feature is the dropins folder that Eclipse scans upon each startup. But please use this only if anything else fails! The recommended way is using the Update Manager with the KNIME Update Site

39、or the zipped version of it.Is it possible to include data files in the workflow so that the, e.g. File Reader is immediately executable on a different system, where the source file is not available?Yes. This feature was added in KNIME v2.2.0. You will need to physically copy the file into a dedicat

40、ed drop directory in the node folder (part of the workflow). KNIME will index this folder and make all files in this drop folder available as node-local flow variables in URL syntax. Here are the steps:Create a workflow containing a file reader (or SDF reader or whatever you like to use) and point t

41、he reader to the file you want to read.Save the workflow.Use your system file browser and go into the corresponding workflow directory, e.g. /KNIME_Project/File Reader (#1)/.Create a folder drop in this directory and copy the target file here.Switch back to KNIME and make sure that the node configur

42、es at least once (e.g. if the node was executed, reset it, or if the node was configured, open the dialog and close the dialog by pressing ok).Open the dialog of the node, switch to the Flow Variables tab and choose the variable representing the drop file (e.g. knime.node (drop) ) in the correspondi

43、ng combo box.The file is now part of the workflow and will be included in the exported workflow unless you explicitly choose to exclude the data from the workflow. The Node Description window doesnt work on Linux; it displays the error System browser cannot be initialized. No node description will b

44、e displayed.KNIME uses the SWT browser widget to display HTML content. This widget requires a proper web browser to be installed. Under Linux Mozilla XULRunner is used. Usually xulrunner is present if the Firefox web-browser is installed. This error message can have two causes:Some recent Linux dist

45、ributions (e.g. Ubuntu 11.10 or Fedora 16) ship with an incompatible version of XULRunner (Eclipse only support versions 1.8 and 1.9). If KNIME detects an incompatible version it will disable it altogether because otherwise KNIME may crash. Since the distributions do not offer offical packages for o

46、lder version of XULRunner, the KNIME Update Site contains a feature calledKNIME XULRunner binaries for Linux. If installed, KNIME will use this local XULRunner if no compatible version exists in the system. In order to install this feature you must disable the Group items by category option in the i

47、nstallation dialog and search for the feature.Some distributions require the installation of a separate package, e.g. mozilla-xulrunner(OpenSuSE) or simply xulrunner(e.g. Fedora). After installation, KNIME should pick the xulrunner upon restart. If that does not work for any reason, you may want to

48、try to add a line to the the knime.ini file contained in the KNIME directory. This line should read as: -Dorg.eclipse.swt.browser.XULRunnerPath=For more details on web browser requirements, see the SWT FAQ.When copying Meta nodes such as Cross Validation or Meta Nodes x:x the inner nodes are not cop

49、ied.This is a known issue for all meta nodes in KNIME 1.3.5 and before. These KNIME versions do not copy the internal workflow of metanodes because of potential index conflicts. A workaround is to create a new meta node of the same type and subsequently copy the internals of the meta node separately

50、. This problem is fixed as of 2.0.Is there any way to run KNIME in batch mode, i.e. only on command line and without the graphical user interface?There is a command line option allowing the user to run KNIME in batch mode. To see a list of possible arguments execute the following line on a command p

51、rompt (for Linux):On Mac the knimeexecutable is not directly located in the KNIME application directory but in theknime.app/Contents/MacOS/subfolder. Besides this the command line usage is the same as in Linux. If you have copied KNIME, for example, into your /Applicationdirectory it can be invoked

52、like this:On a Windows system, you need to add two more options to enable system messages (by default any message to System.out is suppressed):The -consoleLogoption causes a new window to be opened containing the log messages and -noexitwill keep the window open after the execution has finished - yo

53、u will need to close the window manually, and, unfortunately, an error message is produced from the Java process, which, however, you can safely ignore. (If you happen to find out how this procedure can be avoided or simplified, please letus know.) Windows users: please remember to add these two opt

54、ions to the command line examples below in order to see KNIMEs output messages.In order to run a (pre-configured) workflow, say Knime_project, contained in the workspace directory, execute (in one line)knime -nosplash -application duct.KNIME_BATCH_APPLICATION-workflowDir=workspace/Knime_projectIts a

55、lso possible to change the configuration of the workflow through workflow variables. If you create a workflow variable, say parameter of type Integer, configure a node in the workflow so that it uses the value of the variable where you want the user to parameterize the node. If you run the workflow

56、now in the batch mode, you can specify the -workflow.variable=name,value,typeoption to set a new value before the flow gets executed. For example, to set the value 5 to the parameter integer variable, call the batch executor like this:knime -nosplash -application duct.KNIME_BATCH_APPLICATION-workflo

57、w.variable=parameter,5,int-workflowDir=workspace/KNIME_projectThe workspace is empty how do I create a new project?In the Navigator view (left top window) right-click and select New, then New KNIME Project. Provide a name for this new project and click the OK button.The Node Repository shows only a

58、few nodes (or none at all) - is that all?!?Did you enter anything in the search field of the Node Repository view? Click into the edit field at the top of that view and press ESC. This should return all nodes included in the installation. If this doesnt help, your installation might be corrupt.Under

59、 Linux I cannot see the table in the output port view, the window shows only blank content. What is wrong here?This is very likely a problem with the Compiz OpenGL window manager (Bug report at Sun). Other effects may be empty sub-dialogs, e.g. in the File Reader. You have to switch off Compiz in th

60、is case. Another workaround has been posted here, butwe havent tested it ourselves. For the Non-Germans you have toInstall the libXP package, by e.g. yum -y install libXp.Add export AWT_TOOLKIT=MToolkitto your /.bashrc (or whateverfile your shell executes upon startup).I am running Fedora 10 using t

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論