Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

regression to classification binary Expand / Collapse
Author
Message
Posted Tuesday, August 7, 2012 1:44 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, August 31, 2012 3:05 PM
Points: 3, Visits: 13
Can anyone assist me on how i go about arranging data that i used as continous input,to data that goes through pair combos for binary output.ie

out

3 5 9 19 11

4 6 7 12 23

3 3 4 6 7 2

to something similar

3 5 9 19 1

4 6 7 12 0 etc



Thanks

Post #1341515
Posted Tuesday, August 7, 2012 2:12 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 3:28 PM
Points: 13,103, Visits: 11,933
mick19790 (8/7/2012)
Can anyone assist me on how i go about arranging data that i used as continous input,to data that goes through pair combos for binary output.ie

out

3 5 9 19 11

4 6 7 12 23

3 3 4 6 7 2

to something similar

3 5 9 19 1

4 6 7 12 0 etc



Thanks



huh?


_______________________________________________________________

Need help? Help us help you.

Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

Need to split a string? Try Jeff Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Understanding and Using APPLY (Part 1)
Understanding and Using APPLY (Part 2)
Post #1341540
Posted Tuesday, August 7, 2012 3:27 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, August 31, 2012 3:05 PM
Points: 3, Visits: 13
I have alot of data that has continuous outputs.
I just wanted to know how i go about permutating ever pair for classifcation.
Literally 200 000 cases.Too much to do manually.
Post #1341572
Posted Tuesday, August 7, 2012 3:43 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 3:28 PM
Points: 13,103, Visits: 11,933
mick19790 (8/7/2012)
I have alot of data that has continuous outputs.
I just wanted to know how i go about permutating ever pair for classifcation.
Literally 200 000 cases.Too much to do manually.


You should take a look at the first link in my signature about best practices when posting questions. You have not provided anywhere near enough detail for anybody to offer much in the way of help. At this point I don't even really know what the question is.


_______________________________________________________________

Need help? Help us help you.

Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

Need to split a string? Try Jeff Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Understanding and Using APPLY (Part 1)
Understanding and Using APPLY (Part 2)
Post #1341579
Posted Wednesday, August 8, 2012 5:57 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, August 31, 2012 3:05 PM
Points: 3, Visits: 13
I do apologise for being very unclear.

Reflecting on my thread it looks lazy and disrespectful of forum protocol.

Ive been studying horse racing and other sport events with inputs ive put together.

I have many samples of input variables for individual horses,irrespective of horse field sizes.

Desired outputs being 1 for 1st, 2 for 2nd etc.Ive normalized the inputs and ran it through PCA.

Im not getting results i'd hoped for.Noisy data also cleansed to an extent.

So i would like to delve into individual race samples and have binary outputs for every paired combo of the horses to interprate the winning horses without having to manually do this.


Horse1 output 1st - 1

horse 2 output 4th - 0


etc

I thought having thousands of horses would have rectified the race field bias.and the lenghts beaten offset.
Post #1341808
Posted Wednesday, August 8, 2012 8:07 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 3:28 PM
Points: 13,103, Visits: 11,933
No worries. It is hard to put your thoughts on "paper" in such a way that others can understand it. It seems that perhaps you read the article I suggested. However you missed that part about providing ddl (create table script), sample data (insert statements) and desired output based on the sample data.

Without that I have no idea what your structures look like or what the data is like. Can't do much to help without some details.


_______________________________________________________________

Need help? Help us help you.

Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

Need to split a string? Try Jeff Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Understanding and Using APPLY (Part 1)
Understanding and Using APPLY (Part 2)
Post #1341890
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse