Uses of Class
org.nlpub.watset.graph.NodeEmbedding
-
Packages that use NodeEmbedding Package Description org.nlpub.watset.graph Graph processing and clustering.org.nlpub.watset.util Utility classes and helpers. -
-
Uses of NodeEmbedding in org.nlpub.watset.graph
Fields in org.nlpub.watset.graph with type parameters of type NodeEmbedding Modifier and Type Field Description protected org.apache.commons.math3.ml.clustering.Clusterer<NodeEmbedding<V>>SpectralClustering.Implementation. clustererThe underlying clustering algorithm.protected List<NodeEmbedding<V>>SpectralClustering.Implementation. embeddingsThe node embeddings.Method parameters in org.nlpub.watset.graph with type arguments of type NodeEmbedding Modifier and Type Method Description SpectralClustering.Builder<V,E>SpectralClustering.Builder. setClusterer(org.apache.commons.math3.ml.clustering.Clusterer<NodeEmbedding<V>> clusterer)Set the underlying clustering algorithm.Constructor parameters in org.nlpub.watset.graph with type arguments of type NodeEmbedding Constructor Description Implementation(org.jgrapht.Graph<V,E> graph, org.apache.commons.math3.ml.clustering.Clusterer<NodeEmbedding<V>> clusterer, int k)Create an instance of the Spectral Clustering algorithm implementation.SpectralClustering(org.jgrapht.Graph<V,E> graph, org.apache.commons.math3.ml.clustering.Clusterer<NodeEmbedding<V>> clusterer, int k)Create an instance of the Spectral Clustering algorithm. -
Uses of NodeEmbedding in org.nlpub.watset.util
Methods in org.nlpub.watset.util that return types with arguments of type NodeEmbedding Modifier and Type Method Description static <V> List<NodeEmbedding<V>>Matrices. computeSpectralEmbedding(org.apache.commons.math3.linear.RealMatrix laplacian, org.jgrapht.util.VertexToIntegerMapping<V> mapping, int k)Compute spectral embedding of the graph nodes using the pre-computed Laplacian.static <V> List<NodeEmbedding<V>>Matrices. computeSpectralEmbedding(org.jgrapht.Graph<V,?> graph, org.jgrapht.util.VertexToIntegerMapping<V> mapping, int k)Compute spectral embedding of the graph nodes.Method parameters in org.nlpub.watset.util with type arguments of type NodeEmbedding Modifier and Type Method Description static <V> voidWord2VecFormat. write(BufferedWriter writer, List<NodeEmbedding<V>> embeddings, Word2VecFormat.SpaceStrategy spaceStrategy)Write the file in the Word2Vec format representing the node embeddings.
-