Troubleshoot my XGBoost R code, the log model is working

Lukket Lagt ut 2 år siden Betales ved levering
Lukket Betales ved levering

Troubleshoot my XGBoost R code classifier 1 or 0, the logistic model is working against the data set. However, my XGBoost R code does not work against the data set as the confusion matrix produces

pred 0 1

0 0 0

1 423 465

when it should produce something like

pred 0 1

0 338 350

1 85 115

Deliverables

working XGBoost code versus my provided data set broken into training and test subsets with the confusion matrix outcome shown greater than 0.55. Example from the logistics code:

[login to view URL] <- predict(m1,type = "response")

[login to view URL] <- ifelse([login to view URL] > 0.55, "1", "0")

attach(nfl_train)

table([login to view URL],ATS)

sum([login to view URL] == 1 & ATS == 1 & push == 0)/sum([login to view URL] == 1 & push == 0)

R programmeringspråk Statistikk Statistisk analyse Algoritme Matematikk

Prosjekt-ID: #30492699

Om prosjektet

1 bud Eksternt prosjekt Aktiv 2 år siden

1 frilanser byr i snitt $10 på denne jobben

FineIdeas

Troubleshoot my XGBoost R code, the log model is working Since 2012, almost from 8 years I am managing academic writing tasks successfully. I am working with my friends from different backgrounds, it means I can manag Mer

$10 USD på 1 dag
(0 Omtaler)
0.0