# Ranking Localities using Regression [closed]

I have a data-set which consists of multiple localities along with various features and I would like to rank each locality based on input features.

Sample Data

localityID | population | no.ofSchools | no.ofHospitals | no.ofStores | no.ofAmenities

XYZ1         20000         1               10              14          20
XYZ2         15000         2               5               20          15
XYZ3         30000         5               2               20          10


The above is the Sample Data. I would like to perform SVMLight or Regression Analysis and obtain a score for each locality which I can use for Ranking.

Expected Sample Output

localityID | Score | Rank
XYZ2       0.84    1
XYZ1       0.74    2
XYZ3       0.73    3


As much I have searched Google, I could not find any answers which can provide a solution. I am pretty new to Data Science and any inputs/suggestion will be really valuable.

## closed as unclear what you're asking by mkt, Michael Chernick, kjetil b halvorsen, Peter Flom♦Feb 12 at 11:04

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• What is this score? How do you define it? – user2974951 Feb 11 at 12:47
• Regression requires a dependent variable and you don't have one. – Peter Flom Feb 12 at 11:04