I figured out the answers.
Instead of removing the question, why not post the answer you figured out, such that others can find the solution?
The answers were, to some degree, trivial. And my questions didn’t seem to create much interest. But I can answer the questions.
- Can SymbolicRegression have a single feature? Yes, of course. I haven’t used named tuples before, and did the trivial mistake of writing:
X = (x=x)
instead of
X = (x=x,)
where the latter works.
- How can I stop SymbolicRegression.jl to create files
hall_of_fame_xxx.csvandhall_of_fame_xxx.csv.bkupfiles? Answer:
model_sin = SRRegressor(
...
save_to_file=false,
)
Reason for wanting to not create these files… a new file is created every time I run the code, making a clutter of files. While this happened, I also started to have problems with syncing files to OneDrive. Perhaps a coincidence, but I wanted to avoid the chance of this. Perhaps I could specify which directory to save the files and make sure these are outside of of the directories synced by OneDrive.