{"action":"created","issue":{"url":"https://api.github.com/repos/dmlc/xgboost/issues/520","labels_url":"https://api.github.com/repos/dmlc/xgboost/issues/520/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/xgboost/issues/520/comments","events_url":"https://api.github.com/repos/dmlc/xgboost/issues/520/events","html_url":"https://github.com/dmlc/xgboost/issues/520","id":108956654,"number":520,"title":"Instance / sample weights with boosted regression tree","user":{"login":"fjanoos","id":923438,"avatar_url":"https://avatars.githubusercontent.com/u/923438?v=3","gravatar_id":"","url":"https://api.github.com/users/fjanoos","html_url":"https://github.com/fjanoos","followers_url":"https://api.github.com/users/fjanoos/followers","following_url":"https://api.github.com/users/fjanoos/following{/other_user}","gists_url":"https://api.github.com/users/fjanoos/gists{/gist_id}","starred_url":"https://api.github.com/users/fjanoos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjanoos/subscriptions","organizations_url":"https://api.github.com/users/fjanoos/orgs","repos_url":"https://api.github.com/users/fjanoos/repos","events_url":"https://api.github.com/users/fjanoos/events{/privacy}","received_events_url":"https://api.github.com/users/fjanoos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-29T20:47:48Z","updated_at":"2015-09-29T21:14:17Z","closed_at":null,"body":"Hello,\r\n\r\nDoes the boosted regression tree implementation (objective='reg:linear') in xgboost support sample weights ? I've browsed through the code and tried some experiments, but it does not seem to be the case. \r\n\r\nPlease advise.\r\n\r\nThanks,\r\n-firdaus"},"comment":{"url":"https://api.github.com/repos/dmlc/xgboost/issues/comments/144193233","html_url":"https://github.com/dmlc/xgboost/issues/520#issuecomment-144193233","issue_url":"https://api.github.com/repos/dmlc/xgboost/issues/520","id":144193233,"user":{"login":"tqchen","id":2577440,"avatar_url":"https://avatars.githubusercontent.com/u/2577440?v=3","gravatar_id":"","url":"https://api.github.com/users/tqchen","html_url":"https://github.com/tqchen","followers_url":"https://api.github.com/users/tqchen/followers","following_url":"https://api.github.com/users/tqchen/following{/other_user}","gists_url":"https://api.github.com/users/tqchen/gists{/gist_id}","starred_url":"https://api.github.com/users/tqchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tqchen/subscriptions","organizations_url":"https://api.github.com/users/tqchen/orgs","repos_url":"https://api.github.com/users/tqchen/repos","events_url":"https://api.github.com/users/tqchen/events{/privacy}","received_events_url":"https://api.github.com/users/tqchen/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T21:14:17Z","updated_at":"2015-09-29T21:14:17Z","body":"Could simply because the weight do not contributed to the regression loss as much. The weight contributes to the loss function in all cases"}}