-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Expand project unit tests and integration tests #41
Comments
@teaearlgraycold, here's the list of unit tests that @GJena and I brainstormed back when she was working on this issue. Some of them are already implemented. Unit tests Run nose tests https://nose.readthedocs.org/en/latest/ Nose/Nose2? If no features, return copy of data frame..for every feat operator File: tpot.py Assertion tests present; add more assertions Cover the new parameters that have been added since the init() test was created Function: fit Function: pareto_eq Function: predict Function: score Function: export Function: decision_tree Function: random_forest Function: logistic_regression Function: svc Function: knnc Function: xgradient_boosting Function: train_model_and_predict Function: combine_dfs Function: _rfe Function: select_percentile Function: select k_best Function: select_fwe Function: variance_threshold Function: standard_scaler Function: robust_scaler Function: polynomial_features Function: min_max_scaler Function: max_abs_scaler Function: binarizer Function: pca Function: div remove params, no storing result More verbose comments Function: evaluate_individual Try with different scoring functions Function: balanced_accuracy Function: combined_selection_operatior Do this with a few different population sizes Function: random_mutation_operator Function: main Function: positive_integer Function: float_range File: export_utils.py Function: replace_mathematical_operators Try with known values and results Function: unroll_nested_function_calls Try with known values and results Function: generate_import_code Try with known values and results Function: replace_function_calls Check for different params of learning rate, max_depth, n_estimators DEAP library Integration tests Fixed dataset: use MNIST data set from sklearn Helpful links |
Currently, there are only a few unit tests in
tests.py
. These are basic unit tests and don't cover a large portion of the project. We should expand the unit tests to cover more of the core TPOT functions.We also need integration tests that test TPOT as a whole. This can be done with a small, fixed data set and a fixed random number generator seed over only a few generations, with a few different parameter settings.
The text was updated successfully, but these errors were encountered: