|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectLagVektorer
public class LagVektorer
Constructor Summary | |
---|---|
LagVektorer(java.io.File[] files,
java.io.File[] repFiles,
Weights weightType)
Konstruerer et objekt av type LagVektorer med matriser for dokumenter og klyngerepresentanter. |
|
LagVektorer(java.io.File[] files,
Weights weightType)
Konstruerer et objekt av type LagVektorer med matrise for dokumenter. |
Method Summary | |
---|---|
double[][] |
getRepVectors()
Returnerer matrise som inneholder klyngerepresentantvektorene. |
double[][] |
getVectors()
Returnerer matrise som inneholder dokumentvektorene. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LagVektorer(java.io.File[] files, java.io.File[] repFiles, Weights weightType) throws java.io.IOException
files
- filene som skal bli til vektorer.repFiles
- filene som er valgt (av bruker eller tilfeldig)
til klyngerepresentanter.weightType
- vektingtype som skal benyttes.
java.io.IOException
public LagVektorer(java.io.File[] files, Weights weightType) throws java.io.IOException
files
- filene som skal bli til vektorer.
java.io.IOException
Method Detail |
---|
public double[][] getVectors()
public double[][] getRepVectors()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |