payload: {"action":"opened","issue":{"url":"https://api.github.com/repos/lijin118/lctc/issues/2","repository_url":"https://api.github.com/repos/lijin118/lctc","labels_url":"https://api.github.com/repos/lijin118/lctc/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/lijin118/lctc/issues/2/comments","events_url":"https://api.github.com/repos/lijin118/lctc/issues/2/events","html_url":"https://github.com/lijin118/lctc/issues/2","id":486098178,"node_id":"MDU6SXNzdWU0ODYwOTgxNzg=","number":2,"title":"Could you tell me how to use source domain data for training?","user":{"login":"HeYuwei","id":17868123,"node_id":"MDQ6VXNlcjE3ODY4MTIz","avatar_url":"https://avatars0.githubusercontent.com/u/17868123?v=4","gravatar_id":"","url":"https://api.github.com/users/HeYuwei","html_url":"https://github.com/HeYuwei","followers_url":"https://api.github.com/users/HeYuwei/followers","following_url":"https://api.github.com/users/HeYuwei/following{/other_user}","gists_url":"https://api.github.com/users/HeYuwei/gists{/gist_id}","starred_url":"https://api.github.com/users/HeYuwei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeYuwei/subscriptions","organizations_url":"https://api.github.com/users/HeYuwei/orgs","repos_url":"https://api.github.com/users/HeYuwei/repos","events_url":"https://api.github.com/users/HeYuwei/events{/privacy}","received_events_url":"https://api.github.com/users/HeYuwei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-08-28T00:23:41Z","updated_at":"2019-08-28T00:23:41Z","closed_at":null,"author_association":"NONE","body":"Hello，I directly use the demo to train the model:\r\n\r\n`model = train(full(Yref),sparse(St(:,1:size(Xref,1))'),sprintf('-s 0 -c %f -q 1',100));  `\r\n`[~,acc,~] = predict(full(Yt),sparse(St(:,size(Xref,1)+1:end)'),model);`\r\n`fprintf('accuracy=%0.4f \\n\\n',acc);`\r\nThe accuracy is: \r\n`start training, random runs 2`\r\n`Accuracy = 20.7547% (55/265)`\r\nI change liblinear to libsvm and the accuracy is:\r\n`start training, random runs 3`\r\n`svm accuracy=34.3396 `\r\n\r\nHowever, when I want to utilize source domain data `Ss` to improve the performance:\r\n`model = train(full(Yref),sparse(St(:,1:size(Xref,1))'),sprintf('-s 0 -c %f -q 1',100));  `\r\n` model = train([full(Ys);full(Yref)],sparse([Ss';St(:,1:size(Xref,1))']),sprintf('-s 0 -c %f -q 1',100));`\r\n`fprintf('accuracy=%0.4f \\n\\n',acc);`\r\nThe accuracy is:\r\n`Accuracy = 7.92453% (21/265)`\r\nfor libsvm, the accuracy is:\r\n`accuracy=15.0943 `\r\n\r\nAs the demo does not show how to use source domain data for training, I cannot obtain the experimental results in the paper. Could you tell me how to use the Data `Ss` for training? Thank you very much."}}
other: {"actor":{"display_login":"HeYuwei"}}