transcript.algorithms.modelbased.svd
Class SVDBuilder
java.lang.Object
transcript.algorithms.modelbased.svd.SVDBuilder
public class SVDBuilder
- extends java.lang.Object
This class uses the colt library's SingularValueDecomposition class
to create and serialize an SVD object for the transcript data. The
program takes 4 arguments:
1) The number of courses.
2) The number of students.
3) The file containing the TranscriptMemReader.
4) Fhe file to write the SVD to.
The program requires that the number of movies and number of users
be explicitely input to allow for both 0 and 1 indexed datasets.
|
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
makeSVD(int numCourses,
int numStudents,
java.lang.String datFile,
java.lang.String destFile)
Builds and serializes the SVD. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SVDBuilder
public SVDBuilder()
makeSVD
public void makeSVD(int numCourses,
int numStudents,
java.lang.String datFile,
java.lang.String destFile)
- Builds and serializes the SVD.
- Parameters:
numCourses - The number of courses in the dataset.newStudents - The number of students in the dataset.datFile - The file containing the serialized TMH.destFile - The file to write the SVD to.
main
public static void main(java.lang.String[] args)