Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugs in mainTest.m #1

Open
gtatiya opened this issue Jun 19, 2019 · 0 comments
Open

Bugs in mainTest.m #1

gtatiya opened this issue Jun 19, 2019 · 0 comments

Comments

@gtatiya
Copy link

gtatiya commented Jun 19, 2019

I'm trying to run general_routine\mainTest.m but there are several bugs:

- options.graph has no value.

Error:

Reference to non-existent field 'graph'.

Error in KMA (line 76)
if isfield(options.graph,'nn') == 0

Error in mainTest (line 178)
[ALPHA,LAMBDA,options] = KMA(labeled,unlabeled,options);

To fix it, before [ALPHA,LAMBDA,options] = KMA(labeled,unlabeled,options); I wrote options.graph = 'nn';

- options.printing has no value.

Error:

Reference to non-existent field 'printing'.

Error in KMA (line 139)
 if options.printing == 1

Error in mainTest (line 179)
[ALPHA,LAMBDA,options] = KMA(labeled,unlabeled,options);

To fix it, before [ALPHA,LAMBDA,options] = KMA(labeled,unlabeled,options); I wrote options.printing = 1;

- options.lambda has no value.

Error:

options.lambda 
Reference to non-existent field 'lambda'.

Error in KMA (line 157)
A = ((1-options.mu)*L  + options.mu*(Ls))+options.lambda*eye(size(Ls)); % (n1+n2) x (n1+n2) %
%+lambda*eye(size(Ls))

Error in mainTest (line 180)
[ALPHA,LAMBDA,options] = KMA(labeled,unlabeled,options);

I'm not sure how to fix this error. Could you please help to fix these errors.

I want to project data from 3 domains into latent space and use this latent features for classification. Could you please guide how I can get projections from 3 domains.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant