Skip to content

Question: Running a learning for additional points after some amount of points was computed #470

@serhiy-yevtushenko

Description

@serhiy-yevtushenko

Hi

My question is the following:

how one could run a learner again after sampling a certain amount of points.

I have tried following:

run LearnerND for sampling 2000 points.

Saved them to the dataframe

Started new run.

Created new instance of LeanerND with same initial parameters and function.

Loaded points generated from old session using

learner.load_dataframe(initial_df,
                           with_default_function_args=False,
                           point_names=("x", "y"),
                           value_name="value"

)

and tried running

    points = len(initial_df)+110
    runner=BlockingRunner(learner, npoints_goal=points)
    df = learner.to_dataframe(point_names=("x", "y"))

However, I get the exception:

raise ValueError("Point already in triangulation.")

from add_point (line 629, in add_point, called from line 605, in _try_adding_pending_point_to_simplex)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions