Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
RandomForestClassifier = "RandomForestClassifier"
SGDClassifier = "SGDClassifier"
SGDRegressor = "SGDRegressor"
SVR = "SVR"
MiniBatchKMeans = "MiniBatchKMeans"
KMeans = "KMeans"
content = {}
content[Estimator.SVC.value] = {
"import": "from sklearn.svm import SVC",
"doc_link": "https://scikit-learn.org/stable\
/modules/generated/sklearn.svm.SVC.html#sklearn.svm.SVC",
"evaluation": "classification",
}
content[Estimator.KNeighborsClassifier.value] = {
"import": "from sklearn.neighbors import KNeighborsClassifier",
"doc_link": "https://scikit-learn.org/stable/modules/neighbors.html",
"evaluation": "classification",
}
content[Estimator.RandomForestClassifier.value] = {
"import": "from sklearn.ensemble import RandomForestClassifier",
"doc_link": "https://scikit-learn.org/stable\
/modules/generated/sklearn.ensemble.Random\
ForestClassifier.html#sklearn.ensemble.RandomForestClassifier",
"evaluation": "classification",
}
content[Estimator.SGDClassifier.value] = {
"import": "from sklearn.linear_model import SGDClassifier",
"doc_link": "https://scikit-learn.org/\
stable/modules/generated/sklearn.linear\
_model.SGDClassifier.html#sklearn.\