-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(data): more datasets and build settings
- Loading branch information
Showing
29 changed files
with
246 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.DS_Store | ||
.idea | ||
.lock | ||
.tmp | ||
*.log | ||
node_modules | ||
build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
cmake -DFAST_BUILD=ON -DBUILD_SHARED_LIBS=OFF .. | ||
cmake --build . | ||
build-highs: | ||
mkdir -p .tmp && cd .tmp && \ | ||
git clone [email protected]:ERGO-Code/HiGHS.git && cd HiGHS && \ | ||
mkdir -p build && cd build && \ | ||
cmake -DFAST_BUILD=ON -DBUILD_SHARED_LIBS=ON ..; | ||
cd .tmp/HiGHS/build && cmake --build .; | ||
|
||
.PHONY: build-highs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
import potter from './potter'; | ||
import venn from './venn'; | ||
import simpsons from './simpsons'; | ||
import vitamins from './vitamins'; | ||
|
||
export const DATASETS = [ | ||
potter, | ||
venn, | ||
simpsons, | ||
vitamins, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { parseData, ParserType } from '@/data'; | ||
import { DataSetPreview } from '@/types'; | ||
|
||
const CSV_DATA = `Male,Duff Fan,Power Plant,Evil,School,Blue Hair | ||
Kent Brockman,Barney,Lenny Leonard,Krusty,Martin Prince,Milhouse | ||
Grampa,Mo,Carl Carlson,Nelson,Bart,Marge | ||
Ned,Krusty,Homer,Mr. Burns,Ralph,Jacqueline Bouvier | ||
Barney,Lenny Leonard,,Smithers,Nelson, | ||
Mo,Carl Carlson,,Sideshow Bob,Milhouse, | ||
Martin Prince,Homer,,Fat Tony,Lisa, | ||
Bart,,,,, | ||
Ralph,,,,, | ||
Krusty,,,,, | ||
Nelson,,,,, | ||
Milhouse,,,,, | ||
Lenny Leonard,,,,, | ||
Carl Carlson,,,,, | ||
Homer,,,,, | ||
Mr. Burns,,,,, | ||
Smithers,,,,, | ||
Sideshow Bob,,,,, | ||
Fat Tony,,,,,`; | ||
|
||
const parsedData = parseData(CSV_DATA, ParserType.CSV); | ||
|
||
const dataset: DataSetPreview = { | ||
name: 'Simpsons', | ||
description: `A dataset with ${parsedData.labels.size} labels and ${parsedData.dataWithLabels.size} data points`, | ||
image: 'datasets/dataset_simpsons.png', | ||
...parsedData, | ||
}; | ||
|
||
export default dataset; |
Oops, something went wrong.