This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Callidus.ts
98 lines (81 loc) · 2.32 KB
/
Callidus.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
//////////////
// Classify ///////////////////////////////////////////////////////////////////////////////////////
//////////////
// distance algorithms
import KNearestNeighbors from "./classify/distance-algorithms/KNN";
import NearestCentroid from "./classify/distance-algorithms/NearestCentroid";
// weights
import Perceptron from "./classify/weights/Perceptron";
// naive bayes
import Bernoulli from "./classify/naive-bayes/BernoulliNaiveBayes";
import Multinomial from "./classify/naive-bayes/MultinomialNaiveBayes";
// rules
import ZeroR from "./classify/rules/ZeroR";
import OneR from "./classify/rules/OneR";
// trees and boosting
/* don't import these yet they aren't done */
/////////////
// Regress ////////////////////////////////////////////////////////////////////////////////////////
/////////////
import Linear from "./regress/LinearRegression";
import ExponentialE from "./regress/EExponentialRegression";
import ExponentialAB from "./regress/ABExponentialRegression";
import Logarithmic from "./regress/LogarithmicRegression";
import Power from "./regress/PowerRegression";
import Inverse from "./regress/InverseRegression";
import Quadratic from "./regress/QuadraticRegression";
import Polynomial from "./regress/PolynomialRegression";
/////////////
// Cluster ////////////////////////////////////////////////////////////////////////////////////////
/////////////
import KMeans from "./cluster/KMeansClustering";
import KMedians from "./cluster/KMediansClustering";
///////////
// Tools //////////////////////////////////////////////////////////////////////////////////////////
///////////
import Porter from "./tools/PorterStemmer";
import Porter2 from "./tools/Porter2Stemmer";
/////////////
// exports ////////////////////////////////////////////////////////////////////////////////////////
/////////////
var Classify = {
Distance: {
KNearestNeighbors,
NearestCentroid
},
Weights: {
Perceptron
},
NaiveBayes: {
Bernoulli,
Multinomial,
},
Rules: {
ZeroR,
OneR
}
};
var Regress = {
Linear,
ExponentialE,
ExponentialAB,
Logarithmic,
Power,
Inverse,
Quadratic,
Polynomial
};
var Cluster = {
KMeans,
KMedians
};
var Tools = {
Porter,
Porter2
};
export {
Classify,
Regress,
Cluster,
Tools
};