-
Notifications
You must be signed in to change notification settings - Fork 6
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
Error on xgboost step #1
Comments
Hi awesome notebook, trying to run through the examples. |
Hey,
They changed the data (~ a month ago, added new features and explicit
validation set), this notebook is for the old data sets.
Your are welcome to update it and create a pull request.
Kindly regards,
…On Wed, May 17, 2017 at 6:25 AM, AIAdventures ***@***.***> wrote:
Hi awesome notebook, trying to run through the examples.
Best,
Andrew
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEc-SbkUmnLWMB2_IGc5UtCgl5LJ4aDEks5r6miogaJpZM4NdVMC>
.
--
Andrew Kreimer
<[email protected]>[email protected]
+972-542114277
Algonell - Scientific FX Trading
http://www.algonell.com
[image: Twitter] <https://twitter.com/algonell> [image: Facebook]
<https://www.facebook.com/algonell> [image: Google Plus]
<https://www.google.com/+Algonell> [image: Linkedin]
<https://il.linkedin.com/in/andrewkreimer>
<https://sites.google.com/site/algonellfx/home>
|
so i have tried to update the notebook a couple of times. dropping specific columns which i think is the only difference with the current data. however i keep getting the above error and i am not sure where i am going wrong. |
hi,
it's hard to see what's going on, please share the code.
maybe the class variable is the first feature instead of the last one?
kindly regards,
…On Mon, May 29, 2017 at 12:28 PM, AIAdventures ***@***.***> wrote:
so i have tried to update the notebook a couple of times. dropping
specific columns which i think is the only difference with the current
data. however i keep getting the above error and i am not sure where i am
going wrong.
Many thanks for your help.
Best,
Andrew
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEc-STNzXJM8P1IgQFr49Td8FMx0lGpFks5r-o-sgaJpZM4NdVMC>
.
--
Andrew Kreimer
<[email protected]>[email protected]
+972-542114277
Algonell - Scientific FX Trading
http://www.algonell.com
[image: Twitter] <https://twitter.com/algonell> [image: Facebook]
<https://www.facebook.com/algonell> [image: Google Plus]
<https://www.google.com/+Algonell> [image: Linkedin]
<https://il.linkedin.com/in/andrewkreimer>
<https://sites.google.com/site/algonellfx/home>
|
ok, will forward the code |
I have just sent you email with my code attached. |
Almost certain it's the extra variables that are causing the problem but I can't seem the get the entire notebook the run. |
hi,
it's related to:
target = train_data['target']
train_data = pd.DataFrame(poly.transform(train_data.values[:,:-1]))
test_data = pd.DataFrame(poly.transform(test_data.values))
train_data['target'] = target.values
be sure to have a copy of 'target' column before and after Poly features
fit and transform.
make sure you run the cells in the right order, it's exactly like my
ongoing code.
kindly regards,
…On Mon, May 29, 2017 at 12:57 PM, AIAdventures ***@***.***> wrote:
Almost certain it's the extra variables that are causing the problem but I
can't seem the get the entire notebook the run.
Many thanks,
Best,
Andrew
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEc-SesyzP1Mgwrq3zVapCOL92oUEUIdks5r-pZ6gaJpZM4NdVMC>
.
--
Andrew Kreimer
<[email protected]>[email protected]
+972-542114277
Algonell - Scientific FX Trading
http://www.algonell.com
[image: Twitter] <https://twitter.com/algonell> [image: Facebook]
<https://www.facebook.com/algonell> [image: Google Plus]
<https://www.google.com/+Algonell> [image: Linkedin]
<https://il.linkedin.com/in/andrewkreimer>
<https://sites.google.com/site/algonellfx/home>
|
I have tried it, keep getting an error. |
in my data set come NAN values on the last column. |
try running without the Poly features, check if the entire flow works.
…On May 29, 2017 13:51, "AIAdventures" ***@***.***> wrote:
in my data set come NA values.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEc-SbUcc6YITVzy1gfbKUs-wmDG6yxiks5r-qMjgaJpZM4NdVMC>
.
|
Ah ok will try and see what happens.
Best,
Andrew
…On 29 May 2017 9:29 pm, "algonell" ***@***.***> wrote:
try running without the Poly features, check if the entire flow works.
On May 29, 2017 13:51, "AIAdventures" ***@***.***> wrote:
> in my data set come NA values.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#1 (comment)>,
or mute
> the thread
> <https://github.com/notifications/unsubscribe-
auth/AEc-SbUcc6YITVzy1gfbKUs-wmDG6yxiks5r-qMjgaJpZM4NdVMC>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AY5K57EXJj7hygnQ-qS66bfX-OdwOPfXks5r-qwlgaJpZM4NdVMC>
.
|
The text was updated successfully, but these errors were encountered: