Skip to content

Commit

Permalink
Remove append original (#30)
Browse files Browse the repository at this point in the history
* remove all traces of append_original

* remove all traces of append_original from UI

* add identity transformer

* update docs for removing append_original

* add error notifications when failing to refresh UI elements.
  • Loading branch information
reiinakano authored Jun 7, 2017
1 parent 44577e7 commit eb4b403
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/walkthrough.rst
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ This should keep the Logistic Regression at its default values. If you'll notice

.. admonition:: Appending original features to the meta-features

As of 0.4.0, Xcessiv no longer provides the checkbox option to append the original features to the meta-features. However, this functionality can be achieved by using the preset "Identity Transformer" and including this as a base learner in the ensemble. This approach reinforces the fact that a base learner is simply something that generates meta-features from features, and one that lets all features pass through unchanged fits this description.
As of 0.3.8, Xcessiv no longer provides the checkbox option to append the original features to the meta-features. However, this functionality can be achieved by using the preset "Identity Transformer" and including this as a base learner in the ensemble. This approach reinforces the fact that a base learner is simply something that generates meta-features from features, and one that lets all features pass through unchanged fits this description.


After a short time, your ensemble should finish processing, and you'll be able to see its performance. Here we get an accuracy of 0.968, which is higher than any individual base learner.
Expand Down
15 changes: 15 additions & 0 deletions xcessiv/ui/src/containers/ContainerBaseLearner.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,22 @@ class ContainerBaseLearner extends Component {
// Refresh base learner origins from server data
refreshBaseLearnerOrigins(path) {
fetch('/ensemble/base-learner-origins/?path=' + path)
.then(handleErrors)
.then(response => response.json())
.then(json => {
console.log(json);
this.setState({
baseLearnerOrigins: json
});
})
.catch(error => {
console.log(error.message);
console.log(error.errMessage);
this.props.addNotification({
title: error.message,
message: error.errMessage,
level: 'error'
});
});
}

Expand Down Expand Up @@ -525,6 +535,11 @@ class ContainerBaseLearner extends Component {
console.log(error.message);
console.log(error.errMessage);
this.refreshingSE = false;
this.props.addNotification({
title: error.message,
message: error.errMessage,
level: 'error'
});
});
}

Expand Down

0 comments on commit eb4b403

Please sign in to comment.