-
-
Notifications
You must be signed in to change notification settings - Fork 125
Add feature description #1142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add feature description #1142
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
336f5ab
add new feature
janvanrijn a58a756
updated error codes
janvanrijn 960ae58
updates api data feature description
janvanrijn 5c86282
pull develop back in branch (#1168)
janvanrijn babdad1
pull develop into branch (#1169)
janvanrijn 68c2686
pull feature description into develop (#1170)
janvanrijn 5b87b3a
pull develop into feature description (#1171)
janvanrijn 3de1c6b
align htaccess with develop
janvanrijn b867da4
Develop with changes (#1174)
janvanrijn 1749e78
fixes problem
janvanrijn fcbd136
fixes problem
janvanrijn eeb8918
bugfix in old frontend
f3ce20d
feature description update (#1205)
janvanrijn 5a73332
Merge branch 'develop' into add_feature_description
janvanrijn 48f372d
ontologies to feature view
janvanrijn b6ba5c3
typo fix
janvanrijn 99dae2d
added if/else construct for ontologies
janvanrijn 3933536
typo fix
janvanrijn d7eaae6
typo fix
janvanrijn aff7ab1
adds datafeature description
janvanrijn aebe164
typo fix
janvanrijn a0e9d0a
typo fix
janvanrijn 54276cc
typo fix
janvanrijn ec95066
typo fix
janvanrijn 99e6bea
typo fix
janvanrijn abf35ae
query fixes
janvanrijn dfbcdd2
error_handling
janvanrijn 914e8d1
xml fixes
janvanrijn c5f8803
typo fix
janvanrijn d5bbc75
typo fix
janvanrijn 4628fc4
fix api call
janvanrijn 2962a4c
api change
janvanrijn 307067c
fix
janvanrijn 60c8e0a
fix
janvanrijn fb8486b
revert weird change
janvanrijn 7e960de
adds data feature to SQL (needed for ontologies)
janvanrijn 8ddfc9f
update reinstall script
janvanrijn c3742aa
update cron
janvanrijn 9c7a883
adds data processed
janvanrijn 77861ee
updated
janvanrijn b6d3016
adds feature index to query
janvanrijn 72331ce
small update
janvanrijn 9c7945f
updates data feature value sql
janvanrijn 42ce8d7
data feature
janvanrijn 5305376
address comments
janvanrijn 8eaba2b
update checks
janvanrijn a20303b
update
janvanrijn 87d3fbf
error code
janvanrijn 65a93de
fix mistake
janvanrijn 8a65ebd
fix of database table for large files (#1207)
janvanrijn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,9 @@ | ||
| INSERT INTO `data_feature` (`did`, `index`, `evaluation_engine_id`, `name`, `data_type`, `is_target`, `is_row_identifier`, `is_ignore`, `NumberOfDistinctValues`, `NumberOfUniqueValues`, `NumberOfMissingValues`, `NumberOfIntegerValues`, `NumberOfRealValues`, `NumberOfNominalValues`, `NumberOfValues`, `MaximumValue`, `MinimumValue`, `MeanValue`, `StandardDeviation`, `ClassDistribution`) VALUES | ||
| (11, 0, 1, 'buying', 'nominal', 'false', 'false', 'false', 4, 0, 0, 1728, 0, '4', 1728, NULL, NULL, NULL, NULL, '[[\"vhigh\",\"high\",\"med\",\"low\"],[[360, 72, 0, 0],[324, 108, 0, 0],[268, 115, 23, 26],[258, 89, 46, 39]]]'), | ||
| (11, 1, 1, 'maint', 'nominal', 'false', 'false', 'false', 4, 0, 0, 1728, 0, '4', 1728, NULL, NULL, NULL, NULL, '[[\"vhigh\",\"high\",\"med\",\"low\"],[[360, 72, 0, 0],[314, 105, 0, 13],[268, 115, 23, 26],[268, 92, 46, 26]]]'), | ||
| (11, 2, 1, 'doors', 'nominal', 'false', 'false', 'false', 4, 0, 0, 1728, 0, '4', 1728, NULL, NULL, NULL, NULL, '[[\"2\",\"3\",\"4\",\"5more\"],[[326, 81, 15, 10],[300, 99, 18, 15],[292, 102, 18, 20],[292, 102, 18, 20]]]'), | ||
| (11, 3, 1, 'persons', 'nominal', 'false', 'false', 'false', 3, 0, 0, 1728, 0, '3', 1728, NULL, NULL, NULL, NULL, '[[\"2\",\"4\",\"more\"],[[576, 0, 0, 0],[312, 198, 36, 30],[322, 186, 33, 35]]]'), | ||
| (11, 4, 1, 'lug_boot', 'nominal', 'false', 'false', 'false', 3, 0, 0, 1728, 0, '3', 1728, NULL, NULL, NULL, NULL, '[[\"small\",\"med\",\"big\"],[[450, 105, 21, 0],[392, 135, 24, 25],[368, 144, 24, 40]]]'), | ||
| (11, 5, 1, 'safety', 'nominal', 'false', 'false', 'false', 3, 0, 0, 1728, 0, '3', 1728, NULL, NULL, NULL, NULL, '[[\"low\",\"med\",\"high\"],[[576, 0, 0, 0],[357, 180, 39, 0],[277, 204, 30, 65]]]'), | ||
| (11, 6, 1, 'class', 'nominal', 'true', 'false', 'false', 4, 0, 0, 1728, 0, '4', 1728, NULL, NULL, NULL, NULL, '[[\"unacc\",\"acc\",\"good\",\"vgood\"],[[1210, 0, 0, 0],[0, 384, 0, 0],[0, 0, 69, 0],[0, 0, 0, 65]]]') | ||
|
|
This file contains hidden or 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,5 @@ | ||
| INSERT INTO `data_feature_description` (`did`, `index`, `uploader`, `date`, `description_type`, `value`) VALUES | ||
| (11, 2, 1, '2024-01-09 13:15:36', 'ontology', 'https://en.wikipedia.org/wiki/Car_door'), | ||
| (11, 2, 1, '2024-01-09 13:15:36', 'ontology', 'https://en.wikipedia.org/wiki/Door'), | ||
| (11, 1, 1, '2024-01-09 13:23:18', 'ontology', 'https://en.wikipedia.org/wiki/Service_(motor_vehicle)'), | ||
| (11, 3, 1, '2024-01-09 13:24:18', 'ontology', 'https://en.wikipedia.org/wiki/Passenger_vehicles_in_the_United_States'); |
This file contains hidden or 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,26 @@ | ||
| INSERT INTO `data_feature_value` (`did`, `index`, `value`) VALUES | ||
| (11, 0, 'high'), | ||
| (11, 0, 'low'), | ||
| (11, 0, 'med'), | ||
| (11, 0, 'vhigh'), | ||
| (11, 1, 'high'), | ||
| (11, 1, 'low'), | ||
| (11, 1, 'med'), | ||
| (11, 1, 'vhigh'), | ||
| (11, 2, '2'), | ||
| (11, 2, '3'), | ||
| (11, 2, '4'), | ||
| (11, 2, '5more'), | ||
| (11, 3, '2'), | ||
| (11, 3, '4'), | ||
| (11, 3, 'more'), | ||
| (11, 4, 'big'), | ||
| (11, 4, 'med'), | ||
| (11, 4, 'small'), | ||
| (11, 5, 'high'), | ||
| (11, 5, 'low'), | ||
| (11, 5, 'med'), | ||
| (11, 6, 'acc'), | ||
| (11, 6, 'good'), | ||
| (11, 6, 'unacc'), | ||
| (11, 6, 'vgood'); |
This file contains hidden or 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,2 @@ | ||
| INSERT INTO `data_processed` (`did`, `evaluation_engine_id`, `user_id`, `processing_date`, `error`, `warning`, `num_tries`) VALUES | ||
| (11, 1, 1, '2024-01-09 18:02:58', NULL, NULL, 1); |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,10 @@ | ||
| <?php | ||
| class Data_feature_description extends MY_Database_Write_Model { | ||
|
|
||
| function __construct() { | ||
| parent::__construct(); | ||
| $this->table = 'data_feature_description'; | ||
| $this->id_column = array('did', 'index', 'value'); | ||
| } | ||
| } | ||
| ?> |
This file contains hidden or 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
6 changes: 6 additions & 0 deletions
6
openml_OS/views/pages/api_new/v1/xml/data-feature-description.tpl.php
This file contains hidden or 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,6 @@ | ||
| <oml:<?php echo $xml_tag_name; ?> xmlns:oml="http://openml.org/openml"> | ||
| <oml:id><?php echo $id; ?></oml:id> | ||
| <?php if ($descriptions != false): ?><?php foreach($descriptions as $description): ?> | ||
| <oml:<?php echo $description_type; ?>></oml:><?php echo $description; ?></oml:<?php echo $description_type; ?>> | ||
| <?php endforeach; endif; ?> | ||
| </oml:<?php echo $xml_tag_name; ?>> |
This file contains hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.