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

direct access to MongoDB #1

Closed
lacava opened this issue May 12, 2017 · 3 comments
Closed

direct access to MongoDB #1

lacava opened this issue May 12, 2017 · 3 comments

Comments

@lacava
Copy link
Contributor

lacava commented May 12, 2017

recommender methods should be able to query the database directly for info (e.g. whether an ML+P combo has been run on a dataset) rather than accessing static files. @djfunksalot and I will work on this

@lacava
Copy link
Contributor Author

lacava commented May 16, 2017

@djfunksalot : format from recommender:

payload = {'token':self.api_key,
                   'filter_ids':self.trained_data_ids, # ids of data NOT to return
                    'algorithm': self.models, # algorithms to return
                  }

response spec:

  • 'algorithm' one of:
    'LogisticRegression', 'DecisionTreeClassifier', 'KNeighborsClassifier', 'SVC', 'RandomForestClassifier', 'GradientBoostingClassifier' 'ElasticNet', 'DecisionTreeRegressor', 'KNeighborsRegressor', 'SVR', 'RandomForestRegressor', 'GradientBoostingRegressor'
  • 'dataset_name' name of dataset
  • 'accuracy': accuracy
  • 'bal_accuracy': balanced accuracy
  • 'parameters': dictionary parameter values such as {'C':1e-06,'loss'='hinge','fit_intercept'=True}

@lacava
Copy link
Contributor Author

lacava commented May 22, 2017

@djfunksalot lmk when this is updated on your end so i can check it on mine.

@lacava
Copy link
Contributor Author

lacava commented Jun 2, 2017

uses an external variable FGLAB_URL to define server location. see commit e5b6f18

@lacava lacava closed this as completed Jun 2, 2017
HyunjunA added a commit that referenced this issue Nov 1, 2022
HyunjunA pushed a commit that referenced this issue Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants