[−][src]Function gbdt::config::string2loss
pub fn string2loss(s: &str) -> Loss
Converting std::string::String to Loss.
Example
use gbdt::config::{Loss, string2loss}; let loss = string2loss("SquaredError");
pub fn string2loss(s: &str) -> Loss
Converting std::string::String to Loss.
use gbdt::config::{Loss, string2loss}; let loss = string2loss("SquaredError");