Skip to content

Commit

Permalink
importing order
Browse files Browse the repository at this point in the history
  • Loading branch information
qchiujunhao committed Jul 16, 2024
1 parent 87badfb commit ebfd3df
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
- name: Set fail level for pull request
if: ${{ github.event_name == 'pull_request' }}
run:
echo "FAIL_LEVEL=warn" >> "$GITHUB_ENV"
echo "FAIL_LEVEL=error" >> "$GITHUB_ENV"
- name: Set fail level for merge
if: ${{ github.event_name != 'pull_request' }}
run:
Expand Down
4 changes: 2 additions & 2 deletions tools/base_model_trainer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os
import logging
import base64
import logging
import os

import pandas as pd

Expand Down
2 changes: 1 addition & 1 deletion tools/dashboard.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from typing import Any, Dict, Optional
import logging
from typing import Any, Dict, Optional

from pycaret.utils.generic import get_label_encoder

Expand Down
2 changes: 2 additions & 0 deletions tools/pycaret_classification.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import logging

from base_model_trainer import BaseModelTrainer

from pycaret.classification import ClassificationExperiment

from dashboard import generate_classifier_explainer_dashboard

LOG = logging.getLogger(__name__)
Expand Down
2 changes: 2 additions & 0 deletions tools/pycaret_regression.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import logging

from base_model_trainer import BaseModelTrainer

from pycaret.regression import RegressionExperiment

from dashboard import generate_regression_explainer_dashboard

LOG = logging.getLogger(__name__)
Expand Down
1 change: 1 addition & 0 deletions tools/pycaret_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import logging

from pycaret_classification import ClassificationModelTrainer

from pycaret_regression import RegressionModelTrainer

logging.basicConfig(level=logging.DEBUG)
Expand Down

0 comments on commit ebfd3df

Please sign in to comment.