Skip to content

Commit

Permalink
Remove fit_completed_ field in Primitive
Browse files Browse the repository at this point in the history
  • Loading branch information
BUYT-1 committed Apr 17, 2023
1 parent 5c64a57 commit edf3df4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions src/algorithms/primitive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

namespace algos {

bool Primitive::FitCompleted() const {
return fit_completed_;
}

Primitive::Primitive(std::vector<std::string_view> phase_names)
: progress_(std::move(phase_names)) {}

Expand Down
3 changes: 0 additions & 3 deletions src/algorithms/primitive.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ class Primitive {
private:
util::Progress progress_;

bool fit_completed_ = false;

// Clear the necessary fields for Execute to run repeatedly with different
// configuration parameters on the same dataset.
virtual void ResetState() = 0;
Expand Down Expand Up @@ -74,7 +72,6 @@ class Primitive {
explicit Primitive(std::vector<std::string_view> phase_names);

void Fit(model::IDatasetStream & data_stream);
bool FitCompleted() const;

unsigned long long Execute();

Expand Down

0 comments on commit edf3df4

Please sign in to comment.