Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

MovieRecommender PGX Sample

User_CNNV4Aug 29 2021 — edited Aug 29 2021

Hi all,
I'm having difficulties running this sample.
https://github.com/oracle/pgx-samples/tree/master/movie-recommendation
I've followed at my best the guide but since the guide refer to PGX ver.19 and at the moment I'm trying to work with PGX ver.21 (latest), few problems arose.
First of all, the git specify that we should copy the pgx-x.y.z-server.zip's lib file into the libs folder, but looking at the build.gradle file I saw that the folder's structure is completely different.
So what I've done was to edit my build.gradle file just to look at the root folder and then observe all the jar files inside there. So I dug all the jar files inside the PGX Server ver.21 and then copied them inside such folder.
From now on, since the jar files were there, when I tried to run "gradle run" with the specified parameters, the program start as it should.
Few seconds later, when the java code try to compile the "MatrixFactorizationGradientDescent.java" file inside the algorithm folder, the program stops and inside the debugger I can see the error
"PGXVect type is disabled"
From now on I tried to do something but nothing was useful.

At this point what I want to do is just to try and understand how the MovieRecommendation sample works but for me there weren't any way to make it work.

Comments

Post Details

Added on Aug 29 2021
1 comment
235 views