3,038 questions
-3
votes
0
answers
59
views
Why does Vscode still give me package not found error with Weka after referencing the JAR file in classpath? [closed]
This is my MRE.
Here is how my project is structured
Project structure here
Settings.json file
{
"java.project.referencedLibraries": [
"lib/weka.jar"
]
}
Main.java
import ...
-1
votes
1
answer
26
views
Value of I parameter (iterations) in logistic model tree (LMT) classifier
I am running a LMT classifier in Weka Explorer. The value of the iteration metric 'I' is set to -1 (negative 1) by default. However, when trying to replicate the same via LMT in the R package mlr3, ...
0
votes
0
answers
69
views
downloaded weka 3.8.6 on arch linux, but when trying to start the gui i get an error saying Invocation.Target.Exception how could i solve this?
when starting up the gui i get the following error:
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java....
0
votes
1
answer
41
views
how to display the premise and consequence when the setcar is set to true
I want to get the premise and consequence for each line of generated rules after the running the apriori algorithm in Weka 3.8.6.
`apriori.setNumRules(NUMBER_OF_RULES);
apriori.setMinMetric(...
0
votes
0
answers
43
views
How to make predictions on un-labeled test data using j48 in weka(3.9.0)?
I have tried converting all the files (training, labeled test data and un-labeled test data) prefereably in arff format and it is working good for my labelled test data. But for unlabelled test data ...
-1
votes
1
answer
103
views
Resample filter in weka
I have a low amount of data instances in my data set. So, I tried the "resample" filter in Weka to increase the data amount and thus enhance the model performance. Is it okay to set the ...
0
votes
0
answers
47
views
I keep getting a "NoClassDefFound" error with Weka Ai using Java. I keep getting this Error?
I'm new at weka and Ai. And, I dont understand why I keep getting the "Exception in thread "main" java.lang.NoClassDefFoundError: weka/core/converters/ConverterUtils$DataSource"? ...
0
votes
1
answer
51
views
weka inital heap size memory allocated
i am currently using WEKA and i am trying to run a logistic regression on a dataset that i am currently working, on however everytime i attempt to do this WEKA shuts down and shows me this message i ...
0
votes
1
answer
70
views
converting a csv file to arff file using weka converter, but it is not counting enough columns
For a university project I am trying to convert a CSV to ARFF using Weka's CSVLoader from the GUI. In the options I set the enclosure character for strings to be ", although there are no quotes ...
0
votes
0
answers
150
views
Why am I getting these exceptions when trying to load a .csv file into Weka 3.8.6?
I have a large (~1gb) csv file I am trying to load into Weka 3.8.6. It used to let me try to load CSV files, but I was getting an issue with memory. After updating heap size and trying to load again, ...
0
votes
1
answer
37
views
Intepreting WEKA data
I have a CSV file which contains about 10,000 entries. The CSV file contains data on individuals who are booking a holiday at a particular hotel. The CSV file contains the following columns
1: ...
0
votes
1
answer
211
views
weka software machine learning
How to run Weka software on GPU? Weka software uses CPU and does not use GPU at all. I moved the Weka software to the gpu in the Nvidia panel, and I also moved it to the gpu in the PC settings, but it ...
0
votes
0
answers
102
views
Weka attribute problems
I am currently using Weka and I am having a problem with preprocessing the data. You see when I got the data some of the data is telling me that the attribute is neither numeric nor nominal. What do I ...
0
votes
1
answer
49
views
Testing clustering algorithms for accuracy in weka Experimenter
I'm using Experimenter to compare clustering algorithms to test accuracy. I couldn't find clustering algorithms in the Simple experiment mode, so I used Advanced and did the clustering using these ...
0
votes
1
answer
46
views
WEKA problems creating CSV file with attributes
I wish to use this data https://data.lacity.org/Public-Safety/Crime-Data-from-2020-to-Present/2nrs-mtv8 for a WEKA project, but I have met some troubles in my way of structuring a CSV file which can ...
0
votes
1
answer
136
views
How can I solve this WEKA error evaluation model?
After training a SMO using this code :
Evaluation eval = new Evaluation(ClassData);
SMO svm = new SMO();
eval.crossValidateModel(svm, ClassData, 10, new Random(1));
System....
0
votes
1
answer
36
views
WEKA how to translate a KnowledgeFlow file in code for SimpleCli?
I developed a good system for my task using WEKA KnowldgeFlow saving a .kf file and now I'd like to translate it to use into the SimpleCli command line.
I don't want to run a kf file from SimpleCli ...
0
votes
1
answer
36
views
How to dump clustering results in MOA
Please let me know after using data stream clustering algorithm from MOA like Clustream, how can I dump the clustering Result into csv file, which shows each row of arff data file belong to finally ...
0
votes
1
answer
81
views
WEKA Execute classifyInstance for Random Forest saved model
Trying to execute classifyInstance against Random Forest pre trained model for Java. I was able to execute SMO Naïve Bayes for the same code but not for bagging random forest pre trained model getting ...
0
votes
1
answer
332
views
How to convert the nominal data from csv to arff format?
one of the attribute was 'first year, second year'. when i tried to open into Weka, i got the errors the following error message "unable to determine structure as arff(Reasons:java.lang....
0
votes
0
answers
30
views
How to use the derived models by WEKA to apply for new input data
I am using WEKA 3.8.6 to generate models for prediction purposes. I have the model but I do not know how to use my own parameters to see the results by utilizing the model. What may I do?
I am trying ...
0
votes
0
answers
119
views
WEKA pattern investigation with Apriori , I don't get results
I want to extract knowledge from the competition data
KDD Cup 1999. This dataset includes records about connections to the
Internet, where each connection refers to an attack or a normal usage. The
...
0
votes
0
answers
93
views
How to fix weka error java.lang.reflect.InvocationTargetException
When I tried to launch weka 3.8.6.
It didn't launch but pops up Weka Error.
When I tried to run weka 3.8.6 the Error is:
java.lang.reflect.InvocationTargetException
0
votes
1
answer
145
views
NullPointerException when importing a package in Weka
I am developing a plugin for Weka in Java, and I'm using the weka/packages/templates to compile and create the package with ant. It look like Weka using the weka.core.packageManagement.DefaultPackage ...
0
votes
1
answer
85
views
Is Weka's JRIP updateable?
I have a large dataset and I am using Weka with the Python wrapper to train the RIPPER algorithm. Can I use Weka's updateable interface for incrementally training the JRIP algorithm (RIPPER)?
How can ...