Graphviz Visualizer in WEKA giving empty Grpahs - weka

I was building a J48 tree on the famous iris dataset.
I used weka 3.8 to build the tree. I also installed graphviz tree visualizer plugin. I use weka in windows 10.
But when I try to visualize it shows me an empty graph. Can some one help me here.

Related

Where is the Weka dataset folder on mac

I installed weka recently for a class in machine learning that I am taking and have been told that certain datasets are available in the weka folder called data. I installed the mac version of weka found at this link but I don't seem to have the sample datasets nor can I find them when I search on my mac through spotlight search. Does anyone know the location that mac would have them. Or does anyone have a link to the sample data folder online that I can download.
Not a Mac user, but you can find the datasets in the Weka git repository:
https://git.cms.waikato.ac.nz/weka/weka/-/tree/main/trunk/wekadocs/data
Or you can download them (and more) from sourceforge.net:
https://sourceforge.net/projects/weka/files/datasets/
The UCI datasets, which make up a large portion of the Weka example datasets, are available from this location:
https://sourceforge.net/projects/weka/files/datasets/UCI%20and%20StatLib/
For macOS, you can find the dataset files by right-click Weka in "Applications", click "Show Package Contents" then within the directory Contents/app/data.
Example, on my mac the location is:
./System/Volumes/Data/Applications/weka-3.8.6.app/Contents/app/data/

Need help In using and executing Face Recognition by OpenCV

I am currently trying to work on Face Recognition by OpenCV, in Visual Studio.
I am using the code by OpenCV tutorial.
I executed the code, and it compiled without any errors.
I am unable to see any output. Do I have to create a CSV file to execute this code? If so, how do I go about it? .
Please help me in this regard.
The OpenCV tutorial page gives all steps for face recognition in details, which contains 3 main steps:
Preparing the data.
Creating the CSV File.
Use the code shown in the page to train and test.
You're probably missing the 1st and 2nd steps.

LIBLINEAR with Weka

I'm using Weka 3.6.11 and I want to use its LibLinear wrapper.
I get the message that "Liblinear classes not in CLASSPATH"
I am on Windows. I create the CLASSPATH to the system variables, and wrote the path to the liblinear.jar file which happens to be
C:\Program Files (x86)\Weka-3-6\LibLINEAR.jar
So now, I'm not sure what the problem is. Any ideas?
I haven't exactly resolved my issue but when I used Weka 3.7 instead of 3.6 and used the Weka Package manager to install LibLinear and LIBSVM, they worked just fine.

Liblinear not in CLASSPARH, on linux with weka

I download liblinear.1.92 from http://liblinear.bwaldvogel.de/ , put the .jar file under
$HOME/lib/liblinear-1.92/liblinear-1.92.jar
and start weka as
java -classpath $CLASSPATH:weka.jar:$HOME/lib/libsvm-3.16/java/libsvm.jar:$HOME/lib/liblinear-1.92/liblinear-1.92.jar weka.gui.GUIChooser
every thing was fine until I wanted to use liblinear classifier, weka shows "liblinear not in CLASSPATH". What could be the problem? Thanks.
That's because the liblinear.jar you downloaded is not the original one. The creator of that jar uses his own package structure, his classes are placed in
de.bwaldvoge.liblinear
but the standard weka classifier looks for Linear in
liblinear
On the bottom of bwaldvogels website that you linked, he gives a link to a Weka wrapper that points to his package.
The Weka package manager is available from version 3.7.2 or later, so you have to download the developer version, since the latest stable is 3.6.9.
Then, simply start the Weka package manager and install LibLINEAR. It worked for me this way. Note, that this will create a "wekafiles" directory in $HOME.

Eclipse plugin for c/c++ call graph generator not working properly

I have installed eclipse plugin for call graph generator using the following link.
http://certiv.net/updates/
That plugin has been successfuly installed as I can checked that from installed plugins in eclipse.
Now problem is still I am unable to view option op generating call graph under project explorer->right click on the project whose call graph u want to create-> profile as-> call graph
as shown in the following link.
This link is for linux but i have installed this plugin on windows platform.
http://wiki.eclipse.org/Linux_Tools_Project/Callgraph/User_Guide
Can anybody help me how do i need to configure eclipse for generation of call graphs. I am using eclipse galileo.
According to the user guide Callgraph is using SystemTap, which is absolutely linux specific and thus it will never work on windows (at least as long as only SystemTap is the only supported way to retrieve information).