Skip to content

Commit

Permalink
优化模块机制
Browse files Browse the repository at this point in the history
  • Loading branch information
laoqiren committed Jun 21, 2018
1 parent 2887326 commit 403c35b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/algorithm/index.ts
Expand Up @@ -4,7 +4,7 @@ import logistic from './logistic/index';
import AdaBoost from './AdaBoost/index';
import kMeans from './kMeans/index';

export default {
export {
kNN,
DT,
logistic,
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
@@ -1,5 +1,5 @@
import algorithm from './algorithm/index';
import utils from './utils/index';
import * as algorithm from './algorithm/index';
import * as utils from './utils/index';

export {
algorithm,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/index.ts
Expand Up @@ -4,7 +4,7 @@ import * as fileParser from './fileParser/index';
import * as charts from './charts/index';
import features from './features/index';

export default {
export {
Matrix,
Vector,
fileParser,
Expand Down

0 comments on commit 403c35b

Please sign in to comment.