Skip to content

Commit

Permalink
Confidence Interval
Browse files Browse the repository at this point in the history
  • Loading branch information
mgraffg committed May 25, 2021
1 parent 973fda6 commit 0576947
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 349 deletions.
2 changes: 1 addition & 1 deletion EvoMSA/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
__version__ = '1.3.1'
__version__ = '1.3.2'
284 changes: 0 additions & 284 deletions EvoMSA/model_selection.py

This file was deleted.

60 changes: 0 additions & 60 deletions EvoMSA/tests/test_model_selection.py

This file was deleted.

12 changes: 11 additions & 1 deletion EvoMSA/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,14 @@ def test_cache_cl():
for i, j in zip(cache.ml_kfold(), ll):
print(i)
assert i == "hola-%s-%s-K" % (j, "LinearSVC")



def test_confidence_interval():
from EvoMSA.utils import ConfidenceInterval
from EvoMSA.tests.test_base import get_data

X, y = get_data()
kw = dict(stacked_method="sklearn.naive_bayes.GaussianNB")
ci = ConfidenceInterval(X, y, evomsa_kwargs=kw)
result = ci.estimate()
assert len(result) == 2

0 comments on commit 0576947

Please sign in to comment.