Namespace: sampleDataSets
This namespace contains all data sets bundled with tree-garden.
Variables
Variables
irisSet
Const irisSet: { sepal_length: number = 5.1; sepal_width: number = 3.5; petal_length: number = 1.4; petal_width: number = 0.2; _class: string = "Setosa" }[]
Famous data set for classification tasks ;)
Defined in
sampleDataSets/iris.ts:7
titanicSet
Const titanicSet: { pclass: number = 3.0; name: string = "Braund, Mr. Owen Harris"; sex: string = "male"; age: number = 22.0; sibsp: number = 1.0; parch: number = 0.0; ticket: string = "A/5 21171"; fare: number = 7.25; embarked: string = "S"; _class: string = "No"; _label: string = "1" }[]
Would you survive on titanic ? Try to build your model to find out!
Defined in
sampleDataSets/titanic.ts:6
housePrices
Const housePrices: { POSTED_BY: string = "Owner"; UNDER_CONSTRUCTION: string = "0"; RERA: string = "0"; BHK_NO.: string = "2"; BHK_OR_RK: string = "BHK"; SQUARE_FT: string = "1300.236407"; READY_TO_MOVE: string = "1"; RESALE: string = "1"; ADDRESS: string = "Ksfc Layout,Bangalore"; LONGITUDE: string = "12.96991"; LATITUDE: string = "77.59796"; _class: number = 55.0 }[]
House prices taken from Mumbai - for regression trees
Defined in
sampleDataSets/housePrices.ts:6
tennisSet
Const tennisSet: { _label: string = '1'; outlook: string = 'Sunny'; temp: string = 'Hot'; humidity: string = 'High'; wind: string = 'Weak'; _class: string = 'No' }[]
simple dataset - decide if you want to go to play tennis based on weather
Defined in
sampleDataSets/tennis.ts:10
simpleSetForRegression
Const simpleSetForRegression: { _class: number = 0.9; color: string = 'black'; width: number = 40; _label: string = '1' }[]
Data set for regression trees unit tests
Defined in
sampleDataSets/simpleForRegressionTree.ts:8
simpleSet
Const simpleSet: { _class: string = 'left'; color: string = 'black'; size: number = 3; _label: string = '1' }[]
Really simple data set used by unit tests in tree-garden.
Defined in
sampleDataSets/simpleSet.ts:7