af2095615157e7c105026bd040aa39b9a3de5bb9,deslib/tests/test_base.py,,test_IH_is_used,#,293
Before Change
ds_test.DSEL_target = y_dsel_ex1
ds_test.DSEL_data = X_dsel_ex1
ds_test.neighbors = neighbors_ex1[index, :]
ds_test.distances = distances_ex1[index, :]
predicted = ds_test.predict(query)
After Change
def test_IH_is_used():
expected = [0, 0, 1]
query = np.ones((3, 2))
ds_test = DS(create_pool_classifiers(), with_IH=True, IH_rate=0.5)
ds_test.fit(X_dsel_ex1, y_dsel_ex1)
ds_test.processed_dsel = dsel_processed_ex1
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: scikit-learn-contrib/DESlib
Commit Name: af2095615157e7c105026bd040aa39b9a3de5bb9
Time: 2018-03-29
Author: rafaelmenelau@gmail.com
File Name: deslib/tests/test_base.py
Class Name:
Method Name: test_IH_is_used
Project Name: scikit-learn-contrib/DESlib
Commit Name: 1ad718089f4d32a34e873091ff9d02a4c36d5d9f
Time: 2018-03-26
Author: rafaelmenelau@gmail.com
File Name: deslib/tests/test_base.py
Class Name:
Method Name: test_IH_is_used
Project Name: suavecode/SUAVE
Commit Name: 6fd1cef5797fd76e8ea6b68ee9338dce759768ad
Time: 2020-06-06
Author: ebotero@stanford.edu
File Name: trunk/SUAVE/Methods/Aerodynamics/Common/Fidelity_Zero/Lift/compute_induced_velocity_matrix.py
Class Name:
Method Name: compute_mach_cone_matrix