func (Conf *Config) InitFeatureCost() {
    Conf.Feature_costs = make([]float32, Conf.Number_of_feature)
	for i := 0; i < Conf.Number_of_feature; i++ {
		Conf.Feature_costs[i] = 1.0
	}
}
/*func init() {
Conf = &Config{}
Conf.Number_of_feature = 38
Conf.Max_depth = 5
Conf.Tree_count = 50
Conf.Shrinkage = 0.1
Conf.Feature_sampling_ratio = 1
Conf.Data_sampling_ratio = 0.7
Conf.Min_leaf_size = 20000
Conf.Losstype = LOG_LIKEHOOD
Conf.Debug = true
}
package gbdt
import (
	"bufio"
	"fmt"
	"io"
	"log"
	"os"
	"strconv"
	"strings"
)
type Config struct {
	Number_of_feature      int
	Max_depth              int
	Tree_count             int
	Shrinkage              float32
	Feature_sampling_ratio float32
	Data_sampling_ratio    float32
	Min_leaf_size          int  
	Losstype               int  
	Feature_costs          []float32
	Enable_feature_tunning bool
	Debug                  bool
}
var Conf *Config
func init() {
	Conf = &Config{}
	Conf.Number_of_feature = 45
	Conf.Max_depth = 4
	Conf.Tree_count = 100
	Conf.Shrinkage = 0.1
	Conf.Feature_sampling_ratio = 0.7
	Conf.Data_sampling_ratio = 0.6
	Conf.Min_leaf_size = 20000
	Conf.Losstype = LOG_LIKEHOOD
	Conf.Enable_feature_tunning = false
	Conf.Debug = true
}