weka - Convert NA values to ? automatically while loading -
is there way automatically convert na values ? in weka while loading .csv files? or have use other script/program either replace them ? or blank space before loading weka.
any or suggestions welcome. thanks
unfortunately not believe weka has way conversion. case because weka's native format .arff files. in .arff files, missing values denoted "?". when .csv file loaded, expects missing values denoted "?".
depending on method of using weka suggest:
for weka gui, use "find , replace" in simple text editor change "na" "?" before loading .csv weka.
for weka java api, write method preprocess ".csv" file before handing on weka .csv loader.
Comments
Post a Comment