Skip to content
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

Python script to run classifier for core #53

Open
nch0w opened this issue Aug 31, 2019 · 1 comment
Open

Python script to run classifier for core #53

nch0w opened this issue Aug 31, 2019 · 1 comment

Comments

@nch0w
Copy link
Contributor

nch0w commented Aug 31, 2019

I added classifer.py, which is a start to a script that can run the user quality regressor on Core.

To run it, just do

import classifier
clf = classifier.UserQualityRegressor()
clf.fit('ml-label-correctness-one-mission.csv', 'sidewalk-seattle-label_point.csv', 'ml-users.csv')
clf.predict_one_user('user-interaction-logs.csv', 'ml-label-correctness-one-mission.csv', 'sidewalk-seattle-label_point.csv') 

Prediction doesn't work yet, maybe Tyler can work on fixing it.

@daotyl000
Copy link
Contributor

daotyl000 commented Sep 3, 2019

'user-interaction-logs.csv' is a place holder for the name of the file that holds all of the interaction data of the user you want to make a prediction of.

I also added another variable to be intered in the predict_one_user function, the file name for a csv containing the number of panos viewed by each user to be used for features that is normalized by panos viewed.

I am continuing to work on the script to get prediction working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants