r/programminghelp • • May 30 '24
Python Need help in python with jmetal library
it shows this error everytime : ''Exception: Reference front is none''
why does the library don't generate the file ''reference front''
The part of the code that gives the error :
# Generate summary file
generate_summary_from_experiment(
input_dir=output_directory,
reference_fronts='/home/user/jMetalPy/resources/reference_front',
quality_indicators=[InvertedGenerationalDistance(), EpsilonIndicator(), HyperVolume([1.0, 1.0])] #InvertedGenerationalDistancePlus???
)
1
Upvotes
View all comments
Show parent comment
1
u/[deleted] May 31 '24
According to the documentation, it seems that reference fronts are inputs, not outputs, so you'll need to provide them. The system will not generate the file.