Changeset 104
- Timestamp:
- 12/07/15 14:43:01 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
prextra/lessc.m
r5 r104 93 93 % find out how many features are relevant: 94 94 if (include_bias) 95 I = find(abs(w(1:(end-1)))> 0);95 I = find(abs(w(1:(end-1)))>1e-8); 96 96 nr = length(I); 97 97 else 98 I = find(abs(w)> 0);98 I = find(abs(w)>1e-8); 99 99 nr = length(I); 100 100 end
Note: See TracChangeset
for help on using the changeset viewer.