# Global Optimization Algorithm

**URL:** <https://forum.knime.com/t/global-optimization-algorithm/14621>\
**Category:** KNIME Analytics Platform\
**Created:** [March 28, 2019, 8:29pm UTC](https://forum.knime.com/t/global-optimization-algorithm/14621 "2019-03-28T20:29:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [March 28, 2019, 8:44pm UTC](https://forum.knime.com/t/global-optimization-algorithm/14621/2 "2019-03-28T20:44:00Z")

</div>

In this thread I posted an example of a numeric prediction also using KNIME’s new XGBoost nodes. Maybe you could see if you could adapt that to your needs:

> [@Urgent - What is wrong with my decision tree predictor for new data](https://forum.knime.com/t/urgent-what-is-wrong-with-my-decision-tree-predictor-for-new-data/13292/9):
>
> If the data preparation is any good (please check that since you seemed to ave put a lot of effort into it) using the latest star in the modelling universe [XGBoost](https://nodepit.com/category/labs/xgboost) you can -well- boost your Accuracy to 97.941% - and yes at a certain point overfitting might set in. [m\_010\_xgboost\_tree.knwf](https://forum-cdn.knime.com/uploads/default/original/2X/9/9bbc3ea722f8839e45054a4545cb8768ce8d8434.knwf) (190.4 KB) [xgboost\_tree\_model.zip](https://forum-cdn.knime.com/uploads/default/original/2X/3/3b72c426d5486e33e1bd3b1b7f877e68dc06c6e0.zip) (156.4 KB)

An example for XGBoost (Regression) can be found here:

> **[Housing Value Prediction using XGBoost for Regression – knime](https://hub.knime.com/knime/spaces/Examples/04_Analytics/16_XGBoost/02_Housing_Value_Regression_with_XGBoost~SmyEe_4e3ixesd47/current-state)**
>
> This workflow shows how the XGBoost nodes can be used for regression tasks. It also demonstrates a combination of parameter optimization with cross validation …

A basic example of how to run a model in KNIME with R you might take a look at this:

> **[Basic R Usage – knime](https://hub.knime.com/knime/spaces/Examples/07_Scripting/02_R/01_Example_of_R_Snippet~lc8PFcTAmnlC2rsE/current-state)**
>
> Here it is demonstrated how different R nodes are used together. The data is read via the R Source node and afterwards different R nodes are applied.

About “GenSa algorithm” could you further elaborate on that what you are looking for.

---

_[View the full topic](https://forum.knime.com/t/global-optimization-algorithm/14621)._
