-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a2dedf
commit 84605cb
Showing
8 changed files
with
77 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#ifndef FEATURE_GENERATION_PRUNING_HPP | ||
#define FEATURE_GENERATION_PRUNING_HPP | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
namespace feature_generation { | ||
class PruningOptions { | ||
public: | ||
static const std::string NONE; | ||
static const std::string COLLAPSE_ALL; | ||
static const std::string COLLAPSE_LAYER; | ||
|
||
static const std::vector<std::string> get_all(); | ||
}; | ||
} // namespace feature_generation | ||
|
||
#endif // FEATURE_GENERATION_PRUNING_HPP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#include "../../include/feature_generation/pruning.hpp" | ||
|
||
namespace feature_generation { | ||
const std::string PruningOptions::NONE = "none"; | ||
const std::string PruningOptions::COLLAPSE_ALL = "collapse-all"; | ||
const std::string PruningOptions::COLLAPSE_LAYER = "collapse-layer"; | ||
const std::vector<std::string> PruningOptions::get_all() { | ||
return { | ||
NONE, | ||
COLLAPSE_ALL, | ||
COLLAPSE_LAYER, | ||
}; | ||
} | ||
} // namespace feature_generation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters