Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 575 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 575 Bytes

0. Prerequisite

You should install numpy

$ pip install numpy

Also, you should install model you want to use

$ pip install sentence_transformers
$ pip insall openai

(Optional) If you want to test just this file, you should install networkx

$ pip install networkx

1. How to use

  1. If you want to use default settings of our fitness function, just import fitness.py and call fitness
import fitness

  val = fitness.fitness(graph)
  1. If you want to change some settings in our fitness function, edit functions.py.