Hallo Leute,
im Rahmen einer Studienarbeit muss ich folgendes Programm testen - als absolute Anfängerin bin ich hoffnungslos damit überfordert.
Programm: https://github.com/ahmad-bakr/IDBSCAN/blob/master/src/clustering/partitioning/Clarans.Java
Ich habe den Code in eine Textdatei kopiert und mit .java abgespeichert.
Dann habe ich das cmd-Fenster geöffnet und eingegeben:
cd C:\JavaUnterlagen\Java
javac Daten.java
java Daten
javac -classpath jfreechart-1.0.19.jar;jcommon-1.0.23.jar Clarans.java
Ich erhalte folgende Fehlermeldungen:
Clarans.java:7: error: package plot does not exist
import plot.PlotClarans;
^
Clarans.java:8: error: package datasets does not exist
import datasets.ChameleonModified;
^
Clarans.java:9: error: package datasets does not exist
import datasets.DatasetPoint;
^
Clarans.java:21: error: cannot find symbol
public Node perform(ArrayList<DatasetPoint> dataset, int numLocals, int
maxNeighbors, int numPartitions){
^
symbol: class DatasetPoint
location: class Clarans
Clarans.java:21: error: cannot find symbol
public Node perform(ArrayList<DatasetPoint> dataset, int numLocals, int
maxNeighbors, int numPartitions){
^
symbol: class Node
location: class Clarans
Clarans.java:24: error: cannot find symbol
Node bestNode =null;
^
symbol: class Node
location: class Clarans
Clarans.java:25: error: cannot find symbol
NodeFactory graph = new NodeFactory(dataset, numPartitions);
^
symbol: class NodeFactory
location: class Clarans
Clarans.java:25: error: cannot find symbol
NodeFactory graph = new NodeFactory(dataset, numPartitions);
^
symbol: class NodeFactory
location: class Clarans
Clarans.java:28: error: cannot find symbol
Node current = null;
^
symbol: class Node
location: class Clarans
Clarans.java:29: error: cannot find symbol
Node randomNeighbor = null;
^
symbol: class Node
location: class Clarans
Clarans.java:58: error: cannot find symbol
ChameleonModified datasetLoader = new ChameleonModified();
^
symbol: class ChameleonModified
location: class Clarans
Clarans.java:58: error: cannot find symbol
ChameleonModified datasetLoader = new ChameleonModified();
^
symbol: class ChameleonModified
location: class Clarans
Clarans.java:59: error: cannot find symbol
ArrayList<DatasetPoint> dataset = datasetLoader.loadArrayList("/
media/disk/master/Courses/Machine_Learning/datasets/chameleon_modified.txt");
^
symbol: class DatasetPoint
location: class Clarans
Clarans.java:61: error: cannot find symbol
Node bestRanSolution = clarans.perform(dataset, numLocals, maxN
eighbors, numPartitions);
^
symbol: class Node
location: class Clarans
Clarans.java:62: error: cannot find symbol
PlotClarans plotter = new PlotClarans("Partitions");
^
symbol: class PlotClarans
location: class Clarans
Clarans.java:62: error: cannot find symbol
PlotClarans plotter = new PlotClarans("Partitions");
^
symbol: class PlotClarans
location: class Clarans
16 Errors
Ich habe auch schon eine Runde gegoogelt und bin aber nicht wirklich schlauer geworden.
Was muss ich machen, damit das ganze läuft? Und ich muss ja auch irgendwie meine Daten und Eingabeparameter der Klasse mitteilen. Wie mache ich das denn?
Vielen Dank schonmal im Voraus für eure Hilfe!!!
im Rahmen einer Studienarbeit muss ich folgendes Programm testen - als absolute Anfängerin bin ich hoffnungslos damit überfordert.
Programm: https://github.com/ahmad-bakr/IDBSCAN/blob/master/src/clustering/partitioning/Clarans.Java
Ich habe den Code in eine Textdatei kopiert und mit .java abgespeichert.
Dann habe ich das cmd-Fenster geöffnet und eingegeben:
cd C:\JavaUnterlagen\Java
javac Daten.java
java Daten
javac -classpath jfreechart-1.0.19.jar;jcommon-1.0.23.jar Clarans.java
Ich erhalte folgende Fehlermeldungen:
Clarans.java:7: error: package plot does not exist
import plot.PlotClarans;
^
Clarans.java:8: error: package datasets does not exist
import datasets.ChameleonModified;
^
Clarans.java:9: error: package datasets does not exist
import datasets.DatasetPoint;
^
Clarans.java:21: error: cannot find symbol
public Node perform(ArrayList<DatasetPoint> dataset, int numLocals, int
maxNeighbors, int numPartitions){
^
symbol: class DatasetPoint
location: class Clarans
Clarans.java:21: error: cannot find symbol
public Node perform(ArrayList<DatasetPoint> dataset, int numLocals, int
maxNeighbors, int numPartitions){
^
symbol: class Node
location: class Clarans
Clarans.java:24: error: cannot find symbol
Node bestNode =null;
^
symbol: class Node
location: class Clarans
Clarans.java:25: error: cannot find symbol
NodeFactory graph = new NodeFactory(dataset, numPartitions);
^
symbol: class NodeFactory
location: class Clarans
Clarans.java:25: error: cannot find symbol
NodeFactory graph = new NodeFactory(dataset, numPartitions);
^
symbol: class NodeFactory
location: class Clarans
Clarans.java:28: error: cannot find symbol
Node current = null;
^
symbol: class Node
location: class Clarans
Clarans.java:29: error: cannot find symbol
Node randomNeighbor = null;
^
symbol: class Node
location: class Clarans
Clarans.java:58: error: cannot find symbol
ChameleonModified datasetLoader = new ChameleonModified();
^
symbol: class ChameleonModified
location: class Clarans
Clarans.java:58: error: cannot find symbol
ChameleonModified datasetLoader = new ChameleonModified();
^
symbol: class ChameleonModified
location: class Clarans
Clarans.java:59: error: cannot find symbol
ArrayList<DatasetPoint> dataset = datasetLoader.loadArrayList("/
media/disk/master/Courses/Machine_Learning/datasets/chameleon_modified.txt");
^
symbol: class DatasetPoint
location: class Clarans
Clarans.java:61: error: cannot find symbol
Node bestRanSolution = clarans.perform(dataset, numLocals, maxN
eighbors, numPartitions);
^
symbol: class Node
location: class Clarans
Clarans.java:62: error: cannot find symbol
PlotClarans plotter = new PlotClarans("Partitions");
^
symbol: class PlotClarans
location: class Clarans
Clarans.java:62: error: cannot find symbol
PlotClarans plotter = new PlotClarans("Partitions");
^
symbol: class PlotClarans
location: class Clarans
16 Errors
Ich habe auch schon eine Runde gegoogelt und bin aber nicht wirklich schlauer geworden.
Was muss ich machen, damit das ganze läuft? Und ich muss ja auch irgendwie meine Daten und Eingabeparameter der Klasse mitteilen. Wie mache ich das denn?
Vielen Dank schonmal im Voraus für eure Hilfe!!!