Skip to content

Commit

Permalink
master core: update imports and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel committed Sep 17, 2024
1 parent d3223cb commit f27691a
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 347 deletions.
2 changes: 1 addition & 1 deletion Dashboard/classification_dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
)
from app.API.utils import findTranslationsParent, setText

from .Dash_fun import apply_layout_with_auth, load_object, save_object
from .Dash_fun import apply_layout_with_auth
import dash_bootstrap_components as dbc
from furl import furl

Expand Down
2 changes: 1 addition & 1 deletion Dashboard/regression_dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from app.API.routes import find_translations
from app.API.utils import findTranslationsParent, setText

from .Dash_fun import apply_layout_with_auth, load_object, save_object
from .Dash_fun import apply_layout_with_auth
import dash_bootstrap_components as dbc
from furl import furl

Expand Down
2 changes: 1 addition & 1 deletion app/API/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from app.processor.models import ExplainedClassifierModel, ExplainedRegressorModel, ExplainedModel
from app.processor.models import ModelForProccess
from . import blueprint
from flask import current_app, make_response, render_template, request
from flask import make_response, request
from flask_login import login_required, current_user, AnonymousUserMixin

from ..base.models import User
Expand Down
2 changes: 1 addition & 1 deletion app/base/routes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from flask import jsonify, render_template, redirect, request, url_for
from flask import render_template, redirect, request, url_for
from flask_login import (
current_user,
login_required,
Expand Down
2 changes: 1 addition & 1 deletion app/home/routes.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from . import blueprint
from flask import render_template
from flask_login import login_required, current_user
from flask_login import login_required


@blueprint.route('/')
Expand Down
2 changes: 0 additions & 2 deletions app/processor/model/dataset_interaction_methods.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from numbers import Number
from unicodedata import numeric
import numpy as np
from sklearn.calibration import LabelEncoder

Expand Down
1 change: 0 additions & 1 deletion app/processor/model/explainers/importance.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import plotly.express as px
import pandas as pd
from sklearn.inspection import permutation_importance
from sklearn.preprocessing import LabelEncoder


class Importance:
Expand Down
12 changes: 0 additions & 12 deletions app/processor/model/explainers/tester.py

This file was deleted.

319 changes: 0 additions & 319 deletions app/processor/model/model.py

This file was deleted.

2 changes: 1 addition & 1 deletion app/setting/routes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from . import blueprint
from flask import render_template, current_app, request, redirect
from flask import render_template, request, redirect
from flask_login import login_required, current_user
from .forms import (
add_user_Form,
Expand Down
Binary file modified requirements.txt
Binary file not shown.
Loading

0 comments on commit f27691a

Please sign in to comment.