This commit is contained in:
tqchen
2014-03-03 22:20:45 -08:00
committed by tqchen
parent 9da9861377
commit cba130c40c
2 changed files with 17 additions and 17 deletions

View File

@@ -150,12 +150,6 @@ namespace xgboost{
};
};
// A good design should have minimum functions defined interface, user should only operate on interface
// I break it a bit, by using template and let user 'see' the implementation
// The user should pretend that they only can use the interface, and we are all cool
// I find this is the only way so far I can think of to make boosters invariant of data structure,
// while keep everything fast
// this file includes the template implementations of all boosters
// the cost of using template is that the user can 'see' all the implementations, which is OK
// ignore implementations and focus on the interface:)