treelite
Namespaces | Enumerations | Functions
task_type.h File Reference

Define enum type TaskType. More...

#include <cstdint>
#include <string>
Include dependency graph for task_type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 treelite
 

Enumerations

enum class  treelite::TaskType : std::uint8_t {
  treelite::kBinaryClf = 0 , treelite::kRegressor = 1 , treelite::kMultiClf = 2 , treelite::kLearningToRank = 3 ,
  treelite::kIsolationForest = 4
}
 Enum type representing the task type. More...
 

Functions

std::string treelite::TaskTypeToString (TaskType type)
 Get string representation of TaskType. More...
 
TaskType treelite::TaskTypeFromString (std::string const &str)
 Get TaskType from string. More...
 

Detailed Description

Define enum type TaskType.

Copyright (c) 2023 by Contributors

Author
Hyunsu Cho