martinwholtmon / IT3708-2023

Simple Genetic Algorithm (SGA) as feature selector, route optimization for home care service with SGA and semantic segmentation using Multiobjective Genetic Algorithm (MOGA)
0 stars 0 forks source link

change to binary array instead of numerical #23

Closed martinwholtmon closed 1 year ago

martinwholtmon commented 1 year ago

The LinReg get_columns want the bitstrings in the form of a binary vector of length m, so its simpler to just change the format to binary format. E.g.: [1 0 0 1]