We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PyPi and Semver documentation
Add in logger to the Readme Docs to explain how to track config and stats during runs
from datmo.logger import Logger datmo_logger = Logger() config = {'a': 1} datmo_logger.log_config(config) # Perform analysis to get results result = {'a': 1} datmo_logger.log_result(result)
from sklearn import datasets from sklearn.linear_model import LogisticRegression from sklearn.model_selection import train_test_split ############# SAVING MY CONFIGURATIONS ############# config = { "solver": "newton-cg" } # extra line # LOGGER CODE ############# SAVING MY MODEL ###################### iris_dataset = datasets.load_iris() X, y = iris_dataset.data, iris_dataset.target X_train, X_test, y_train, y_test = train_test_split(X, y) model = LogisticRegression(**config).fit(X_train, y_train) # SAVE MODEL TO FILE ############# SAVING MY STATISTICS/METRICS ######### train_acc = model.score(X_train, y_train) test_acc = model.score(X_test, y_test) # LOGGER CODE print("train_accuracy: %s") % train_acc print("test_accuracy: %s") % test_acc ############# CHECKING MY NEW ENVIRONMENT ########## import catboost print catboost.__version__
The text was updated successfully, but these errors were encountered:
No branches or pull requests
PyPi and Semver documentation
Add in logger to the Readme Docs to explain how to track config and stats during runs
The text was updated successfully, but these errors were encountered: