News for hackers. Stuff that matters.

phijFTW

Re:Pareto Front Sort for Python on Monday June 29, 2020 @05:16AM (#23675820)
Generally, I would also recommend using pymoo [1] if you have multi-objective optimization problems. They also have an implementation of Non-dominated Sorting [2], which should serve the same purpose.

[1]: https://pymoo.org/

[2]: https://github.com/msu-coinlab/pymoo/blob/master/pymoo/util/...

Re:Pareto Front Sort for Python on Monday June 29, 2020 @05:13AM (#23675812)
What about pymoo's [1] Non-dominated Sorting? [2]

I used it recently since I had the same problem.

[1]: https://pymoo.org/

[2]: https://github.com/msu-coinlab/pymoo/blob/master/pymoo/util/...

Re:How to solve most NLP problems: a step-by-step guide on Wednesday January 24, 2018 @02:39PM (#16225640)
I think

  def sanitize_characters(raw, clean):    
      for line in input_file:
          out = line
          output_file.write(line)
  sanitize_characters(input_file, output_file)
should be

  def sanitize_characters(raw, clean):    
      for line in raw:
          out = line
          clean.write(line)
  sanitize_characters(input_file, output_file)
in your notebook: https://github.com/hundredblocks/concrete_NLP_tutorial/blob/...

Or am I mistaken?