@@ -357,7 +357,7 @@ class pyKNNGraph : public py::class_<graphvite::KNNGraph<Index>, graphvite::Grap
357357 vectors (2D array_like): vector list
358358 num_neighbor (int, optional): number of neighbors for each node
359359 perplexity (int, optional): perplexity for the neighborhood of each node
360- normalization (bool, optional): normalize the input vectors or not
360+ vector_normalization (bool, optional): normalize the input vectors or not
361361 delimiters (str, optional): string of delimiter characters
362362 comment (str, optional): prefix of comment strings
363363 )" );
@@ -563,10 +563,10 @@ class pyKnowledgeGraphSolver : public py::class_<graphvite::KnowledgeGraphSolver
563563 )" );
564564
565565 def (" train" , &KnowledgeGraphSolver::train, py::no_gil (),
566- py::arg (" model" ) = " RotatE" , py::arg (" num_epoch" ) = 2000 , py::arg (" resume" ) = false , py::arg (" margin" ) = 24 ,
566+ py::arg (" model" ) = " RotatE" , py::arg (" num_epoch" ) = 2000 , py::arg (" resume" ) = false , py::arg (" margin" ) = 12 ,
567567 py::arg (" l3_regularization" ) = 2e-3 , py::arg (" sample_batch_size" ) = 2000 , py::arg (" positive_reuse" ) = 1 ,
568568 py::arg (" adversarial_temperature" ) = 2 , py::arg (" log_frequency" ) = 100 ,
569- " train(model='RotatE', num_epoch=2000, resume=False, margin=24 , l3_regularization=2e-3, "
569+ " train(model='RotatE', num_epoch=2000, resume=False, margin=12 , l3_regularization=2e-3, "
570570 " sample_batch_size=2000, positive_reuse=1, adversarial_temperature=2, log_frequency=100)"
571571 R"(
572572 Train knowledge graph embeddings.
@@ -681,7 +681,7 @@ class pyVisualizationSolver : public py::class_<graphvite::VisualizationSolver<d
681681 resume (bool, optional): resume training from learned embeddings or not
682682 sample_batch_size (int, optional): batch size of samples in samplers
683683 positive_reuse (int, optional): times of reusing positive samples
684- negative_sample_epoxnent (float, optional): exponent of degrees in negative sampling
684+ negative_sample_exponent (float, optional): exponent of degrees in negative sampling
685685 negative_weight (float, optional): weight for each negative sample
686686 log_frequency (int, optional): log every log_frequency batches
687687 )" );
0 commit comments