Exception in thread "main" java.lang.Error: Unresolved compilation
problems:
DataModel cannot be resolved to a type
FileDataModel cannot be resolved to a type
UserSimilarity cannot be resolved to a type
PearsonCorrelationSimilarity cannot be resolved to a type
UserNeighborhood cannot be resolved to a type
NearestNUserNeighborhood cannot be resolved to a type
Recommender cannot be resolved to a type
GenericUserBasedRecommender cannot be resolved to a type
RecommendedItem cannot be resolved to a type
RecommendedItem cannot be resolved to a type
at mia.recommender.ch02.RecommenderIntro.main(RecommenderIntro.java:21)
================
Looks like your dev environment is not set up correctly.
Pop over to the Mahout mailing list and bring details about what Mahout
version you are using, what commands you are using and what kind of
environment you are using.
Check out
https://mahout.apache.org/general/mailing-lists,-irc-and-archives.html for
more info.
=================
More Info:
thanks for the pointer.
MahOut: 0.9
Apache Maven 3.2.1
Eclipse: Kepler Release 2
Java: Latest 7
I went through all the possible recommendations for this book
and also for MahOut
The codes that are written for MahOut 0.5
looks like is not consistent to the latest version of MahOut and Maven, ect.
I have even tried different versions or MahOut, no luck.
The error looks like related to the DataModel or/and Reading the CVS data
file.
Looks like the program is not compiling correctly.
I have set the environment like everyone else said, and I tried step by
step, and
looks like everything goes through and succeed.
So, no error till the last point. When I try to run the program, then I get
the error.
Thanks
========================
problems:
DataModel cannot be resolved to a type
FileDataModel cannot be resolved to a type
UserSimilarity cannot be resolved to a type
PearsonCorrelationSimilarity cannot be resolved to a type
UserNeighborhood cannot be resolved to a type
NearestNUserNeighborhood cannot be resolved to a type
Recommender cannot be resolved to a type
GenericUserBasedRecommender cannot be resolved to a type
RecommendedItem cannot be resolved to a type
RecommendedItem cannot be resolved to a type
at mia.recommender.ch02.RecommenderIntro.main(RecommenderIntro.java:21)
================
Looks like your dev environment is not set up correctly.
Pop over to the Mahout mailing list and bring details about what Mahout
version you are using, what commands you are using and what kind of
environment you are using.
Check out
https://mahout.apache.org/general/mailing-lists,-irc-and-archives.html for
more info.
=================
More Info:
thanks for the pointer.
MahOut: 0.9
Apache Maven 3.2.1
Eclipse: Kepler Release 2
Java: Latest 7
I went through all the possible recommendations for this book
and also for MahOut
The codes that are written for MahOut 0.5
looks like is not consistent to the latest version of MahOut and Maven, ect.
I have even tried different versions or MahOut, no luck.
The error looks like related to the DataModel or/and Reading the CVS data
file.
Looks like the program is not compiling correctly.
I have set the environment like everyone else said, and I tried step by
step, and
looks like everything goes through and succeed.
So, no error till the last point. When I try to run the program, then I get
the error.
Thanks
========================