[{"title":"( 96 个子文件 163KB ) python imbalanced-learn库实用例子(examples)代码","children":[{"title":"imblearn","children":[{"title":"exceptions.py <span style='color:#111;'> 404B </span>","children":null,"spread":false},{"title":"ensemble","children":[{"title":"_bagging.py <span style='color:#111;'> 8.71KB </span>","children":null,"spread":false},{"title":"_weight_boosting.py <span style='color:#111;'> 11.60KB </span>","children":null,"spread":false},{"title":"base.py <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 588B </span>","children":null,"spread":false},{"title":"_easy_ensemble.py <span style='color:#111;'> 10.08KB </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"test_bagging.py <span style='color:#111;'> 17.11KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"test_weight_boosting.py <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false},{"title":"test_balance_cascade.py <span style='color:#111;'> 6.64KB </span>","children":null,"spread":false},{"title":"test_forest.py <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"test_easy_ensemble.py <span style='color:#111;'> 11.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"_forest.py <span style='color:#111;'> 18.66KB </span>","children":null,"spread":false},{"title":"_balance_cascade.py <span style='color:#111;'> 8.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"_validation.py <span style='color:#111;'> 21.67KB </span>","children":null,"spread":false},{"title":"estimator_checks.py <span style='color:#111;'> 14.69KB </span>","children":null,"spread":false},{"title":"testing.py <span style='color:#111;'> 5.55KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 412B </span>","children":null,"spread":false},{"title":"_docstring.py <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"deprecation.py <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"test_docstring.py <span style='color:#111;'> 1024B </span>","children":null,"spread":false},{"title":"test_estimator_checks.py <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"test_deprecation.py <span style='color:#111;'> 584B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"test_testing.py <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"test_validation.py <span style='color:#111;'> 13.53KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"tensorflow","children":[{"title":"__init__.py <span style='color:#111;'> 193B </span>","children":null,"spread":false},{"title":"_generator.py <span style='color:#111;'> 6.16KB </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"test_generator.py <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"base.py <span style='color:#111;'> 7.17KB </span>","children":null,"spread":false},{"title":"over_sampling","children":[{"title":"_adasyn.py <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false},{"title":"base.py <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"_smote.py <span style='color:#111;'> 40.46KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 398B </span>","children":null,"spread":false},{"title":"_random_over_sampler.py <span style='color:#111;'> 4.10KB </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"test_adasyn.py <span style='color:#111;'> 3.89KB </span>","children":null,"spread":false},{"title":"test_smote_nc.py <span style='color:#111;'> 7.14KB </span>","children":null,"spread":false},{"title":"test_smote.py <span style='color:#111;'> 12.84KB </span>","children":null,"spread":false},{"title":"test_svm_smote.py <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"test_random_over_sampler.py <span style='color:#111;'> 4.03KB </span>","children":null,"spread":false},{"title":"test_borderline_smote.py <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"metrics","children":[{"title":"__init__.py <span style='color:#111;'> 658B </span>","children":null,"spread":false},{"title":"_classification.py <span style='color:#111;'> 33.65KB </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"test_classification.py <span style='color:#111;'> 15.27KB </span>","children":null,"spread":false},{"title":"test_score_objects.py <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"_version.py <span style='color:#111;'> 628B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"pipeline.py <span style='color:#111;'> 22.43KB </span>","children":null,"spread":false},{"title":"datasets","children":[{"title":"_zenodo.py <span style='color:#111;'> 12.49KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"test_imbalance.py <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"test_zenodo.py <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"_imbalance.py <span style='color:#111;'> 4.63KB </span>","children":null,"spread":false}],"spread":true},{"title":"keras","children":[{"title":"__init__.py <span style='color:#111;'> 267B </span>","children":null,"spread":false},{"title":"_generator.py <span style='color:#111;'> 9.11KB </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"test_generator.py <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"combine","children":[{"title":"_smote_enn.py <span style='color:#111;'> 4.40KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 209B </span>","children":null,"spread":false},{"title":"_smote_tomek.py <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"test_smote_tomek.py <span style='color:#111;'> 5.23KB </span>","children":null,"spread":false},{"title":"test_smote_enn.py <span style='color:#111;'> 4.25KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"under_sampling","children":[{"title":"base.py <span style='color:#111;'> 3.20KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 957B </span>","children":null,"spread":false},{"title":"_prototype_generation","children":[{"title":"__init__.py <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"test_cluster_centroids.py <span style='color:#111;'> 4.24KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"_cluster_centroids.py <span style='color:#111;'> 6.10KB </span>","children":null,"spread":false}],"spread":false},{"title":"_prototype_selection","children":[{"title":"_neighbourhood_cleaning_rule.py <span style='color:#111;'> 7.42KB </span>","children":null,"spread":false},{"title":"_instance_hardness_threshold.py <span style='color:#111;'> 6.66KB </span>","children":null,"spread":false},{"title":"_nearmiss.py <span style='color:#111;'> 10.90KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 964B </span>","children":null,"spread":false},{"title":"_one_sided_selection.py <span style='color:#111;'> 7.17KB </span>","children":null,"spread":false},{"title":"_random_under_sampler.py <span style='color:#111;'> 4.63KB </span>","children":null,"spread":false},{"title":"_tomek_links.py <span style='color:#111;'> 5.52KB </span>","children":null,"spread":false},{"title":"_condensed_nearest_neighbour.py <span style='color:#111;'> 8.26KB </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"test_repeated_edited_nearest_neighbours.py <span style='color:#111;'> 8.12KB </span>","children":null,"spread":false},{"title":"test_neighbourhood_cleaning_rule.py <span style='color:#111;'> 4.55KB </span>","children":null,"spread":false},{"title":"test_edited_nearest_neighbours.py <span style='color:#111;'> 4.48KB </span>","children":null,"spread":false},{"title":"test_random_under_sampler.py <span style='color:#111;'> 3.24KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"test_tomek_links.py <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false},{"title":"test_instance_hardness_threshold.py <span style='color:#111;'> 4.70KB </span>","children":null,"spread":false},{"title":"test_allknn.py <span style='color:#111;'> 8.13KB </span>","children":null,"spread":false},{"title":"test_one_sided_selection.py <span style='color:#111;'> 3.76KB </span>","children":null,"spread":false},{"title":"test_condensed_nearest_neighbour.py <span style='color:#111;'> 3.97KB </span>","children":null,"spread":false},{"title":"test_nearmiss.py <span style='color:#111;'> 8.21KB </span>","children":null,"spread":false}],"spread":false},{"title":"_edited_nearest_neighbours.py <span style='color:#111;'> 19.12KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"tests","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"test_base.py <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"test_pipeline.py <span style='color:#111;'> 34.93KB </span>","children":null,"spread":false},{"title":"test_common.py <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false},{"title":"test_exceptions.py <span style='color:#111;'> 375B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]