【解決】Weka匯入csv或arrf,報錯:nominal value not declared in header ,read token
原因有幾種:(前2 種是老外給出的答案)
1、
you have some values occurring that are not exactly as declared in the header
2、
If you get this error message than you seem to have declared a nominal attribute in the ARFF header section, but Weka came across a value ("X") in the data (in line Y) for this particular attribute that wasn't listed as possible value. All
nominal values that appear in the data must be declared in the header.
3、如果是中文,可能是識別問題。需要將RunWeka.ini中的【fileEncoding修改為中文支援的】舉例:
fileEncoding=Cp936
另外, 最好不要在資料 中出現以下字元
, = " ' *+ -%
相關推薦
【解決】Weka匯入csv或arrf,報錯:nominal value not declared in header ,read token
原因有幾種:(前2 種是老外給出的答案) 1、 you have some values occurring that are not exactly as declared in the header 2、 If you get this error mess
【maven】maven的web項目打包報錯:No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK
應用 cga snapshot ace owin span ons sed sse 打包過程中報錯如下: No compiler is provided in this environment. Perhaps you are running on a JRE rather
【解決】Junit單元測試中出現的報錯
at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.de
【Python】selenium調用IE11瀏覽器,報錯“找不到元素”NoSuchWindowException: Message:Unable to find element on closed window
conn ont csdn creates logs 註冊 target get 意思 當編寫自動化腳本,定位瀏覽器元素時,報如下錯誤: 代碼: >>> # coding=utf-8 >>> from selenium import w
【ActiveMQ】消息生產者自動註入報錯:Could not autowire. No beans of 'JmsMessagingTemplate' type found
註入 fin producer 定義 red because spl send code 使用ActiveMQ過程中,定義消息生產者: package com.sxd.jms.producer; import org.springframework.beans.fa
20180925:問題:pycharm中匯入flask-wtf失敗,報錯:module 'pip' has no attribute 'main'
前後臺頁面搭建完成,開始後臺邏輯操作。 在開始之前,根據視訊要匯入flask-wtf模組。在pycharm中匯入flask-wtf時,卻顯示報錯,錯誤最後一句提示:module 'pip' has no attribute 'main' 試圖在Termianl面
【pycharm】pycharm上安裝tensorflow,報錯:AttributeError: module 'pip' has no attribute 'main' 解決方法
pycharm上安裝tensorflow,報錯:AttributeError: module 'pip' has no attribute 'main' 解決方法 解決方法: 在pycharm的安裝目錄下,找到helpers/packaging_tool.py檔案,
【IMP】IMP匯入表的時候,如果表存在怎麼辦
在imp匯入的時候,如果表存在的話,會追加資料在表中,所以如果不想追加在表中的話,需要將想匯入的表truncate掉後,在impSQL:truncate table TEST1;imp test/test file=test.dmp tables=test1 ignore=y
【問題及解決】建立Maven webapp專案後JSP 報錯
問題: 使用Myeclips 2014建立Maven web專案後, JSP 報錯:The superclass "javax.servlet.http.HttpServlet" was not found 如下圖所示: 針對上述問題有下列兩種解決方案: 解決1
【Netapp】在模擬器中使用disk removeowner報錯
disk removeowner報錯信息如下:Cluster2::storage disk*> removeowner NET-1.43 Error: command failed: Disk NET-1.43 is not conne
【Java】import org.junit.Test 和@Test報錯
【問題描述】 Java專案中匯入import org.junit.Test 和使用@Test時報錯。 【解決辦法】 1、在MyEclipse或Eclipse專案中右擊屬性選擇【
【Mac + ATX基於uiautomator2】使用weditor時,報錯:requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(54, 'Connection r
之前講過怎麼安裝u2(【Mac安裝,ATX基於uiautomator2】之安裝步驟)以及使用weditor, 但是經過一段時間,weditor不用的時候再打開發現,報錯了: requests.exceptions.ConnectionError: ('Connection aborted.
解決CENTOS7 通過虛擬機器複製後網路無法開啟,報錯:RTNETLINK answers: File exists或no suitable device found for this connect
最近需要用到CENTOS7來部署hadoop 與spark 叢集,製作了模板的centos後,複製到新的機器 上網路無法啟動。 報錯:RTNETLINK answers: File exists或no suitable device found for this conne
【spring cloud】【IDEA】【Maven】spring cloud多模組打包,打包的jar包只有幾k,jar包無法執行,執行報錯:no main manifest attribute, in /ms-eureka.jar
======================================================================================== 引申:maven打包多模組spring cloud服務報錯 程式包XXX不存在 : https://www.cnblog
【c++】=過載,報錯:沒有合適的複製建構函式
不想看太多的朋友看這句就行了:在你的複製建構函式作為引數傳進去的那個物件前加個const. 是這樣的,在寫機器學習作業的時候,遇到了很多矩陣演算法,為了處理上的方便,我寫了一個矩陣類Matrix,如下
【ubuntu】出現報錯:the system is running in low-graphics mode
在出現該彈窗時,ctrl + Alt + F1 輸入使用者名稱+密碼 //機器上之前有一個老版本,請按照下面這些命令來做。Nvidia和ATI/AMD顯示卡的命令都一樣。 sudo add-ap
【專案啟動】 tomcat啟動,專案無法啟動,無法正常訪問/專案可以啟動,報錯:java.lang.ClassNotFoundException: ContextLoaderListener
使用maven搭建專案(這個錯誤和是不是使用maven搭建專案沒有關係),然後部署到tomcat中執行。 出現問題1: tomcat跑起來了,但是啟動時間很短,沒有報錯,專案不能正常訪問 專案啟動時間很短,並且沒有報錯 並且專案無法正常訪問 發現問題過程: 檢視t
解決報錯:IncompleteElementException: Could not find result map...
base ase junit4 lock prepare join ram ems nas 今天遇到這樣一個報錯,記錄一下: org.apache.ibatis.builder.IncompleteElementException: Could not find resu
Mac和Linux報錯: dyld: Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.8.dylib的解決辦法
conf www. oca 谷歌 進行 rac dyld 終端 解決辦法 在mac系統下,執行谷歌機器學習框架 Tesseract時,報錯: dyld: Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.8.dylib
命令行運行python項目文件,報錯:ModuleNotFoundError: No module named 'xxxx' 解決辦法
director .com error 解決 項目文件 因此 分析 根目錄 jenkins 在pycharm中寫好了自動化測試腳本,並能在pycharm中正常運行,由於要考慮到無人值守時能自動執行,執行時就需要脫離pycharm,直接能用命令執行。但是直接用命令執行用例文件