push models and code
This commit is contained in:
commit
39d1b34dd6
125 changed files with 26986 additions and 0 deletions
11
.gitignore
vendored
Normal file
11
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Python-generated files
|
||||
__pycache__/
|
||||
*.py[oc]
|
||||
build/
|
||||
dist/
|
||||
wheels/
|
||||
*.egg-info
|
||||
|
||||
# Virtual environments
|
||||
.venv
|
||||
.env
|
||||
20
Dockerfile.mlflow-server
Normal file
20
Dockerfile.mlflow-server
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Dockerfile.mlflow-server
|
||||
# Runs a local MLflow tracking server with the repository's model registry and artifacts.
|
||||
|
||||
FROM python:3.13-slim
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip install --no-cache-dir mlflow==3.14.0 sqlalchemy
|
||||
|
||||
COPY mlflow.db /app/mlflow.db
|
||||
COPY mlartifacts /app/mlartifacts
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["mlflow", "server", "--backend-store-uri", "sqlite:///app/mlflow.db", "--default-artifact-root", "file:///app/mlartifacts", "--host", "0.0.0.0", "--port", "8080", "--workers", "1"]
|
||||
22
Dockerfile.model-serve
Normal file
22
Dockerfile.model-serve
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# Dockerfile.model-serve
|
||||
# Builds a container that serves an MLflow registry model by name and version.
|
||||
|
||||
FROM python:3.13-slim
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip install --no-cache-dir mlflow==3.14.0
|
||||
|
||||
ARG MODEL_NAME=IsolationForest_Anomaly_Detector
|
||||
ARG MODEL_VERSION=6
|
||||
ENV MODEL_NAME=${MODEL_NAME}
|
||||
ENV MODEL_VERSION=${MODEL_VERSION}
|
||||
|
||||
EXPOSE 5001
|
||||
|
||||
CMD ["sh", "-c", "mlflow models serve -m \"models:/$MODEL_NAME/$MODEL_VERSION\" --host 0.0.0.0 --port 5001 --env-manager local"]
|
||||
6
README.md
Normal file
6
README.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
mlflow server --host 127.0.0.1 --port 8000
|
||||
|
||||
export MLFLOW_TRACKING_URI=http://localhost:8000
|
||||
|
||||
|
||||
mlflow models serve -m "models:/Autoencoder_Anomaly_Detector/2" --host 0.0.0.0 --port 5001 --env-manager local
|
||||
235
fetch_clean_sessions.sql
Normal file
235
fetch_clean_sessions.sql
Normal file
|
|
@ -0,0 +1,235 @@
|
|||
WITH base AS (
|
||||
SELECT
|
||||
person_id,
|
||||
timestamp,
|
||||
event,
|
||||
properties,
|
||||
row_number() OVER (
|
||||
PARTITION BY person_id
|
||||
ORDER BY timestamp, event
|
||||
) AS global_order
|
||||
FROM events
|
||||
WHERE timestamp >= toDateTime('{start_date}')
|
||||
AND timestamp < toDateTime('{end_date}')
|
||||
AND event NOT IN ('flutter_error', 'platform_error')
|
||||
),
|
||||
|
||||
ordered_events AS (
|
||||
SELECT
|
||||
*,
|
||||
lagInFrame(timestamp) OVER (
|
||||
PARTITION BY person_id
|
||||
ORDER BY global_order
|
||||
) AS prev_ts,
|
||||
|
||||
lagInFrame(event) OVER (
|
||||
PARTITION BY person_id
|
||||
ORDER BY global_order
|
||||
) AS prev_event
|
||||
FROM base
|
||||
),
|
||||
|
||||
session_flags AS (
|
||||
SELECT
|
||||
*,
|
||||
CASE
|
||||
WHEN prev_ts IS NULL THEN 1
|
||||
WHEN event = 'Application Opened' THEN 1
|
||||
WHEN prev_event IN ('Application Backgrounded', 'Application Closed') THEN 1
|
||||
WHEN dateDiff('minute', prev_ts, timestamp) > 10 THEN 1
|
||||
ELSE 0
|
||||
END AS is_new_session
|
||||
FROM ordered_events
|
||||
),
|
||||
|
||||
sessionized AS (
|
||||
SELECT
|
||||
*,
|
||||
sum(is_new_session) OVER (
|
||||
PARTITION BY person_id
|
||||
ORDER BY global_order
|
||||
) AS session_number
|
||||
FROM session_flags
|
||||
),
|
||||
|
||||
session_duration_calc AS (
|
||||
SELECT
|
||||
*,
|
||||
dateDiff(
|
||||
'second',
|
||||
MIN(timestamp) OVER (
|
||||
PARTITION BY person_id, session_number
|
||||
),
|
||||
timestamp
|
||||
) AS seconds_since_session_start
|
||||
FROM sessionized
|
||||
),
|
||||
|
||||
split_sessions AS (
|
||||
SELECT
|
||||
*,
|
||||
floor(seconds_since_session_start / 1800) AS session_sub_id
|
||||
FROM session_duration_calc
|
||||
),
|
||||
|
||||
session_events AS (
|
||||
SELECT
|
||||
*,
|
||||
row_number() OVER (
|
||||
PARTITION BY person_id, session_number, session_sub_id
|
||||
ORDER BY timestamp, event
|
||||
) AS session_index
|
||||
FROM split_sessions
|
||||
),
|
||||
|
||||
inter_event_calc AS (
|
||||
SELECT
|
||||
person_id,
|
||||
session_number,
|
||||
session_sub_id,
|
||||
timestamp,
|
||||
event,
|
||||
properties,
|
||||
session_index,
|
||||
|
||||
lagInFrame(timestamp) OVER (
|
||||
PARTITION BY person_id, session_number, session_sub_id
|
||||
ORDER BY session_index
|
||||
) AS prev_ts_in_session,
|
||||
|
||||
CASE
|
||||
WHEN session_index = 1 THEN NULL
|
||||
ELSE greatest(
|
||||
0,
|
||||
dateDiff(
|
||||
'second',
|
||||
lagInFrame(timestamp) OVER (
|
||||
PARTITION BY person_id, session_number, session_sub_id
|
||||
ORDER BY session_index
|
||||
),
|
||||
timestamp
|
||||
)
|
||||
)
|
||||
END AS inter_event_time_seconds
|
||||
FROM session_events
|
||||
),
|
||||
|
||||
session_stats AS (
|
||||
SELECT
|
||||
person_id,
|
||||
session_number,
|
||||
session_sub_id,
|
||||
|
||||
COUNT(*) AS event_count,
|
||||
|
||||
uniqExact(event) AS unique_event_types,
|
||||
|
||||
uniqExact(
|
||||
if(
|
||||
event = '$screen',
|
||||
replaceRegexpOne(
|
||||
JSONExtractString(properties, '$screen_name'),
|
||||
'\\?.*$',
|
||||
''
|
||||
),
|
||||
NULL
|
||||
)
|
||||
) AS screens_visited,
|
||||
|
||||
MIN(timestamp) AS session_start,
|
||||
MAX(timestamp) AS session_end,
|
||||
|
||||
dateDiff(
|
||||
'second',
|
||||
MIN(timestamp),
|
||||
MAX(timestamp)
|
||||
) AS duration_seconds,
|
||||
|
||||
COUNT(*) * 60.0 /
|
||||
greatest(
|
||||
dateDiff(
|
||||
'second',
|
||||
MIN(timestamp),
|
||||
MAX(timestamp)
|
||||
),
|
||||
1
|
||||
) AS events_per_minute,
|
||||
|
||||
AVG(inter_event_time_seconds) AS inter_event_time_mean_seconds,
|
||||
|
||||
median(inter_event_time_seconds) AS inter_event_time_median_seconds,
|
||||
|
||||
max(inter_event_time_seconds) AS max_inter_event_gap_seconds,
|
||||
|
||||
sqrt(
|
||||
varSamp(inter_event_time_seconds)
|
||||
) AS inter_event_time_std_seconds,
|
||||
|
||||
toHour(MIN(timestamp)) AS session_start_hour,
|
||||
|
||||
toDayOfWeek(MIN(timestamp)) AS session_day_of_week,
|
||||
|
||||
uniqExact(
|
||||
toStartOfHour(timestamp)
|
||||
) AS distinct_hours_active
|
||||
|
||||
FROM inter_event_calc
|
||||
GROUP BY
|
||||
person_id,
|
||||
session_number,
|
||||
session_sub_id
|
||||
|
||||
HAVING
|
||||
COUNT(*) > 2
|
||||
AND dateDiff(
|
||||
'second',
|
||||
MIN(timestamp),
|
||||
MAX(timestamp)
|
||||
) >= 4
|
||||
)
|
||||
|
||||
SELECT
|
||||
person_id,
|
||||
|
||||
concat(
|
||||
toString(person_id),
|
||||
'_',
|
||||
toString(session_number),
|
||||
'_',
|
||||
toString(session_sub_id)
|
||||
) AS session_id,
|
||||
|
||||
session_start,
|
||||
-- 24-Hour Cyclical Encoding for Session Start
|
||||
sin(2 * pi() * (toUnixTimestamp(session_start) - toUnixTimestamp(toStartOfDay(session_start))) / 86400) AS session_start_sin,
|
||||
cos(2 * pi() * (toUnixTimestamp(session_start) - toUnixTimestamp(toStartOfDay(session_start))) / 86400) AS session_start_cos,
|
||||
|
||||
session_end,
|
||||
-- 24-Hour Cyclical Encoding for Session End
|
||||
sin(2 * pi() * (toUnixTimestamp(session_end) - toUnixTimestamp(toStartOfDay(session_end))) / 86400) AS session_end_sin,
|
||||
cos(2 * pi() * (toUnixTimestamp(session_end) - toUnixTimestamp(toStartOfDay(session_end))) / 86400) AS session_end_cos,
|
||||
|
||||
event_count,
|
||||
unique_event_types,
|
||||
screens_visited,
|
||||
|
||||
duration_seconds,
|
||||
events_per_minute,
|
||||
|
||||
inter_event_time_mean_seconds,
|
||||
inter_event_time_median_seconds,
|
||||
inter_event_time_std_seconds,
|
||||
max_inter_event_gap_seconds,
|
||||
|
||||
session_start_hour,
|
||||
|
||||
session_day_of_week,
|
||||
-- 7-Day Cyclical Encoding for Day of the Week
|
||||
sin(2 * pi() * session_day_of_week / 7) AS session_day_of_week_sin,
|
||||
cos(2 * pi() * session_day_of_week / 7) AS session_day_of_week_cos,
|
||||
|
||||
distinct_hours_active
|
||||
|
||||
FROM session_stats
|
||||
ORDER BY session_start DESC
|
||||
LIMIT 10000
|
||||
6
main.py
Normal file
6
main.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
def main():
|
||||
print("Hello from fraud-models!")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
@ -0,0 +1 @@
|
|||
3.13
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
artifact_path: mlflow-artifacts:/1/models/m-2dc51e8e79f94c18a0d378720d48a0eb/artifacts
|
||||
flavors:
|
||||
python_function:
|
||||
artifacts:
|
||||
input_dim:
|
||||
path: artifacts/input_dim.txt
|
||||
uri: /tmp/tmpe3qq0qoy/input_dim.txt
|
||||
scaler:
|
||||
path: artifacts/scaler.pkl
|
||||
uri: /tmp/tmpe3qq0qoy/scaler.pkl
|
||||
threshold:
|
||||
path: artifacts/threshold.txt
|
||||
uri: /tmp/tmpe3qq0qoy/threshold.txt
|
||||
weights:
|
||||
path: artifacts/model.pt
|
||||
uri: /tmp/tmpe3qq0qoy/model.pt
|
||||
cloudpickle_version: 3.1.2
|
||||
code: null
|
||||
env:
|
||||
conda: conda.yaml
|
||||
virtualenv: python_env.yaml
|
||||
loader_module: mlflow.pyfunc.model
|
||||
python_model: python_model.pkl
|
||||
python_version: 3.13.13
|
||||
streamable: false
|
||||
is_signature_from_type_hint: false
|
||||
mlflow_version: 3.14.0
|
||||
model_id: m-2dc51e8e79f94c18a0d378720d48a0eb
|
||||
model_size_bytes: 41835
|
||||
model_uuid: m-2dc51e8e79f94c18a0d378720d48a0eb
|
||||
prompts: null
|
||||
run_id: fcba7e9d98e747a0b8fb1ac5ed037283
|
||||
signature:
|
||||
inputs: '[{"type": "double", "name": "session_start_sin", "required": true}, {"type":
|
||||
"double", "name": "session_start_cos", "required": true}, {"type": "double", "name":
|
||||
"session_end_sin", "required": true}, {"type": "double", "name": "session_end_cos",
|
||||
"required": true}, {"type": "double", "name": "event_count", "required": true},
|
||||
{"type": "double", "name": "unique_event_types", "required": true}, {"type": "double",
|
||||
"name": "screens_visited", "required": true}, {"type": "double", "name": "duration_seconds",
|
||||
"required": true}, {"type": "double", "name": "events_per_minute", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_mean_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_median_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_std_seconds", "required":
|
||||
true}, {"type": "double", "name": "max_inter_event_gap_seconds", "required": true},
|
||||
{"type": "double", "name": "session_start_hour", "required": true}, {"type": "double",
|
||||
"name": "session_day_of_week", "required": true}, {"type": "double", "name": "session_day_of_week_sin",
|
||||
"required": true}, {"type": "double", "name": "session_day_of_week_cos", "required":
|
||||
true}, {"type": "double", "name": "distinct_hours_active", "required": true}]'
|
||||
outputs: '[{"type": "long", "name": "prediction", "required": true}, {"type": "float",
|
||||
"name": "anomaly_score", "required": true}, {"type": "float", "name": "threshold",
|
||||
"required": true}]'
|
||||
params: null
|
||||
type_hint_from_example: false
|
||||
utc_time_created: '2026-07-01 08:04:29.835300'
|
||||
|
|
@ -0,0 +1 @@
|
|||
18
|
||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
0.013290202
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
channels:
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python=3.13.13
|
||||
- pip
|
||||
- pip:
|
||||
- aiohappyeyeballs==2.6.2
|
||||
- aiohttp==3.14.1
|
||||
- aiosignal==1.4.0
|
||||
- alembic==1.18.4
|
||||
- annotated-doc==0.0.4
|
||||
- annotated-types==0.7.0
|
||||
- anyio==4.14.0
|
||||
- attrs==26.1.0
|
||||
- blinker==1.9.0
|
||||
- cachetools==7.1.4
|
||||
- certifi==2026.6.17
|
||||
- cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
- charset-normalizer==3.4.7
|
||||
- click==8.4.1
|
||||
- cloudpickle==3.1.2
|
||||
- colorama==0.4.6; sys_platform == "win32"
|
||||
- contourpy==1.3.3
|
||||
- cryptography==48.0.1
|
||||
- cycler==0.12.1
|
||||
- databricks-sdk==0.118.0
|
||||
- docker==7.1.0
|
||||
- fastapi==0.138.0
|
||||
- flask-cors==6.0.5
|
||||
- flask==3.1.3
|
||||
- fonttools==4.63.0
|
||||
- frozenlist==1.8.0
|
||||
- gitdb==4.0.12
|
||||
- gitpython==3.1.50
|
||||
- google-auth==2.55.0
|
||||
- graphene==3.4.3
|
||||
- graphql-core==3.2.11
|
||||
- graphql-relay==3.2.0
|
||||
- greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or
|
||||
platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine
|
||||
== "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
- gunicorn==26.0.0; sys_platform != "win32"
|
||||
- h11==0.16.0
|
||||
- huey==3.0.3
|
||||
- idna==3.18
|
||||
- importlib-metadata==9.0.0
|
||||
- itsdangerous==2.2.0
|
||||
- jinja2==3.1.6
|
||||
- joblib==1.5.3
|
||||
- kiwisolver==1.5.0
|
||||
- llvmlite==0.45.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- llvmlite==0.47.0; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- mako==1.3.12
|
||||
- markupsafe==3.0.3
|
||||
- matplotlib==3.11.0
|
||||
- mlflow-skinny==3.14.0
|
||||
- mlflow-tracing==3.14.0
|
||||
- mlflow==3.14.0
|
||||
- multidict==6.7.1
|
||||
- narwhals==2.22.1
|
||||
- numba==0.62.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- numba==0.65.1; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- numpy==2.3.5; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- numpy==2.4.6; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- opentelemetry-api==1.42.1
|
||||
- opentelemetry-proto==1.42.1
|
||||
- opentelemetry-sdk==1.42.1
|
||||
- opentelemetry-semantic-conventions==0.63b1
|
||||
- packaging==26.2
|
||||
- pandas==2.3.3
|
||||
- pillow==12.2.0
|
||||
- prettytable==3.17.0
|
||||
- propcache==0.5.2
|
||||
- protobuf==6.33.6
|
||||
- pyarrow==24.0.0
|
||||
- pyasn1-modules==0.4.2
|
||||
- pyasn1==0.6.3
|
||||
- pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation
|
||||
!= "PyPy"
|
||||
- pydantic-core==2.46.4
|
||||
- pydantic==2.13.4
|
||||
- pyparsing==3.3.2
|
||||
- python-dateutil==2.9.0.post0
|
||||
- python-dotenv==1.2.2
|
||||
- pytz==2026.2
|
||||
- pywin32==312; sys_platform == "win32"
|
||||
- pyyaml==6.0.3
|
||||
- requests==2.34.2
|
||||
- scikit-learn==1.9.0
|
||||
- scipy==1.18.0
|
||||
- shap==0.52.0
|
||||
- six==1.17.0
|
||||
- skops==0.14.0
|
||||
- slicer==0.0.8
|
||||
- smmap==5.0.3
|
||||
- sqlalchemy==2.0.51
|
||||
- sqlparse==0.5.5
|
||||
- starlette==1.3.1
|
||||
- threadpoolctl==3.6.0
|
||||
- tqdm==4.68.3
|
||||
- typing-extensions==4.15.0
|
||||
- typing-inspection==0.4.2
|
||||
- tzdata==2026.2
|
||||
- urllib3==2.7.0
|
||||
- uvicorn==0.49.0
|
||||
- waitress==3.0.2; sys_platform == "win32"
|
||||
- wcwidth==0.8.1
|
||||
- werkzeug==3.1.8
|
||||
- yarl==1.24.2
|
||||
- zipp==4.1.0
|
||||
name: mlflow-env
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
[project]
|
||||
name = "fraud-models"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
"mlflow>=3.14.0",
|
||||
"pandas>=2.3.3",
|
||||
"scikit-learn>=1.9.0",
|
||||
"shap>=0.52.0",
|
||||
]
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
python: 3.13.13
|
||||
build_dependencies:
|
||||
- pip
|
||||
- setuptools==70.2.0
|
||||
- wheel
|
||||
dependencies:
|
||||
- -r requirements.txt
|
||||
Binary file not shown.
|
|
@ -0,0 +1,101 @@
|
|||
aiohappyeyeballs==2.6.2
|
||||
aiohttp==3.14.1
|
||||
aiosignal==1.4.0
|
||||
alembic==1.18.4
|
||||
annotated-doc==0.0.4
|
||||
annotated-types==0.7.0
|
||||
anyio==4.14.0
|
||||
attrs==26.1.0
|
||||
blinker==1.9.0
|
||||
cachetools==7.1.4
|
||||
certifi==2026.6.17
|
||||
cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
charset-normalizer==3.4.7
|
||||
click==8.4.1
|
||||
cloudpickle==3.1.2
|
||||
colorama==0.4.6; sys_platform == "win32"
|
||||
contourpy==1.3.3
|
||||
cryptography==48.0.1
|
||||
cycler==0.12.1
|
||||
databricks-sdk==0.118.0
|
||||
docker==7.1.0
|
||||
fastapi==0.138.0
|
||||
flask-cors==6.0.5
|
||||
flask==3.1.3
|
||||
fonttools==4.63.0
|
||||
frozenlist==1.8.0
|
||||
gitdb==4.0.12
|
||||
gitpython==3.1.50
|
||||
google-auth==2.55.0
|
||||
graphene==3.4.3
|
||||
graphql-core==3.2.11
|
||||
graphql-relay==3.2.0
|
||||
greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine == "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
gunicorn==26.0.0; sys_platform != "win32"
|
||||
h11==0.16.0
|
||||
huey==3.0.3
|
||||
idna==3.18
|
||||
importlib-metadata==9.0.0
|
||||
itsdangerous==2.2.0
|
||||
jinja2==3.1.6
|
||||
joblib==1.5.3
|
||||
kiwisolver==1.5.0
|
||||
llvmlite==0.45.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
llvmlite==0.47.0; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
mako==1.3.12
|
||||
markupsafe==3.0.3
|
||||
matplotlib==3.11.0
|
||||
mlflow-skinny==3.14.0
|
||||
mlflow-tracing==3.14.0
|
||||
mlflow==3.14.0
|
||||
multidict==6.7.1
|
||||
narwhals==2.22.1
|
||||
numba==0.62.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
numba==0.65.1; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
numpy==2.3.5; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
numpy==2.4.6; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
opentelemetry-api==1.42.1
|
||||
opentelemetry-proto==1.42.1
|
||||
opentelemetry-sdk==1.42.1
|
||||
opentelemetry-semantic-conventions==0.63b1
|
||||
packaging==26.2
|
||||
pandas==2.3.3
|
||||
pillow==12.2.0
|
||||
prettytable==3.17.0
|
||||
propcache==0.5.2
|
||||
protobuf==6.33.6
|
||||
pyarrow==24.0.0
|
||||
pyasn1-modules==0.4.2
|
||||
pyasn1==0.6.3
|
||||
pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation != "PyPy"
|
||||
pydantic-core==2.46.4
|
||||
pydantic==2.13.4
|
||||
pyparsing==3.3.2
|
||||
python-dateutil==2.9.0.post0
|
||||
python-dotenv==1.2.2
|
||||
pytz==2026.2
|
||||
pywin32==312; sys_platform == "win32"
|
||||
pyyaml==6.0.3
|
||||
requests==2.34.2
|
||||
scikit-learn==1.9.0
|
||||
scipy==1.18.0
|
||||
shap==0.52.0
|
||||
six==1.17.0
|
||||
skops==0.14.0
|
||||
slicer==0.0.8
|
||||
smmap==5.0.3
|
||||
sqlalchemy==2.0.51
|
||||
sqlparse==0.5.5
|
||||
starlette==1.3.1
|
||||
threadpoolctl==3.6.0
|
||||
tqdm==4.68.3
|
||||
typing-extensions==4.15.0
|
||||
typing-inspection==0.4.2
|
||||
tzdata==2026.2
|
||||
urllib3==2.7.0
|
||||
uvicorn==0.49.0
|
||||
waitress==3.0.2; sys_platform == "win32"
|
||||
wcwidth==0.8.1
|
||||
werkzeug==3.1.8
|
||||
yarl==1.24.2
|
||||
zipp==4.1.0
|
||||
2233
mlartifacts/1/models/m-2dc51e8e79f94c18a0d378720d48a0eb/artifacts/uv.lock
generated
Normal file
2233
mlartifacts/1/models/m-2dc51e8e79f94c18a0d378720d48a0eb/artifacts/uv.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1 @@
|
|||
3.13
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
artifact_path: mlflow-artifacts:/1/models/m-31c614c988524630a757d966d2a3220b/artifacts
|
||||
flavors:
|
||||
python_function:
|
||||
artifacts:
|
||||
model:
|
||||
path: artifacts/isolation_forest.pkl
|
||||
uri: /tmp/tmpd_ka64hb/isolation_forest.pkl
|
||||
cloudpickle_version: 3.1.2
|
||||
code: null
|
||||
env:
|
||||
conda: conda.yaml
|
||||
virtualenv: python_env.yaml
|
||||
loader_module: mlflow.pyfunc.model
|
||||
python_model: python_model.pkl
|
||||
python_version: 3.13.13
|
||||
streamable: false
|
||||
is_signature_from_type_hint: false
|
||||
mlflow_version: 3.14.0
|
||||
model_id: m-31c614c988524630a757d966d2a3220b
|
||||
model_size_bytes: 864949
|
||||
model_uuid: m-31c614c988524630a757d966d2a3220b
|
||||
prompts: null
|
||||
run_id: 5fe8485c80d24d909446203658755dc9
|
||||
signature:
|
||||
inputs: '[{"type": "double", "name": "session_start_sin", "required": true}, {"type":
|
||||
"double", "name": "session_start_cos", "required": true}, {"type": "double", "name":
|
||||
"session_end_sin", "required": true}, {"type": "double", "name": "session_end_cos",
|
||||
"required": true}, {"type": "double", "name": "event_count", "required": true},
|
||||
{"type": "double", "name": "unique_event_types", "required": true}, {"type": "double",
|
||||
"name": "screens_visited", "required": true}, {"type": "double", "name": "duration_seconds",
|
||||
"required": true}, {"type": "double", "name": "events_per_minute", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_mean_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_median_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_std_seconds", "required":
|
||||
true}, {"type": "double", "name": "max_inter_event_gap_seconds", "required": true},
|
||||
{"type": "double", "name": "session_start_hour", "required": true}, {"type": "double",
|
||||
"name": "session_day_of_week", "required": true}, {"type": "double", "name": "session_day_of_week_sin",
|
||||
"required": true}, {"type": "double", "name": "session_day_of_week_cos", "required":
|
||||
true}, {"type": "double", "name": "distinct_hours_active", "required": true}]'
|
||||
outputs: '[{"type": "long", "name": "prediction", "required": true}, {"type": "double",
|
||||
"name": "anomaly_score", "required": true}, {"type": "double", "name": "decision_score",
|
||||
"required": true}, {"type": "string", "name": "shap_values", "required": true}]'
|
||||
params: null
|
||||
type_hint_from_example: false
|
||||
utc_time_created: '2026-06-29 13:05:34.467379'
|
||||
Binary file not shown.
|
|
@ -0,0 +1,111 @@
|
|||
channels:
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python=3.13.13
|
||||
- pip
|
||||
- pip:
|
||||
- aiohappyeyeballs==2.6.2
|
||||
- aiohttp==3.14.1
|
||||
- aiosignal==1.4.0
|
||||
- alembic==1.18.4
|
||||
- annotated-doc==0.0.4
|
||||
- annotated-types==0.7.0
|
||||
- anyio==4.14.0
|
||||
- attrs==26.1.0
|
||||
- blinker==1.9.0
|
||||
- cachetools==7.1.4
|
||||
- certifi==2026.6.17
|
||||
- cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
- charset-normalizer==3.4.7
|
||||
- click==8.4.1
|
||||
- cloudpickle==3.1.2
|
||||
- colorama==0.4.6; sys_platform == "win32"
|
||||
- contourpy==1.3.3
|
||||
- cryptography==48.0.1
|
||||
- cycler==0.12.1
|
||||
- databricks-sdk==0.118.0
|
||||
- docker==7.1.0
|
||||
- fastapi==0.138.0
|
||||
- flask-cors==6.0.5
|
||||
- flask==3.1.3
|
||||
- fonttools==4.63.0
|
||||
- frozenlist==1.8.0
|
||||
- gitdb==4.0.12
|
||||
- gitpython==3.1.50
|
||||
- google-auth==2.55.0
|
||||
- graphene==3.4.3
|
||||
- graphql-core==3.2.11
|
||||
- graphql-relay==3.2.0
|
||||
- greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or
|
||||
platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine
|
||||
== "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
- gunicorn==26.0.0; sys_platform != "win32"
|
||||
- h11==0.16.0
|
||||
- huey==3.0.3
|
||||
- idna==3.18
|
||||
- importlib-metadata==9.0.0
|
||||
- itsdangerous==2.2.0
|
||||
- jinja2==3.1.6
|
||||
- joblib==1.5.3
|
||||
- kiwisolver==1.5.0
|
||||
- llvmlite==0.45.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- llvmlite==0.47.0; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- mako==1.3.12
|
||||
- markupsafe==3.0.3
|
||||
- matplotlib==3.11.0
|
||||
- mlflow-skinny==3.14.0
|
||||
- mlflow-tracing==3.14.0
|
||||
- mlflow==3.14.0
|
||||
- multidict==6.7.1
|
||||
- narwhals==2.22.1
|
||||
- numba==0.62.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- numba==0.65.1; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- numpy==2.3.5; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- numpy==2.4.6; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- opentelemetry-api==1.42.1
|
||||
- opentelemetry-proto==1.42.1
|
||||
- opentelemetry-sdk==1.42.1
|
||||
- opentelemetry-semantic-conventions==0.63b1
|
||||
- packaging==26.2
|
||||
- pandas==2.3.3
|
||||
- pillow==12.2.0
|
||||
- prettytable==3.17.0
|
||||
- propcache==0.5.2
|
||||
- protobuf==6.33.6
|
||||
- pyarrow==24.0.0
|
||||
- pyasn1-modules==0.4.2
|
||||
- pyasn1==0.6.3
|
||||
- pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation
|
||||
!= "PyPy"
|
||||
- pydantic-core==2.46.4
|
||||
- pydantic==2.13.4
|
||||
- pyparsing==3.3.2
|
||||
- python-dateutil==2.9.0.post0
|
||||
- python-dotenv==1.2.2
|
||||
- pytz==2026.2
|
||||
- pywin32==312; sys_platform == "win32"
|
||||
- pyyaml==6.0.3
|
||||
- requests==2.34.2
|
||||
- scikit-learn==1.9.0
|
||||
- scipy==1.18.0
|
||||
- shap==0.52.0
|
||||
- six==1.17.0
|
||||
- skops==0.14.0
|
||||
- slicer==0.0.8
|
||||
- smmap==5.0.3
|
||||
- sqlalchemy==2.0.51
|
||||
- sqlparse==0.5.5
|
||||
- starlette==1.3.1
|
||||
- threadpoolctl==3.6.0
|
||||
- tqdm==4.68.3
|
||||
- typing-extensions==4.15.0
|
||||
- typing-inspection==0.4.2
|
||||
- tzdata==2026.2
|
||||
- urllib3==2.7.0
|
||||
- uvicorn==0.49.0
|
||||
- waitress==3.0.2; sys_platform == "win32"
|
||||
- wcwidth==0.8.1
|
||||
- werkzeug==3.1.8
|
||||
- yarl==1.24.2
|
||||
- zipp==4.1.0
|
||||
name: mlflow-env
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
[project]
|
||||
name = "fraud-models"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
"mlflow>=3.14.0",
|
||||
"pandas>=2.3.3",
|
||||
"scikit-learn>=1.9.0",
|
||||
"shap>=0.52.0",
|
||||
]
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
python: 3.13.13
|
||||
build_dependencies:
|
||||
- pip
|
||||
- setuptools
|
||||
- wheel
|
||||
dependencies:
|
||||
- -r requirements.txt
|
||||
Binary file not shown.
|
|
@ -0,0 +1,101 @@
|
|||
aiohappyeyeballs==2.6.2
|
||||
aiohttp==3.14.1
|
||||
aiosignal==1.4.0
|
||||
alembic==1.18.4
|
||||
annotated-doc==0.0.4
|
||||
annotated-types==0.7.0
|
||||
anyio==4.14.0
|
||||
attrs==26.1.0
|
||||
blinker==1.9.0
|
||||
cachetools==7.1.4
|
||||
certifi==2026.6.17
|
||||
cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
charset-normalizer==3.4.7
|
||||
click==8.4.1
|
||||
cloudpickle==3.1.2
|
||||
colorama==0.4.6; sys_platform == "win32"
|
||||
contourpy==1.3.3
|
||||
cryptography==48.0.1
|
||||
cycler==0.12.1
|
||||
databricks-sdk==0.118.0
|
||||
docker==7.1.0
|
||||
fastapi==0.138.0
|
||||
flask-cors==6.0.5
|
||||
flask==3.1.3
|
||||
fonttools==4.63.0
|
||||
frozenlist==1.8.0
|
||||
gitdb==4.0.12
|
||||
gitpython==3.1.50
|
||||
google-auth==2.55.0
|
||||
graphene==3.4.3
|
||||
graphql-core==3.2.11
|
||||
graphql-relay==3.2.0
|
||||
greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine == "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
gunicorn==26.0.0; sys_platform != "win32"
|
||||
h11==0.16.0
|
||||
huey==3.0.3
|
||||
idna==3.18
|
||||
importlib-metadata==9.0.0
|
||||
itsdangerous==2.2.0
|
||||
jinja2==3.1.6
|
||||
joblib==1.5.3
|
||||
kiwisolver==1.5.0
|
||||
llvmlite==0.45.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
llvmlite==0.47.0; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
mako==1.3.12
|
||||
markupsafe==3.0.3
|
||||
matplotlib==3.11.0
|
||||
mlflow-skinny==3.14.0
|
||||
mlflow-tracing==3.14.0
|
||||
mlflow==3.14.0
|
||||
multidict==6.7.1
|
||||
narwhals==2.22.1
|
||||
numba==0.62.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
numba==0.65.1; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
numpy==2.3.5; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
numpy==2.4.6; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
opentelemetry-api==1.42.1
|
||||
opentelemetry-proto==1.42.1
|
||||
opentelemetry-sdk==1.42.1
|
||||
opentelemetry-semantic-conventions==0.63b1
|
||||
packaging==26.2
|
||||
pandas==2.3.3
|
||||
pillow==12.2.0
|
||||
prettytable==3.17.0
|
||||
propcache==0.5.2
|
||||
protobuf==6.33.6
|
||||
pyarrow==24.0.0
|
||||
pyasn1-modules==0.4.2
|
||||
pyasn1==0.6.3
|
||||
pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation != "PyPy"
|
||||
pydantic-core==2.46.4
|
||||
pydantic==2.13.4
|
||||
pyparsing==3.3.2
|
||||
python-dateutil==2.9.0.post0
|
||||
python-dotenv==1.2.2
|
||||
pytz==2026.2
|
||||
pywin32==312; sys_platform == "win32"
|
||||
pyyaml==6.0.3
|
||||
requests==2.34.2
|
||||
scikit-learn==1.9.0
|
||||
scipy==1.18.0
|
||||
shap==0.52.0
|
||||
six==1.17.0
|
||||
skops==0.14.0
|
||||
slicer==0.0.8
|
||||
smmap==5.0.3
|
||||
sqlalchemy==2.0.51
|
||||
sqlparse==0.5.5
|
||||
starlette==1.3.1
|
||||
threadpoolctl==3.6.0
|
||||
tqdm==4.68.3
|
||||
typing-extensions==4.15.0
|
||||
typing-inspection==0.4.2
|
||||
tzdata==2026.2
|
||||
urllib3==2.7.0
|
||||
uvicorn==0.49.0
|
||||
waitress==3.0.2; sys_platform == "win32"
|
||||
wcwidth==0.8.1
|
||||
werkzeug==3.1.8
|
||||
yarl==1.24.2
|
||||
zipp==4.1.0
|
||||
2233
mlartifacts/1/models/m-31c614c988524630a757d966d2a3220b/artifacts/uv.lock
generated
Normal file
2233
mlartifacts/1/models/m-31c614c988524630a757d966d2a3220b/artifacts/uv.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1 @@
|
|||
3.13
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
artifact_path: mlflow-artifacts:/1/models/m-6ac644eb55404d39a88c3828aabc2ada/artifacts
|
||||
flavors:
|
||||
python_function:
|
||||
artifacts:
|
||||
model:
|
||||
path: artifacts/isolation_forest.pkl
|
||||
uri: /tmp/tmppmg7urf4/isolation_forest.pkl
|
||||
cloudpickle_version: 3.1.2
|
||||
code: null
|
||||
env:
|
||||
conda: conda.yaml
|
||||
virtualenv: python_env.yaml
|
||||
loader_module: mlflow.pyfunc.model
|
||||
python_model: python_model.pkl
|
||||
python_version: 3.13.13
|
||||
streamable: false
|
||||
is_signature_from_type_hint: false
|
||||
mlflow_version: 3.14.0
|
||||
model_id: m-6ac644eb55404d39a88c3828aabc2ada
|
||||
model_size_bytes: 1212421
|
||||
model_uuid: m-6ac644eb55404d39a88c3828aabc2ada
|
||||
prompts: null
|
||||
run_id: d6640a1202b44ae5ad3192e70cdf384b
|
||||
signature:
|
||||
inputs: '[{"type": "double", "name": "session_start_sin", "required": true}, {"type":
|
||||
"double", "name": "session_start_cos", "required": true}, {"type": "double", "name":
|
||||
"session_end_sin", "required": true}, {"type": "double", "name": "session_end_cos",
|
||||
"required": true}, {"type": "double", "name": "event_count", "required": true},
|
||||
{"type": "double", "name": "unique_event_types", "required": true}, {"type": "double",
|
||||
"name": "screens_visited", "required": true}, {"type": "double", "name": "duration_seconds",
|
||||
"required": true}, {"type": "double", "name": "events_per_minute", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_mean_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_median_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_std_seconds", "required":
|
||||
true}, {"type": "double", "name": "max_inter_event_gap_seconds", "required": true},
|
||||
{"type": "double", "name": "session_start_hour", "required": true}, {"type": "double",
|
||||
"name": "session_day_of_week", "required": true}, {"type": "double", "name": "session_day_of_week_sin",
|
||||
"required": true}, {"type": "double", "name": "session_day_of_week_cos", "required":
|
||||
true}, {"type": "double", "name": "distinct_hours_active", "required": true}]'
|
||||
outputs: '[{"type": "long", "name": "prediction", "required": true}, {"type": "double",
|
||||
"name": "anomaly_score", "required": true}, {"type": "double", "name": "decision_score",
|
||||
"required": true}, {"type": "string", "name": "shap_values", "required": true}]'
|
||||
params: null
|
||||
type_hint_from_example: false
|
||||
utc_time_created: '2026-06-29 13:09:33.978993'
|
||||
Binary file not shown.
|
|
@ -0,0 +1,111 @@
|
|||
channels:
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python=3.13.13
|
||||
- pip
|
||||
- pip:
|
||||
- aiohappyeyeballs==2.6.2
|
||||
- aiohttp==3.14.1
|
||||
- aiosignal==1.4.0
|
||||
- alembic==1.18.4
|
||||
- annotated-doc==0.0.4
|
||||
- annotated-types==0.7.0
|
||||
- anyio==4.14.0
|
||||
- attrs==26.1.0
|
||||
- blinker==1.9.0
|
||||
- cachetools==7.1.4
|
||||
- certifi==2026.6.17
|
||||
- cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
- charset-normalizer==3.4.7
|
||||
- click==8.4.1
|
||||
- cloudpickle==3.1.2
|
||||
- colorama==0.4.6; sys_platform == "win32"
|
||||
- contourpy==1.3.3
|
||||
- cryptography==48.0.1
|
||||
- cycler==0.12.1
|
||||
- databricks-sdk==0.118.0
|
||||
- docker==7.1.0
|
||||
- fastapi==0.138.0
|
||||
- flask-cors==6.0.5
|
||||
- flask==3.1.3
|
||||
- fonttools==4.63.0
|
||||
- frozenlist==1.8.0
|
||||
- gitdb==4.0.12
|
||||
- gitpython==3.1.50
|
||||
- google-auth==2.55.0
|
||||
- graphene==3.4.3
|
||||
- graphql-core==3.2.11
|
||||
- graphql-relay==3.2.0
|
||||
- greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or
|
||||
platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine
|
||||
== "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
- gunicorn==26.0.0; sys_platform != "win32"
|
||||
- h11==0.16.0
|
||||
- huey==3.0.3
|
||||
- idna==3.18
|
||||
- importlib-metadata==9.0.0
|
||||
- itsdangerous==2.2.0
|
||||
- jinja2==3.1.6
|
||||
- joblib==1.5.3
|
||||
- kiwisolver==1.5.0
|
||||
- llvmlite==0.45.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- llvmlite==0.47.0; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- mako==1.3.12
|
||||
- markupsafe==3.0.3
|
||||
- matplotlib==3.11.0
|
||||
- mlflow-skinny==3.14.0
|
||||
- mlflow-tracing==3.14.0
|
||||
- mlflow==3.14.0
|
||||
- multidict==6.7.1
|
||||
- narwhals==2.22.1
|
||||
- numba==0.62.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- numba==0.65.1; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- numpy==2.3.5; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- numpy==2.4.6; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- opentelemetry-api==1.42.1
|
||||
- opentelemetry-proto==1.42.1
|
||||
- opentelemetry-sdk==1.42.1
|
||||
- opentelemetry-semantic-conventions==0.63b1
|
||||
- packaging==26.2
|
||||
- pandas==2.3.3
|
||||
- pillow==12.2.0
|
||||
- prettytable==3.17.0
|
||||
- propcache==0.5.2
|
||||
- protobuf==6.33.6
|
||||
- pyarrow==24.0.0
|
||||
- pyasn1-modules==0.4.2
|
||||
- pyasn1==0.6.3
|
||||
- pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation
|
||||
!= "PyPy"
|
||||
- pydantic-core==2.46.4
|
||||
- pydantic==2.13.4
|
||||
- pyparsing==3.3.2
|
||||
- python-dateutil==2.9.0.post0
|
||||
- python-dotenv==1.2.2
|
||||
- pytz==2026.2
|
||||
- pywin32==312; sys_platform == "win32"
|
||||
- pyyaml==6.0.3
|
||||
- requests==2.34.2
|
||||
- scikit-learn==1.9.0
|
||||
- scipy==1.18.0
|
||||
- shap==0.52.0
|
||||
- six==1.17.0
|
||||
- skops==0.14.0
|
||||
- slicer==0.0.8
|
||||
- smmap==5.0.3
|
||||
- sqlalchemy==2.0.51
|
||||
- sqlparse==0.5.5
|
||||
- starlette==1.3.1
|
||||
- threadpoolctl==3.6.0
|
||||
- tqdm==4.68.3
|
||||
- typing-extensions==4.15.0
|
||||
- typing-inspection==0.4.2
|
||||
- tzdata==2026.2
|
||||
- urllib3==2.7.0
|
||||
- uvicorn==0.49.0
|
||||
- waitress==3.0.2; sys_platform == "win32"
|
||||
- wcwidth==0.8.1
|
||||
- werkzeug==3.1.8
|
||||
- yarl==1.24.2
|
||||
- zipp==4.1.0
|
||||
name: mlflow-env
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
[project]
|
||||
name = "fraud-models"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
"mlflow>=3.14.0",
|
||||
"pandas>=2.3.3",
|
||||
"scikit-learn>=1.9.0",
|
||||
"shap>=0.52.0",
|
||||
]
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
python: 3.13.13
|
||||
build_dependencies:
|
||||
- pip
|
||||
- setuptools
|
||||
- wheel
|
||||
dependencies:
|
||||
- -r requirements.txt
|
||||
Binary file not shown.
|
|
@ -0,0 +1,101 @@
|
|||
aiohappyeyeballs==2.6.2
|
||||
aiohttp==3.14.1
|
||||
aiosignal==1.4.0
|
||||
alembic==1.18.4
|
||||
annotated-doc==0.0.4
|
||||
annotated-types==0.7.0
|
||||
anyio==4.14.0
|
||||
attrs==26.1.0
|
||||
blinker==1.9.0
|
||||
cachetools==7.1.4
|
||||
certifi==2026.6.17
|
||||
cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
charset-normalizer==3.4.7
|
||||
click==8.4.1
|
||||
cloudpickle==3.1.2
|
||||
colorama==0.4.6; sys_platform == "win32"
|
||||
contourpy==1.3.3
|
||||
cryptography==48.0.1
|
||||
cycler==0.12.1
|
||||
databricks-sdk==0.118.0
|
||||
docker==7.1.0
|
||||
fastapi==0.138.0
|
||||
flask-cors==6.0.5
|
||||
flask==3.1.3
|
||||
fonttools==4.63.0
|
||||
frozenlist==1.8.0
|
||||
gitdb==4.0.12
|
||||
gitpython==3.1.50
|
||||
google-auth==2.55.0
|
||||
graphene==3.4.3
|
||||
graphql-core==3.2.11
|
||||
graphql-relay==3.2.0
|
||||
greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine == "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
gunicorn==26.0.0; sys_platform != "win32"
|
||||
h11==0.16.0
|
||||
huey==3.0.3
|
||||
idna==3.18
|
||||
importlib-metadata==9.0.0
|
||||
itsdangerous==2.2.0
|
||||
jinja2==3.1.6
|
||||
joblib==1.5.3
|
||||
kiwisolver==1.5.0
|
||||
llvmlite==0.45.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
llvmlite==0.47.0; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
mako==1.3.12
|
||||
markupsafe==3.0.3
|
||||
matplotlib==3.11.0
|
||||
mlflow-skinny==3.14.0
|
||||
mlflow-tracing==3.14.0
|
||||
mlflow==3.14.0
|
||||
multidict==6.7.1
|
||||
narwhals==2.22.1
|
||||
numba==0.62.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
numba==0.65.1; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
numpy==2.3.5; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
numpy==2.4.6; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
opentelemetry-api==1.42.1
|
||||
opentelemetry-proto==1.42.1
|
||||
opentelemetry-sdk==1.42.1
|
||||
opentelemetry-semantic-conventions==0.63b1
|
||||
packaging==26.2
|
||||
pandas==2.3.3
|
||||
pillow==12.2.0
|
||||
prettytable==3.17.0
|
||||
propcache==0.5.2
|
||||
protobuf==6.33.6
|
||||
pyarrow==24.0.0
|
||||
pyasn1-modules==0.4.2
|
||||
pyasn1==0.6.3
|
||||
pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation != "PyPy"
|
||||
pydantic-core==2.46.4
|
||||
pydantic==2.13.4
|
||||
pyparsing==3.3.2
|
||||
python-dateutil==2.9.0.post0
|
||||
python-dotenv==1.2.2
|
||||
pytz==2026.2
|
||||
pywin32==312; sys_platform == "win32"
|
||||
pyyaml==6.0.3
|
||||
requests==2.34.2
|
||||
scikit-learn==1.9.0
|
||||
scipy==1.18.0
|
||||
shap==0.52.0
|
||||
six==1.17.0
|
||||
skops==0.14.0
|
||||
slicer==0.0.8
|
||||
smmap==5.0.3
|
||||
sqlalchemy==2.0.51
|
||||
sqlparse==0.5.5
|
||||
starlette==1.3.1
|
||||
threadpoolctl==3.6.0
|
||||
tqdm==4.68.3
|
||||
typing-extensions==4.15.0
|
||||
typing-inspection==0.4.2
|
||||
tzdata==2026.2
|
||||
urllib3==2.7.0
|
||||
uvicorn==0.49.0
|
||||
waitress==3.0.2; sys_platform == "win32"
|
||||
wcwidth==0.8.1
|
||||
werkzeug==3.1.8
|
||||
yarl==1.24.2
|
||||
zipp==4.1.0
|
||||
2233
mlartifacts/1/models/m-6ac644eb55404d39a88c3828aabc2ada/artifacts/uv.lock
generated
Normal file
2233
mlartifacts/1/models/m-6ac644eb55404d39a88c3828aabc2ada/artifacts/uv.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1 @@
|
|||
3.13
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
artifact_path: mlflow-artifacts:/1/models/m-971b20e96e4c45b38da2cf065b748c8e/artifacts
|
||||
flavors:
|
||||
python_function:
|
||||
artifacts:
|
||||
model:
|
||||
path: artifacts/isolation_forest.pkl
|
||||
uri: /tmp/tmp4gbyuxi6/isolation_forest.pkl
|
||||
cloudpickle_version: 3.1.2
|
||||
code: null
|
||||
env:
|
||||
conda: conda.yaml
|
||||
virtualenv: python_env.yaml
|
||||
loader_module: mlflow.pyfunc.model
|
||||
python_model: python_model.pkl
|
||||
python_version: 3.13.13
|
||||
streamable: false
|
||||
is_signature_from_type_hint: false
|
||||
mlflow_version: 3.14.0
|
||||
model_id: m-971b20e96e4c45b38da2cf065b748c8e
|
||||
model_size_bytes: 864949
|
||||
model_uuid: m-971b20e96e4c45b38da2cf065b748c8e
|
||||
prompts: null
|
||||
run_id: 31647408dfb9433aa6fbc14ede01764c
|
||||
signature:
|
||||
inputs: '[{"type": "double", "name": "session_start_sin", "required": true}, {"type":
|
||||
"double", "name": "session_start_cos", "required": true}, {"type": "double", "name":
|
||||
"session_end_sin", "required": true}, {"type": "double", "name": "session_end_cos",
|
||||
"required": true}, {"type": "double", "name": "event_count", "required": true},
|
||||
{"type": "double", "name": "unique_event_types", "required": true}, {"type": "double",
|
||||
"name": "screens_visited", "required": true}, {"type": "double", "name": "duration_seconds",
|
||||
"required": true}, {"type": "double", "name": "events_per_minute", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_mean_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_median_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_std_seconds", "required":
|
||||
true}, {"type": "double", "name": "max_inter_event_gap_seconds", "required": true},
|
||||
{"type": "double", "name": "session_start_hour", "required": true}, {"type": "double",
|
||||
"name": "session_day_of_week", "required": true}, {"type": "double", "name": "session_day_of_week_sin",
|
||||
"required": true}, {"type": "double", "name": "session_day_of_week_cos", "required":
|
||||
true}, {"type": "double", "name": "distinct_hours_active", "required": true}]'
|
||||
outputs: '[{"type": "long", "name": "prediction", "required": true}, {"type": "double",
|
||||
"name": "anomaly_score", "required": true}, {"type": "double", "name": "decision_score",
|
||||
"required": true}, {"type": "string", "name": "shap_values", "required": true}]'
|
||||
params: null
|
||||
type_hint_from_example: false
|
||||
utc_time_created: '2026-06-29 13:02:49.773239'
|
||||
Binary file not shown.
|
|
@ -0,0 +1,111 @@
|
|||
channels:
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python=3.13.13
|
||||
- pip
|
||||
- pip:
|
||||
- aiohappyeyeballs==2.6.2
|
||||
- aiohttp==3.14.1
|
||||
- aiosignal==1.4.0
|
||||
- alembic==1.18.4
|
||||
- annotated-doc==0.0.4
|
||||
- annotated-types==0.7.0
|
||||
- anyio==4.14.0
|
||||
- attrs==26.1.0
|
||||
- blinker==1.9.0
|
||||
- cachetools==7.1.4
|
||||
- certifi==2026.6.17
|
||||
- cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
- charset-normalizer==3.4.7
|
||||
- click==8.4.1
|
||||
- cloudpickle==3.1.2
|
||||
- colorama==0.4.6; sys_platform == "win32"
|
||||
- contourpy==1.3.3
|
||||
- cryptography==48.0.1
|
||||
- cycler==0.12.1
|
||||
- databricks-sdk==0.118.0
|
||||
- docker==7.1.0
|
||||
- fastapi==0.138.0
|
||||
- flask-cors==6.0.5
|
||||
- flask==3.1.3
|
||||
- fonttools==4.63.0
|
||||
- frozenlist==1.8.0
|
||||
- gitdb==4.0.12
|
||||
- gitpython==3.1.50
|
||||
- google-auth==2.55.0
|
||||
- graphene==3.4.3
|
||||
- graphql-core==3.2.11
|
||||
- graphql-relay==3.2.0
|
||||
- greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or
|
||||
platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine
|
||||
== "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
- gunicorn==26.0.0; sys_platform != "win32"
|
||||
- h11==0.16.0
|
||||
- huey==3.0.3
|
||||
- idna==3.18
|
||||
- importlib-metadata==9.0.0
|
||||
- itsdangerous==2.2.0
|
||||
- jinja2==3.1.6
|
||||
- joblib==1.5.3
|
||||
- kiwisolver==1.5.0
|
||||
- llvmlite==0.45.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- llvmlite==0.47.0; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- mako==1.3.12
|
||||
- markupsafe==3.0.3
|
||||
- matplotlib==3.11.0
|
||||
- mlflow-skinny==3.14.0
|
||||
- mlflow-tracing==3.14.0
|
||||
- mlflow==3.14.0
|
||||
- multidict==6.7.1
|
||||
- narwhals==2.22.1
|
||||
- numba==0.62.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- numba==0.65.1; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- numpy==2.3.5; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- numpy==2.4.6; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- opentelemetry-api==1.42.1
|
||||
- opentelemetry-proto==1.42.1
|
||||
- opentelemetry-sdk==1.42.1
|
||||
- opentelemetry-semantic-conventions==0.63b1
|
||||
- packaging==26.2
|
||||
- pandas==2.3.3
|
||||
- pillow==12.2.0
|
||||
- prettytable==3.17.0
|
||||
- propcache==0.5.2
|
||||
- protobuf==6.33.6
|
||||
- pyarrow==24.0.0
|
||||
- pyasn1-modules==0.4.2
|
||||
- pyasn1==0.6.3
|
||||
- pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation
|
||||
!= "PyPy"
|
||||
- pydantic-core==2.46.4
|
||||
- pydantic==2.13.4
|
||||
- pyparsing==3.3.2
|
||||
- python-dateutil==2.9.0.post0
|
||||
- python-dotenv==1.2.2
|
||||
- pytz==2026.2
|
||||
- pywin32==312; sys_platform == "win32"
|
||||
- pyyaml==6.0.3
|
||||
- requests==2.34.2
|
||||
- scikit-learn==1.9.0
|
||||
- scipy==1.18.0
|
||||
- shap==0.52.0
|
||||
- six==1.17.0
|
||||
- skops==0.14.0
|
||||
- slicer==0.0.8
|
||||
- smmap==5.0.3
|
||||
- sqlalchemy==2.0.51
|
||||
- sqlparse==0.5.5
|
||||
- starlette==1.3.1
|
||||
- threadpoolctl==3.6.0
|
||||
- tqdm==4.68.3
|
||||
- typing-extensions==4.15.0
|
||||
- typing-inspection==0.4.2
|
||||
- tzdata==2026.2
|
||||
- urllib3==2.7.0
|
||||
- uvicorn==0.49.0
|
||||
- waitress==3.0.2; sys_platform == "win32"
|
||||
- wcwidth==0.8.1
|
||||
- werkzeug==3.1.8
|
||||
- yarl==1.24.2
|
||||
- zipp==4.1.0
|
||||
name: mlflow-env
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
[project]
|
||||
name = "fraud-models"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
"mlflow>=3.14.0",
|
||||
"pandas>=2.3.3",
|
||||
"scikit-learn>=1.9.0",
|
||||
"shap>=0.52.0",
|
||||
]
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
python: 3.13.13
|
||||
build_dependencies:
|
||||
- pip
|
||||
- setuptools
|
||||
- wheel
|
||||
dependencies:
|
||||
- -r requirements.txt
|
||||
Binary file not shown.
|
|
@ -0,0 +1,101 @@
|
|||
aiohappyeyeballs==2.6.2
|
||||
aiohttp==3.14.1
|
||||
aiosignal==1.4.0
|
||||
alembic==1.18.4
|
||||
annotated-doc==0.0.4
|
||||
annotated-types==0.7.0
|
||||
anyio==4.14.0
|
||||
attrs==26.1.0
|
||||
blinker==1.9.0
|
||||
cachetools==7.1.4
|
||||
certifi==2026.6.17
|
||||
cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
charset-normalizer==3.4.7
|
||||
click==8.4.1
|
||||
cloudpickle==3.1.2
|
||||
colorama==0.4.6; sys_platform == "win32"
|
||||
contourpy==1.3.3
|
||||
cryptography==48.0.1
|
||||
cycler==0.12.1
|
||||
databricks-sdk==0.118.0
|
||||
docker==7.1.0
|
||||
fastapi==0.138.0
|
||||
flask-cors==6.0.5
|
||||
flask==3.1.3
|
||||
fonttools==4.63.0
|
||||
frozenlist==1.8.0
|
||||
gitdb==4.0.12
|
||||
gitpython==3.1.50
|
||||
google-auth==2.55.0
|
||||
graphene==3.4.3
|
||||
graphql-core==3.2.11
|
||||
graphql-relay==3.2.0
|
||||
greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine == "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
gunicorn==26.0.0; sys_platform != "win32"
|
||||
h11==0.16.0
|
||||
huey==3.0.3
|
||||
idna==3.18
|
||||
importlib-metadata==9.0.0
|
||||
itsdangerous==2.2.0
|
||||
jinja2==3.1.6
|
||||
joblib==1.5.3
|
||||
kiwisolver==1.5.0
|
||||
llvmlite==0.45.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
llvmlite==0.47.0; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
mako==1.3.12
|
||||
markupsafe==3.0.3
|
||||
matplotlib==3.11.0
|
||||
mlflow-skinny==3.14.0
|
||||
mlflow-tracing==3.14.0
|
||||
mlflow==3.14.0
|
||||
multidict==6.7.1
|
||||
narwhals==2.22.1
|
||||
numba==0.62.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
numba==0.65.1; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
numpy==2.3.5; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
numpy==2.4.6; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
opentelemetry-api==1.42.1
|
||||
opentelemetry-proto==1.42.1
|
||||
opentelemetry-sdk==1.42.1
|
||||
opentelemetry-semantic-conventions==0.63b1
|
||||
packaging==26.2
|
||||
pandas==2.3.3
|
||||
pillow==12.2.0
|
||||
prettytable==3.17.0
|
||||
propcache==0.5.2
|
||||
protobuf==6.33.6
|
||||
pyarrow==24.0.0
|
||||
pyasn1-modules==0.4.2
|
||||
pyasn1==0.6.3
|
||||
pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation != "PyPy"
|
||||
pydantic-core==2.46.4
|
||||
pydantic==2.13.4
|
||||
pyparsing==3.3.2
|
||||
python-dateutil==2.9.0.post0
|
||||
python-dotenv==1.2.2
|
||||
pytz==2026.2
|
||||
pywin32==312; sys_platform == "win32"
|
||||
pyyaml==6.0.3
|
||||
requests==2.34.2
|
||||
scikit-learn==1.9.0
|
||||
scipy==1.18.0
|
||||
shap==0.52.0
|
||||
six==1.17.0
|
||||
skops==0.14.0
|
||||
slicer==0.0.8
|
||||
smmap==5.0.3
|
||||
sqlalchemy==2.0.51
|
||||
sqlparse==0.5.5
|
||||
starlette==1.3.1
|
||||
threadpoolctl==3.6.0
|
||||
tqdm==4.68.3
|
||||
typing-extensions==4.15.0
|
||||
typing-inspection==0.4.2
|
||||
tzdata==2026.2
|
||||
urllib3==2.7.0
|
||||
uvicorn==0.49.0
|
||||
waitress==3.0.2; sys_platform == "win32"
|
||||
wcwidth==0.8.1
|
||||
werkzeug==3.1.8
|
||||
yarl==1.24.2
|
||||
zipp==4.1.0
|
||||
2233
mlartifacts/1/models/m-971b20e96e4c45b38da2cf065b748c8e/artifacts/uv.lock
generated
Normal file
2233
mlartifacts/1/models/m-971b20e96e4c45b38da2cf065b748c8e/artifacts/uv.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,43 @@
|
|||
artifact_path: mlflow-artifacts:/1/models/m-a5b341fcd80a45e0a6d086fdcb503e6b/artifacts
|
||||
flavors:
|
||||
python_function:
|
||||
env:
|
||||
conda: conda.yaml
|
||||
virtualenv: python_env.yaml
|
||||
loader_module: mlflow.sklearn
|
||||
model_path: model.skops
|
||||
predict_fn: predict
|
||||
python_version: 3.13.13
|
||||
sklearn:
|
||||
code: null
|
||||
pickled_model: model.skops
|
||||
serialization_format: skops
|
||||
sklearn_version: 1.9.0
|
||||
skops_trusted_types: null
|
||||
is_signature_from_type_hint: false
|
||||
mlflow_version: 3.14.0
|
||||
model_id: m-a5b341fcd80a45e0a6d086fdcb503e6b
|
||||
model_size_bytes: 2267941
|
||||
model_uuid: m-a5b341fcd80a45e0a6d086fdcb503e6b
|
||||
prompts: null
|
||||
run_id: 5554784b7c77407ba2095d40d21843ae
|
||||
signature:
|
||||
inputs: '[{"type": "double", "name": "session_start_sin", "required": true}, {"type":
|
||||
"double", "name": "session_start_cos", "required": true}, {"type": "double", "name":
|
||||
"session_end_sin", "required": true}, {"type": "double", "name": "session_end_cos",
|
||||
"required": true}, {"type": "double", "name": "event_count", "required": true},
|
||||
{"type": "double", "name": "unique_event_types", "required": true}, {"type": "double",
|
||||
"name": "screens_visited", "required": true}, {"type": "double", "name": "duration_seconds",
|
||||
"required": true}, {"type": "double", "name": "events_per_minute", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_mean_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_median_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_std_seconds", "required":
|
||||
true}, {"type": "double", "name": "max_inter_event_gap_seconds", "required": true},
|
||||
{"type": "double", "name": "session_start_hour", "required": true}, {"type": "double",
|
||||
"name": "session_day_of_week", "required": true}, {"type": "double", "name": "session_day_of_week_sin",
|
||||
"required": true}, {"type": "double", "name": "session_day_of_week_cos", "required":
|
||||
true}, {"type": "double", "name": "distinct_hours_active", "required": true}]'
|
||||
outputs: '[{"type": "tensor", "tensor-spec": {"dtype": "int64", "shape": [-1]}}]'
|
||||
params: null
|
||||
type_hint_from_example: false
|
||||
utc_time_created: '2026-06-22 13:32:22.612442'
|
||||
|
|
@ -0,0 +1,103 @@
|
|||
channels:
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python=3.13.13
|
||||
- pip
|
||||
- pip:
|
||||
- aiohappyeyeballs==2.6.2
|
||||
- aiohttp==3.14.1
|
||||
- aiosignal==1.4.0
|
||||
- alembic==1.18.4
|
||||
- annotated-doc==0.0.4
|
||||
- annotated-types==0.7.0
|
||||
- anyio==4.14.0
|
||||
- attrs==26.1.0
|
||||
- blinker==1.9.0
|
||||
- cachetools==7.1.4
|
||||
- certifi==2026.6.17
|
||||
- cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
- charset-normalizer==3.4.7
|
||||
- click==8.4.1
|
||||
- cloudpickle==3.1.2
|
||||
- colorama==0.4.6; sys_platform == "win32"
|
||||
- contourpy==1.3.3
|
||||
- cryptography==48.0.1
|
||||
- cycler==0.12.1
|
||||
- databricks-sdk==0.118.0
|
||||
- docker==7.1.0
|
||||
- fastapi==0.138.0
|
||||
- flask-cors==6.0.5
|
||||
- flask==3.1.3
|
||||
- fonttools==4.63.0
|
||||
- frozenlist==1.8.0
|
||||
- gitdb==4.0.12
|
||||
- gitpython==3.1.50
|
||||
- google-auth==2.55.0
|
||||
- graphene==3.4.3
|
||||
- graphql-core==3.2.11
|
||||
- graphql-relay==3.2.0
|
||||
- greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or
|
||||
platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine
|
||||
== "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
- gunicorn==26.0.0; sys_platform != "win32"
|
||||
- h11==0.16.0
|
||||
- huey==3.0.3
|
||||
- idna==3.18
|
||||
- importlib-metadata==9.0.0
|
||||
- itsdangerous==2.2.0
|
||||
- jinja2==3.1.6
|
||||
- joblib==1.5.3
|
||||
- kiwisolver==1.5.0
|
||||
- mako==1.3.12
|
||||
- markupsafe==3.0.3
|
||||
- matplotlib==3.11.0
|
||||
- mlflow-skinny==3.14.0
|
||||
- mlflow-tracing==3.14.0
|
||||
- mlflow==3.14.0
|
||||
- multidict==6.7.1
|
||||
- narwhals==2.22.1
|
||||
- numpy==2.4.6
|
||||
- opentelemetry-api==1.42.1
|
||||
- opentelemetry-proto==1.42.1
|
||||
- opentelemetry-sdk==1.42.1
|
||||
- opentelemetry-semantic-conventions==0.63b1
|
||||
- packaging==26.2
|
||||
- pandas==2.3.3
|
||||
- pillow==12.2.0
|
||||
- prettytable==3.17.0
|
||||
- propcache==0.5.2
|
||||
- protobuf==6.33.6
|
||||
- pyarrow==24.0.0
|
||||
- pyasn1-modules==0.4.2
|
||||
- pyasn1==0.6.3
|
||||
- pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation
|
||||
!= "PyPy"
|
||||
- pydantic-core==2.46.4
|
||||
- pydantic==2.13.4
|
||||
- pyparsing==3.3.2
|
||||
- python-dateutil==2.9.0.post0
|
||||
- python-dotenv==1.2.2
|
||||
- pytz==2026.2
|
||||
- pywin32==312; sys_platform == "win32"
|
||||
- pyyaml==6.0.3
|
||||
- requests==2.34.2
|
||||
- scikit-learn==1.9.0
|
||||
- scipy==1.18.0
|
||||
- six==1.17.0
|
||||
- skops==0.14.0
|
||||
- smmap==5.0.3
|
||||
- sqlalchemy==2.0.51
|
||||
- sqlparse==0.5.5
|
||||
- starlette==1.3.1
|
||||
- threadpoolctl==3.6.0
|
||||
- typing-extensions==4.15.0
|
||||
- typing-inspection==0.4.2
|
||||
- tzdata==2026.2
|
||||
- urllib3==2.7.0
|
||||
- uvicorn==0.49.0
|
||||
- waitress==3.0.2; sys_platform == "win32"
|
||||
- wcwidth==0.8.1
|
||||
- werkzeug==3.1.8
|
||||
- yarl==1.24.2
|
||||
- zipp==4.1.0
|
||||
name: mlflow-env
|
||||
Binary file not shown.
|
|
@ -0,0 +1,7 @@
|
|||
python: 3.13.13
|
||||
build_dependencies:
|
||||
- pip
|
||||
- setuptools
|
||||
- wheel
|
||||
dependencies:
|
||||
- -r requirements.txt
|
||||
|
|
@ -0,0 +1,93 @@
|
|||
aiohappyeyeballs==2.6.2
|
||||
aiohttp==3.14.1
|
||||
aiosignal==1.4.0
|
||||
alembic==1.18.4
|
||||
annotated-doc==0.0.4
|
||||
annotated-types==0.7.0
|
||||
anyio==4.14.0
|
||||
attrs==26.1.0
|
||||
blinker==1.9.0
|
||||
cachetools==7.1.4
|
||||
certifi==2026.6.17
|
||||
cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
charset-normalizer==3.4.7
|
||||
click==8.4.1
|
||||
cloudpickle==3.1.2
|
||||
colorama==0.4.6; sys_platform == "win32"
|
||||
contourpy==1.3.3
|
||||
cryptography==48.0.1
|
||||
cycler==0.12.1
|
||||
databricks-sdk==0.118.0
|
||||
docker==7.1.0
|
||||
fastapi==0.138.0
|
||||
flask-cors==6.0.5
|
||||
flask==3.1.3
|
||||
fonttools==4.63.0
|
||||
frozenlist==1.8.0
|
||||
gitdb==4.0.12
|
||||
gitpython==3.1.50
|
||||
google-auth==2.55.0
|
||||
graphene==3.4.3
|
||||
graphql-core==3.2.11
|
||||
graphql-relay==3.2.0
|
||||
greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine == "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
gunicorn==26.0.0; sys_platform != "win32"
|
||||
h11==0.16.0
|
||||
huey==3.0.3
|
||||
idna==3.18
|
||||
importlib-metadata==9.0.0
|
||||
itsdangerous==2.2.0
|
||||
jinja2==3.1.6
|
||||
joblib==1.5.3
|
||||
kiwisolver==1.5.0
|
||||
mako==1.3.12
|
||||
markupsafe==3.0.3
|
||||
matplotlib==3.11.0
|
||||
mlflow-skinny==3.14.0
|
||||
mlflow-tracing==3.14.0
|
||||
mlflow==3.14.0
|
||||
multidict==6.7.1
|
||||
narwhals==2.22.1
|
||||
numpy==2.4.6
|
||||
opentelemetry-api==1.42.1
|
||||
opentelemetry-proto==1.42.1
|
||||
opentelemetry-sdk==1.42.1
|
||||
opentelemetry-semantic-conventions==0.63b1
|
||||
packaging==26.2
|
||||
pandas==2.3.3
|
||||
pillow==12.2.0
|
||||
prettytable==3.17.0
|
||||
propcache==0.5.2
|
||||
protobuf==6.33.6
|
||||
pyarrow==24.0.0
|
||||
pyasn1-modules==0.4.2
|
||||
pyasn1==0.6.3
|
||||
pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation != "PyPy"
|
||||
pydantic-core==2.46.4
|
||||
pydantic==2.13.4
|
||||
pyparsing==3.3.2
|
||||
python-dateutil==2.9.0.post0
|
||||
python-dotenv==1.2.2
|
||||
pytz==2026.2
|
||||
pywin32==312; sys_platform == "win32"
|
||||
pyyaml==6.0.3
|
||||
requests==2.34.2
|
||||
scikit-learn==1.9.0
|
||||
scipy==1.18.0
|
||||
six==1.17.0
|
||||
skops==0.14.0
|
||||
smmap==5.0.3
|
||||
sqlalchemy==2.0.51
|
||||
sqlparse==0.5.5
|
||||
starlette==1.3.1
|
||||
threadpoolctl==3.6.0
|
||||
typing-extensions==4.15.0
|
||||
typing-inspection==0.4.2
|
||||
tzdata==2026.2
|
||||
urllib3==2.7.0
|
||||
uvicorn==0.49.0
|
||||
waitress==3.0.2; sys_platform == "win32"
|
||||
wcwidth==0.8.1
|
||||
werkzeug==3.1.8
|
||||
yarl==1.24.2
|
||||
zipp==4.1.0
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
artifact_path: mlflow-artifacts:/1/models/m-acf59e64090c4983aedf4f38e00e88d8/artifacts
|
||||
flavors:
|
||||
python_function:
|
||||
env:
|
||||
conda: conda.yaml
|
||||
virtualenv: python_env.yaml
|
||||
loader_module: mlflow.sklearn
|
||||
model_path: model.skops
|
||||
predict_fn: predict
|
||||
python_version: 3.13.13
|
||||
sklearn:
|
||||
code: null
|
||||
pickled_model: model.skops
|
||||
serialization_format: skops
|
||||
sklearn_version: 1.9.0
|
||||
skops_trusted_types: null
|
||||
is_signature_from_type_hint: false
|
||||
mlflow_version: 3.14.0
|
||||
model_id: m-acf59e64090c4983aedf4f38e00e88d8
|
||||
model_size_bytes: 2295049
|
||||
model_uuid: m-acf59e64090c4983aedf4f38e00e88d8
|
||||
prompts: null
|
||||
run_id: de53e59b4bc94d78b16095f85c342d5a
|
||||
signature:
|
||||
inputs: '[{"type": "double", "name": "session_start_sin", "required": true}, {"type":
|
||||
"double", "name": "session_start_cos", "required": true}, {"type": "double", "name":
|
||||
"session_end_sin", "required": true}, {"type": "double", "name": "session_end_cos",
|
||||
"required": true}, {"type": "double", "name": "event_count", "required": true},
|
||||
{"type": "double", "name": "unique_event_types", "required": true}, {"type": "double",
|
||||
"name": "screens_visited", "required": true}, {"type": "double", "name": "duration_seconds",
|
||||
"required": true}, {"type": "double", "name": "events_per_minute", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_mean_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_median_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_std_seconds", "required":
|
||||
true}, {"type": "double", "name": "max_inter_event_gap_seconds", "required": true},
|
||||
{"type": "double", "name": "session_start_hour", "required": true}, {"type": "double",
|
||||
"name": "session_day_of_week", "required": true}, {"type": "double", "name": "session_day_of_week_sin",
|
||||
"required": true}, {"type": "double", "name": "session_day_of_week_cos", "required":
|
||||
true}, {"type": "double", "name": "distinct_hours_active", "required": true}]'
|
||||
outputs: '[{"type": "tensor", "tensor-spec": {"dtype": "int64", "shape": [-1]}}]'
|
||||
params: null
|
||||
type_hint_from_example: false
|
||||
utc_time_created: '2026-06-22 09:04:35.192681'
|
||||
|
|
@ -0,0 +1,103 @@
|
|||
channels:
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python=3.13.13
|
||||
- pip
|
||||
- pip:
|
||||
- aiohappyeyeballs==2.6.2
|
||||
- aiohttp==3.14.1
|
||||
- aiosignal==1.4.0
|
||||
- alembic==1.18.4
|
||||
- annotated-doc==0.0.4
|
||||
- annotated-types==0.7.0
|
||||
- anyio==4.14.0
|
||||
- attrs==26.1.0
|
||||
- blinker==1.9.0
|
||||
- cachetools==7.1.4
|
||||
- certifi==2026.6.17
|
||||
- cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
- charset-normalizer==3.4.7
|
||||
- click==8.4.1
|
||||
- cloudpickle==3.1.2
|
||||
- colorama==0.4.6; sys_platform == "win32"
|
||||
- contourpy==1.3.3
|
||||
- cryptography==48.0.1
|
||||
- cycler==0.12.1
|
||||
- databricks-sdk==0.118.0
|
||||
- docker==7.1.0
|
||||
- fastapi==0.138.0
|
||||
- flask-cors==6.0.5
|
||||
- flask==3.1.3
|
||||
- fonttools==4.63.0
|
||||
- frozenlist==1.8.0
|
||||
- gitdb==4.0.12
|
||||
- gitpython==3.1.50
|
||||
- google-auth==2.55.0
|
||||
- graphene==3.4.3
|
||||
- graphql-core==3.2.11
|
||||
- graphql-relay==3.2.0
|
||||
- greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or
|
||||
platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine
|
||||
== "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
- gunicorn==26.0.0; sys_platform != "win32"
|
||||
- h11==0.16.0
|
||||
- huey==3.0.3
|
||||
- idna==3.18
|
||||
- importlib-metadata==9.0.0
|
||||
- itsdangerous==2.2.0
|
||||
- jinja2==3.1.6
|
||||
- joblib==1.5.3
|
||||
- kiwisolver==1.5.0
|
||||
- mako==1.3.12
|
||||
- markupsafe==3.0.3
|
||||
- matplotlib==3.11.0
|
||||
- mlflow-skinny==3.14.0
|
||||
- mlflow-tracing==3.14.0
|
||||
- mlflow==3.14.0
|
||||
- multidict==6.7.1
|
||||
- narwhals==2.22.1
|
||||
- numpy==2.4.6
|
||||
- opentelemetry-api==1.42.1
|
||||
- opentelemetry-proto==1.42.1
|
||||
- opentelemetry-sdk==1.42.1
|
||||
- opentelemetry-semantic-conventions==0.63b1
|
||||
- packaging==26.2
|
||||
- pandas==2.3.3
|
||||
- pillow==12.2.0
|
||||
- prettytable==3.17.0
|
||||
- propcache==0.5.2
|
||||
- protobuf==6.33.6
|
||||
- pyarrow==24.0.0
|
||||
- pyasn1-modules==0.4.2
|
||||
- pyasn1==0.6.3
|
||||
- pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation
|
||||
!= "PyPy"
|
||||
- pydantic-core==2.46.4
|
||||
- pydantic==2.13.4
|
||||
- pyparsing==3.3.2
|
||||
- python-dateutil==2.9.0.post0
|
||||
- python-dotenv==1.2.2
|
||||
- pytz==2026.2
|
||||
- pywin32==312; sys_platform == "win32"
|
||||
- pyyaml==6.0.3
|
||||
- requests==2.34.2
|
||||
- scikit-learn==1.9.0
|
||||
- scipy==1.18.0
|
||||
- six==1.17.0
|
||||
- skops==0.14.0
|
||||
- smmap==5.0.3
|
||||
- sqlalchemy==2.0.51
|
||||
- sqlparse==0.5.5
|
||||
- starlette==1.3.1
|
||||
- threadpoolctl==3.6.0
|
||||
- typing-extensions==4.15.0
|
||||
- typing-inspection==0.4.2
|
||||
- tzdata==2026.2
|
||||
- urllib3==2.7.0
|
||||
- uvicorn==0.49.0
|
||||
- waitress==3.0.2; sys_platform == "win32"
|
||||
- wcwidth==0.8.1
|
||||
- werkzeug==3.1.8
|
||||
- yarl==1.24.2
|
||||
- zipp==4.1.0
|
||||
name: mlflow-env
|
||||
Binary file not shown.
|
|
@ -0,0 +1,7 @@
|
|||
python: 3.13.13
|
||||
build_dependencies:
|
||||
- pip
|
||||
- setuptools
|
||||
- wheel
|
||||
dependencies:
|
||||
- -r requirements.txt
|
||||
|
|
@ -0,0 +1,93 @@
|
|||
aiohappyeyeballs==2.6.2
|
||||
aiohttp==3.14.1
|
||||
aiosignal==1.4.0
|
||||
alembic==1.18.4
|
||||
annotated-doc==0.0.4
|
||||
annotated-types==0.7.0
|
||||
anyio==4.14.0
|
||||
attrs==26.1.0
|
||||
blinker==1.9.0
|
||||
cachetools==7.1.4
|
||||
certifi==2026.6.17
|
||||
cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
charset-normalizer==3.4.7
|
||||
click==8.4.1
|
||||
cloudpickle==3.1.2
|
||||
colorama==0.4.6; sys_platform == "win32"
|
||||
contourpy==1.3.3
|
||||
cryptography==48.0.1
|
||||
cycler==0.12.1
|
||||
databricks-sdk==0.118.0
|
||||
docker==7.1.0
|
||||
fastapi==0.138.0
|
||||
flask-cors==6.0.5
|
||||
flask==3.1.3
|
||||
fonttools==4.63.0
|
||||
frozenlist==1.8.0
|
||||
gitdb==4.0.12
|
||||
gitpython==3.1.50
|
||||
google-auth==2.55.0
|
||||
graphene==3.4.3
|
||||
graphql-core==3.2.11
|
||||
graphql-relay==3.2.0
|
||||
greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine == "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
gunicorn==26.0.0; sys_platform != "win32"
|
||||
h11==0.16.0
|
||||
huey==3.0.3
|
||||
idna==3.18
|
||||
importlib-metadata==9.0.0
|
||||
itsdangerous==2.2.0
|
||||
jinja2==3.1.6
|
||||
joblib==1.5.3
|
||||
kiwisolver==1.5.0
|
||||
mako==1.3.12
|
||||
markupsafe==3.0.3
|
||||
matplotlib==3.11.0
|
||||
mlflow-skinny==3.14.0
|
||||
mlflow-tracing==3.14.0
|
||||
mlflow==3.14.0
|
||||
multidict==6.7.1
|
||||
narwhals==2.22.1
|
||||
numpy==2.4.6
|
||||
opentelemetry-api==1.42.1
|
||||
opentelemetry-proto==1.42.1
|
||||
opentelemetry-sdk==1.42.1
|
||||
opentelemetry-semantic-conventions==0.63b1
|
||||
packaging==26.2
|
||||
pandas==2.3.3
|
||||
pillow==12.2.0
|
||||
prettytable==3.17.0
|
||||
propcache==0.5.2
|
||||
protobuf==6.33.6
|
||||
pyarrow==24.0.0
|
||||
pyasn1-modules==0.4.2
|
||||
pyasn1==0.6.3
|
||||
pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation != "PyPy"
|
||||
pydantic-core==2.46.4
|
||||
pydantic==2.13.4
|
||||
pyparsing==3.3.2
|
||||
python-dateutil==2.9.0.post0
|
||||
python-dotenv==1.2.2
|
||||
pytz==2026.2
|
||||
pywin32==312; sys_platform == "win32"
|
||||
pyyaml==6.0.3
|
||||
requests==2.34.2
|
||||
scikit-learn==1.9.0
|
||||
scipy==1.18.0
|
||||
six==1.17.0
|
||||
skops==0.14.0
|
||||
smmap==5.0.3
|
||||
sqlalchemy==2.0.51
|
||||
sqlparse==0.5.5
|
||||
starlette==1.3.1
|
||||
threadpoolctl==3.6.0
|
||||
typing-extensions==4.15.0
|
||||
typing-inspection==0.4.2
|
||||
tzdata==2026.2
|
||||
urllib3==2.7.0
|
||||
uvicorn==0.49.0
|
||||
waitress==3.0.2; sys_platform == "win32"
|
||||
wcwidth==0.8.1
|
||||
werkzeug==3.1.8
|
||||
yarl==1.24.2
|
||||
zipp==4.1.0
|
||||
|
|
@ -0,0 +1 @@
|
|||
3.13
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
artifact_path: mlflow-artifacts:/1/models/m-bd3c0c136325420f968da246eb391a3f/artifacts
|
||||
flavors:
|
||||
python_function:
|
||||
artifacts:
|
||||
model:
|
||||
path: artifacts/isolation_forest.pkl
|
||||
uri: /tmp/tmp7_w11p5z/isolation_forest.pkl
|
||||
cloudpickle_version: 3.1.2
|
||||
code: null
|
||||
env:
|
||||
conda: conda.yaml
|
||||
virtualenv: python_env.yaml
|
||||
loader_module: mlflow.pyfunc.model
|
||||
python_model: python_model.pkl
|
||||
python_version: 3.13.13
|
||||
streamable: false
|
||||
is_signature_from_type_hint: false
|
||||
mlflow_version: 3.14.0
|
||||
model_id: m-bd3c0c136325420f968da246eb391a3f
|
||||
model_size_bytes: 1247806
|
||||
model_uuid: m-bd3c0c136325420f968da246eb391a3f
|
||||
prompts: null
|
||||
run_id: f127d3357648472a91f898dc506e2311
|
||||
signature:
|
||||
inputs: '[{"type": "double", "name": "session_start_sin", "required": true}, {"type":
|
||||
"double", "name": "session_start_cos", "required": true}, {"type": "double", "name":
|
||||
"session_end_sin", "required": true}, {"type": "double", "name": "session_end_cos",
|
||||
"required": true}, {"type": "double", "name": "event_count", "required": true},
|
||||
{"type": "double", "name": "unique_event_types", "required": true}, {"type": "double",
|
||||
"name": "screens_visited", "required": true}, {"type": "double", "name": "duration_seconds",
|
||||
"required": true}, {"type": "double", "name": "events_per_minute", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_mean_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_median_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_std_seconds", "required":
|
||||
true}, {"type": "double", "name": "max_inter_event_gap_seconds", "required": true},
|
||||
{"type": "double", "name": "session_start_hour", "required": true}, {"type": "double",
|
||||
"name": "session_day_of_week", "required": true}, {"type": "double", "name": "session_day_of_week_sin",
|
||||
"required": true}, {"type": "double", "name": "session_day_of_week_cos", "required":
|
||||
true}, {"type": "double", "name": "distinct_hours_active", "required": true}]'
|
||||
outputs: '[{"type": "long", "name": "prediction", "required": true}, {"type": "double",
|
||||
"name": "anomaly_score", "required": true}, {"type": "double", "name": "decision_score",
|
||||
"required": true}, {"type": "string", "name": "shap_values", "required": true}]'
|
||||
params: null
|
||||
type_hint_from_example: false
|
||||
utc_time_created: '2026-06-29 13:12:50.535445'
|
||||
Binary file not shown.
|
|
@ -0,0 +1,111 @@
|
|||
channels:
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python=3.13.13
|
||||
- pip
|
||||
- pip:
|
||||
- aiohappyeyeballs==2.6.2
|
||||
- aiohttp==3.14.1
|
||||
- aiosignal==1.4.0
|
||||
- alembic==1.18.4
|
||||
- annotated-doc==0.0.4
|
||||
- annotated-types==0.7.0
|
||||
- anyio==4.14.0
|
||||
- attrs==26.1.0
|
||||
- blinker==1.9.0
|
||||
- cachetools==7.1.4
|
||||
- certifi==2026.6.17
|
||||
- cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
- charset-normalizer==3.4.7
|
||||
- click==8.4.1
|
||||
- cloudpickle==3.1.2
|
||||
- colorama==0.4.6; sys_platform == "win32"
|
||||
- contourpy==1.3.3
|
||||
- cryptography==48.0.1
|
||||
- cycler==0.12.1
|
||||
- databricks-sdk==0.118.0
|
||||
- docker==7.1.0
|
||||
- fastapi==0.138.0
|
||||
- flask-cors==6.0.5
|
||||
- flask==3.1.3
|
||||
- fonttools==4.63.0
|
||||
- frozenlist==1.8.0
|
||||
- gitdb==4.0.12
|
||||
- gitpython==3.1.50
|
||||
- google-auth==2.55.0
|
||||
- graphene==3.4.3
|
||||
- graphql-core==3.2.11
|
||||
- graphql-relay==3.2.0
|
||||
- greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or
|
||||
platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine
|
||||
== "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
- gunicorn==26.0.0; sys_platform != "win32"
|
||||
- h11==0.16.0
|
||||
- huey==3.0.3
|
||||
- idna==3.18
|
||||
- importlib-metadata==9.0.0
|
||||
- itsdangerous==2.2.0
|
||||
- jinja2==3.1.6
|
||||
- joblib==1.5.3
|
||||
- kiwisolver==1.5.0
|
||||
- llvmlite==0.45.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- llvmlite==0.47.0; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- mako==1.3.12
|
||||
- markupsafe==3.0.3
|
||||
- matplotlib==3.11.0
|
||||
- mlflow-skinny==3.14.0
|
||||
- mlflow-tracing==3.14.0
|
||||
- mlflow==3.14.0
|
||||
- multidict==6.7.1
|
||||
- narwhals==2.22.1
|
||||
- numba==0.62.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- numba==0.65.1; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- numpy==2.3.5; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- numpy==2.4.6; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- opentelemetry-api==1.42.1
|
||||
- opentelemetry-proto==1.42.1
|
||||
- opentelemetry-sdk==1.42.1
|
||||
- opentelemetry-semantic-conventions==0.63b1
|
||||
- packaging==26.2
|
||||
- pandas==2.3.3
|
||||
- pillow==12.2.0
|
||||
- prettytable==3.17.0
|
||||
- propcache==0.5.2
|
||||
- protobuf==6.33.6
|
||||
- pyarrow==24.0.0
|
||||
- pyasn1-modules==0.4.2
|
||||
- pyasn1==0.6.3
|
||||
- pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation
|
||||
!= "PyPy"
|
||||
- pydantic-core==2.46.4
|
||||
- pydantic==2.13.4
|
||||
- pyparsing==3.3.2
|
||||
- python-dateutil==2.9.0.post0
|
||||
- python-dotenv==1.2.2
|
||||
- pytz==2026.2
|
||||
- pywin32==312; sys_platform == "win32"
|
||||
- pyyaml==6.0.3
|
||||
- requests==2.34.2
|
||||
- scikit-learn==1.9.0
|
||||
- scipy==1.18.0
|
||||
- shap==0.52.0
|
||||
- six==1.17.0
|
||||
- skops==0.14.0
|
||||
- slicer==0.0.8
|
||||
- smmap==5.0.3
|
||||
- sqlalchemy==2.0.51
|
||||
- sqlparse==0.5.5
|
||||
- starlette==1.3.1
|
||||
- threadpoolctl==3.6.0
|
||||
- tqdm==4.68.3
|
||||
- typing-extensions==4.15.0
|
||||
- typing-inspection==0.4.2
|
||||
- tzdata==2026.2
|
||||
- urllib3==2.7.0
|
||||
- uvicorn==0.49.0
|
||||
- waitress==3.0.2; sys_platform == "win32"
|
||||
- wcwidth==0.8.1
|
||||
- werkzeug==3.1.8
|
||||
- yarl==1.24.2
|
||||
- zipp==4.1.0
|
||||
name: mlflow-env
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
[project]
|
||||
name = "fraud-models"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
"mlflow>=3.14.0",
|
||||
"pandas>=2.3.3",
|
||||
"scikit-learn>=1.9.0",
|
||||
"shap>=0.52.0",
|
||||
]
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
python: 3.13.13
|
||||
build_dependencies:
|
||||
- pip
|
||||
- setuptools
|
||||
- wheel
|
||||
dependencies:
|
||||
- -r requirements.txt
|
||||
Binary file not shown.
|
|
@ -0,0 +1,101 @@
|
|||
aiohappyeyeballs==2.6.2
|
||||
aiohttp==3.14.1
|
||||
aiosignal==1.4.0
|
||||
alembic==1.18.4
|
||||
annotated-doc==0.0.4
|
||||
annotated-types==0.7.0
|
||||
anyio==4.14.0
|
||||
attrs==26.1.0
|
||||
blinker==1.9.0
|
||||
cachetools==7.1.4
|
||||
certifi==2026.6.17
|
||||
cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
charset-normalizer==3.4.7
|
||||
click==8.4.1
|
||||
cloudpickle==3.1.2
|
||||
colorama==0.4.6; sys_platform == "win32"
|
||||
contourpy==1.3.3
|
||||
cryptography==48.0.1
|
||||
cycler==0.12.1
|
||||
databricks-sdk==0.118.0
|
||||
docker==7.1.0
|
||||
fastapi==0.138.0
|
||||
flask-cors==6.0.5
|
||||
flask==3.1.3
|
||||
fonttools==4.63.0
|
||||
frozenlist==1.8.0
|
||||
gitdb==4.0.12
|
||||
gitpython==3.1.50
|
||||
google-auth==2.55.0
|
||||
graphene==3.4.3
|
||||
graphql-core==3.2.11
|
||||
graphql-relay==3.2.0
|
||||
greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine == "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
gunicorn==26.0.0; sys_platform != "win32"
|
||||
h11==0.16.0
|
||||
huey==3.0.3
|
||||
idna==3.18
|
||||
importlib-metadata==9.0.0
|
||||
itsdangerous==2.2.0
|
||||
jinja2==3.1.6
|
||||
joblib==1.5.3
|
||||
kiwisolver==1.5.0
|
||||
llvmlite==0.45.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
llvmlite==0.47.0; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
mako==1.3.12
|
||||
markupsafe==3.0.3
|
||||
matplotlib==3.11.0
|
||||
mlflow-skinny==3.14.0
|
||||
mlflow-tracing==3.14.0
|
||||
mlflow==3.14.0
|
||||
multidict==6.7.1
|
||||
narwhals==2.22.1
|
||||
numba==0.62.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
numba==0.65.1; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
numpy==2.3.5; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
numpy==2.4.6; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
opentelemetry-api==1.42.1
|
||||
opentelemetry-proto==1.42.1
|
||||
opentelemetry-sdk==1.42.1
|
||||
opentelemetry-semantic-conventions==0.63b1
|
||||
packaging==26.2
|
||||
pandas==2.3.3
|
||||
pillow==12.2.0
|
||||
prettytable==3.17.0
|
||||
propcache==0.5.2
|
||||
protobuf==6.33.6
|
||||
pyarrow==24.0.0
|
||||
pyasn1-modules==0.4.2
|
||||
pyasn1==0.6.3
|
||||
pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation != "PyPy"
|
||||
pydantic-core==2.46.4
|
||||
pydantic==2.13.4
|
||||
pyparsing==3.3.2
|
||||
python-dateutil==2.9.0.post0
|
||||
python-dotenv==1.2.2
|
||||
pytz==2026.2
|
||||
pywin32==312; sys_platform == "win32"
|
||||
pyyaml==6.0.3
|
||||
requests==2.34.2
|
||||
scikit-learn==1.9.0
|
||||
scipy==1.18.0
|
||||
shap==0.52.0
|
||||
six==1.17.0
|
||||
skops==0.14.0
|
||||
slicer==0.0.8
|
||||
smmap==5.0.3
|
||||
sqlalchemy==2.0.51
|
||||
sqlparse==0.5.5
|
||||
starlette==1.3.1
|
||||
threadpoolctl==3.6.0
|
||||
tqdm==4.68.3
|
||||
typing-extensions==4.15.0
|
||||
typing-inspection==0.4.2
|
||||
tzdata==2026.2
|
||||
urllib3==2.7.0
|
||||
uvicorn==0.49.0
|
||||
waitress==3.0.2; sys_platform == "win32"
|
||||
wcwidth==0.8.1
|
||||
werkzeug==3.1.8
|
||||
yarl==1.24.2
|
||||
zipp==4.1.0
|
||||
2233
mlartifacts/1/models/m-bd3c0c136325420f968da246eb391a3f/artifacts/uv.lock
generated
Normal file
2233
mlartifacts/1/models/m-bd3c0c136325420f968da246eb391a3f/artifacts/uv.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1 @@
|
|||
3.13
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
artifact_path: mlflow-artifacts:/1/models/m-cc16c062c0cc49fd97d4912bfebb0e75/artifacts
|
||||
flavors:
|
||||
python_function:
|
||||
artifacts:
|
||||
input_dim:
|
||||
path: artifacts/input_dim.txt
|
||||
uri: /tmp/tmpp1ktwuo_/input_dim.txt
|
||||
scaler:
|
||||
path: artifacts/scaler.pkl
|
||||
uri: /tmp/tmpp1ktwuo_/scaler.pkl
|
||||
threshold:
|
||||
path: artifacts/threshold.txt
|
||||
uri: /tmp/tmpp1ktwuo_/threshold.txt
|
||||
weights:
|
||||
path: artifacts/model.pt
|
||||
uri: /tmp/tmpp1ktwuo_/model.pt
|
||||
cloudpickle_version: 3.1.2
|
||||
code: null
|
||||
env:
|
||||
conda: conda.yaml
|
||||
virtualenv: python_env.yaml
|
||||
loader_module: mlflow.pyfunc.model
|
||||
python_model: python_model.pkl
|
||||
python_version: 3.13.13
|
||||
streamable: false
|
||||
is_signature_from_type_hint: false
|
||||
mlflow_version: 3.14.0
|
||||
model_id: m-cc16c062c0cc49fd97d4912bfebb0e75
|
||||
model_size_bytes: 41835
|
||||
model_uuid: m-cc16c062c0cc49fd97d4912bfebb0e75
|
||||
prompts: null
|
||||
run_id: 9b3eca8de2d8451da99d33b0569a828d
|
||||
signature:
|
||||
inputs: '[{"type": "double", "name": "session_start_sin", "required": true}, {"type":
|
||||
"double", "name": "session_start_cos", "required": true}, {"type": "double", "name":
|
||||
"session_end_sin", "required": true}, {"type": "double", "name": "session_end_cos",
|
||||
"required": true}, {"type": "double", "name": "event_count", "required": true},
|
||||
{"type": "double", "name": "unique_event_types", "required": true}, {"type": "double",
|
||||
"name": "screens_visited", "required": true}, {"type": "double", "name": "duration_seconds",
|
||||
"required": true}, {"type": "double", "name": "events_per_minute", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_mean_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_median_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_std_seconds", "required":
|
||||
true}, {"type": "double", "name": "max_inter_event_gap_seconds", "required": true},
|
||||
{"type": "double", "name": "session_start_hour", "required": true}, {"type": "double",
|
||||
"name": "session_day_of_week", "required": true}, {"type": "double", "name": "session_day_of_week_sin",
|
||||
"required": true}, {"type": "double", "name": "session_day_of_week_cos", "required":
|
||||
true}, {"type": "double", "name": "distinct_hours_active", "required": true}]'
|
||||
outputs: '[{"type": "long", "name": "prediction", "required": true}, {"type": "float",
|
||||
"name": "anomaly_score", "required": true}, {"type": "float", "name": "threshold",
|
||||
"required": true}]'
|
||||
params: null
|
||||
type_hint_from_example: false
|
||||
utc_time_created: '2026-07-01 08:00:57.265291'
|
||||
|
|
@ -0,0 +1 @@
|
|||
18
|
||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
0.034042023
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
channels:
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python=3.13.13
|
||||
- pip
|
||||
- pip:
|
||||
- aiohappyeyeballs==2.6.2
|
||||
- aiohttp==3.14.1
|
||||
- aiosignal==1.4.0
|
||||
- alembic==1.18.4
|
||||
- annotated-doc==0.0.4
|
||||
- annotated-types==0.7.0
|
||||
- anyio==4.14.0
|
||||
- attrs==26.1.0
|
||||
- blinker==1.9.0
|
||||
- cachetools==7.1.4
|
||||
- certifi==2026.6.17
|
||||
- cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
- charset-normalizer==3.4.7
|
||||
- click==8.4.1
|
||||
- cloudpickle==3.1.2
|
||||
- colorama==0.4.6; sys_platform == "win32"
|
||||
- contourpy==1.3.3
|
||||
- cryptography==48.0.1
|
||||
- cycler==0.12.1
|
||||
- databricks-sdk==0.118.0
|
||||
- docker==7.1.0
|
||||
- fastapi==0.138.0
|
||||
- flask-cors==6.0.5
|
||||
- flask==3.1.3
|
||||
- fonttools==4.63.0
|
||||
- frozenlist==1.8.0
|
||||
- gitdb==4.0.12
|
||||
- gitpython==3.1.50
|
||||
- google-auth==2.55.0
|
||||
- graphene==3.4.3
|
||||
- graphql-core==3.2.11
|
||||
- graphql-relay==3.2.0
|
||||
- greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or
|
||||
platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine
|
||||
== "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
- gunicorn==26.0.0; sys_platform != "win32"
|
||||
- h11==0.16.0
|
||||
- huey==3.0.3
|
||||
- idna==3.18
|
||||
- importlib-metadata==9.0.0
|
||||
- itsdangerous==2.2.0
|
||||
- jinja2==3.1.6
|
||||
- joblib==1.5.3
|
||||
- kiwisolver==1.5.0
|
||||
- llvmlite==0.45.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- llvmlite==0.47.0; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- mako==1.3.12
|
||||
- markupsafe==3.0.3
|
||||
- matplotlib==3.11.0
|
||||
- mlflow-skinny==3.14.0
|
||||
- mlflow-tracing==3.14.0
|
||||
- mlflow==3.14.0
|
||||
- multidict==6.7.1
|
||||
- narwhals==2.22.1
|
||||
- numba==0.62.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- numba==0.65.1; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- numpy==2.3.5; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- numpy==2.4.6; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- opentelemetry-api==1.42.1
|
||||
- opentelemetry-proto==1.42.1
|
||||
- opentelemetry-sdk==1.42.1
|
||||
- opentelemetry-semantic-conventions==0.63b1
|
||||
- packaging==26.2
|
||||
- pandas==2.3.3
|
||||
- pillow==12.2.0
|
||||
- prettytable==3.17.0
|
||||
- propcache==0.5.2
|
||||
- protobuf==6.33.6
|
||||
- pyarrow==24.0.0
|
||||
- pyasn1-modules==0.4.2
|
||||
- pyasn1==0.6.3
|
||||
- pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation
|
||||
!= "PyPy"
|
||||
- pydantic-core==2.46.4
|
||||
- pydantic==2.13.4
|
||||
- pyparsing==3.3.2
|
||||
- python-dateutil==2.9.0.post0
|
||||
- python-dotenv==1.2.2
|
||||
- pytz==2026.2
|
||||
- pywin32==312; sys_platform == "win32"
|
||||
- pyyaml==6.0.3
|
||||
- requests==2.34.2
|
||||
- scikit-learn==1.9.0
|
||||
- scipy==1.18.0
|
||||
- shap==0.52.0
|
||||
- six==1.17.0
|
||||
- skops==0.14.0
|
||||
- slicer==0.0.8
|
||||
- smmap==5.0.3
|
||||
- sqlalchemy==2.0.51
|
||||
- sqlparse==0.5.5
|
||||
- starlette==1.3.1
|
||||
- threadpoolctl==3.6.0
|
||||
- tqdm==4.68.3
|
||||
- typing-extensions==4.15.0
|
||||
- typing-inspection==0.4.2
|
||||
- tzdata==2026.2
|
||||
- urllib3==2.7.0
|
||||
- uvicorn==0.49.0
|
||||
- waitress==3.0.2; sys_platform == "win32"
|
||||
- wcwidth==0.8.1
|
||||
- werkzeug==3.1.8
|
||||
- yarl==1.24.2
|
||||
- zipp==4.1.0
|
||||
name: mlflow-env
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
[project]
|
||||
name = "fraud-models"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
"mlflow>=3.14.0",
|
||||
"pandas>=2.3.3",
|
||||
"scikit-learn>=1.9.0",
|
||||
"shap>=0.52.0",
|
||||
]
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
python: 3.13.13
|
||||
build_dependencies:
|
||||
- pip
|
||||
- setuptools==70.2.0
|
||||
- wheel
|
||||
dependencies:
|
||||
- -r requirements.txt
|
||||
Binary file not shown.
|
|
@ -0,0 +1,101 @@
|
|||
aiohappyeyeballs==2.6.2
|
||||
aiohttp==3.14.1
|
||||
aiosignal==1.4.0
|
||||
alembic==1.18.4
|
||||
annotated-doc==0.0.4
|
||||
annotated-types==0.7.0
|
||||
anyio==4.14.0
|
||||
attrs==26.1.0
|
||||
blinker==1.9.0
|
||||
cachetools==7.1.4
|
||||
certifi==2026.6.17
|
||||
cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
charset-normalizer==3.4.7
|
||||
click==8.4.1
|
||||
cloudpickle==3.1.2
|
||||
colorama==0.4.6; sys_platform == "win32"
|
||||
contourpy==1.3.3
|
||||
cryptography==48.0.1
|
||||
cycler==0.12.1
|
||||
databricks-sdk==0.118.0
|
||||
docker==7.1.0
|
||||
fastapi==0.138.0
|
||||
flask-cors==6.0.5
|
||||
flask==3.1.3
|
||||
fonttools==4.63.0
|
||||
frozenlist==1.8.0
|
||||
gitdb==4.0.12
|
||||
gitpython==3.1.50
|
||||
google-auth==2.55.0
|
||||
graphene==3.4.3
|
||||
graphql-core==3.2.11
|
||||
graphql-relay==3.2.0
|
||||
greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine == "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
gunicorn==26.0.0; sys_platform != "win32"
|
||||
h11==0.16.0
|
||||
huey==3.0.3
|
||||
idna==3.18
|
||||
importlib-metadata==9.0.0
|
||||
itsdangerous==2.2.0
|
||||
jinja2==3.1.6
|
||||
joblib==1.5.3
|
||||
kiwisolver==1.5.0
|
||||
llvmlite==0.45.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
llvmlite==0.47.0; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
mako==1.3.12
|
||||
markupsafe==3.0.3
|
||||
matplotlib==3.11.0
|
||||
mlflow-skinny==3.14.0
|
||||
mlflow-tracing==3.14.0
|
||||
mlflow==3.14.0
|
||||
multidict==6.7.1
|
||||
narwhals==2.22.1
|
||||
numba==0.62.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
numba==0.65.1; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
numpy==2.3.5; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
numpy==2.4.6; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
opentelemetry-api==1.42.1
|
||||
opentelemetry-proto==1.42.1
|
||||
opentelemetry-sdk==1.42.1
|
||||
opentelemetry-semantic-conventions==0.63b1
|
||||
packaging==26.2
|
||||
pandas==2.3.3
|
||||
pillow==12.2.0
|
||||
prettytable==3.17.0
|
||||
propcache==0.5.2
|
||||
protobuf==6.33.6
|
||||
pyarrow==24.0.0
|
||||
pyasn1-modules==0.4.2
|
||||
pyasn1==0.6.3
|
||||
pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation != "PyPy"
|
||||
pydantic-core==2.46.4
|
||||
pydantic==2.13.4
|
||||
pyparsing==3.3.2
|
||||
python-dateutil==2.9.0.post0
|
||||
python-dotenv==1.2.2
|
||||
pytz==2026.2
|
||||
pywin32==312; sys_platform == "win32"
|
||||
pyyaml==6.0.3
|
||||
requests==2.34.2
|
||||
scikit-learn==1.9.0
|
||||
scipy==1.18.0
|
||||
shap==0.52.0
|
||||
six==1.17.0
|
||||
skops==0.14.0
|
||||
slicer==0.0.8
|
||||
smmap==5.0.3
|
||||
sqlalchemy==2.0.51
|
||||
sqlparse==0.5.5
|
||||
starlette==1.3.1
|
||||
threadpoolctl==3.6.0
|
||||
tqdm==4.68.3
|
||||
typing-extensions==4.15.0
|
||||
typing-inspection==0.4.2
|
||||
tzdata==2026.2
|
||||
urllib3==2.7.0
|
||||
uvicorn==0.49.0
|
||||
waitress==3.0.2; sys_platform == "win32"
|
||||
wcwidth==0.8.1
|
||||
werkzeug==3.1.8
|
||||
yarl==1.24.2
|
||||
zipp==4.1.0
|
||||
2233
mlartifacts/1/models/m-cc16c062c0cc49fd97d4912bfebb0e75/artifacts/uv.lock
generated
Normal file
2233
mlartifacts/1/models/m-cc16c062c0cc49fd97d4912bfebb0e75/artifacts/uv.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,43 @@
|
|||
artifact_path: mlflow-artifacts:/1/models/m-d013dfe57f234ba789bd01b3eea28057/artifacts
|
||||
flavors:
|
||||
python_function:
|
||||
env:
|
||||
conda: conda.yaml
|
||||
virtualenv: python_env.yaml
|
||||
loader_module: mlflow.sklearn
|
||||
model_path: model.skops
|
||||
predict_fn: predict
|
||||
python_version: 3.13.13
|
||||
sklearn:
|
||||
code: null
|
||||
pickled_model: model.skops
|
||||
serialization_format: skops
|
||||
sklearn_version: 1.9.0
|
||||
skops_trusted_types: null
|
||||
is_signature_from_type_hint: false
|
||||
mlflow_version: 3.14.0
|
||||
model_id: m-d013dfe57f234ba789bd01b3eea28057
|
||||
model_size_bytes: 2338964
|
||||
model_uuid: m-d013dfe57f234ba789bd01b3eea28057
|
||||
prompts: null
|
||||
run_id: e645ff483c6c4701b23dcf923cb19413
|
||||
signature:
|
||||
inputs: '[{"type": "double", "name": "session_start_sin", "required": true}, {"type":
|
||||
"double", "name": "session_start_cos", "required": true}, {"type": "double", "name":
|
||||
"session_end_sin", "required": true}, {"type": "double", "name": "session_end_cos",
|
||||
"required": true}, {"type": "double", "name": "event_count", "required": true},
|
||||
{"type": "double", "name": "unique_event_types", "required": true}, {"type": "double",
|
||||
"name": "screens_visited", "required": true}, {"type": "double", "name": "duration_seconds",
|
||||
"required": true}, {"type": "double", "name": "events_per_minute", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_mean_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_median_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_std_seconds", "required":
|
||||
true}, {"type": "double", "name": "max_inter_event_gap_seconds", "required": true},
|
||||
{"type": "double", "name": "session_start_hour", "required": true}, {"type": "double",
|
||||
"name": "session_day_of_week", "required": true}, {"type": "double", "name": "session_day_of_week_sin",
|
||||
"required": true}, {"type": "double", "name": "session_day_of_week_cos", "required":
|
||||
true}, {"type": "double", "name": "distinct_hours_active", "required": true}]'
|
||||
outputs: '[{"type": "tensor", "tensor-spec": {"dtype": "int64", "shape": [-1]}}]'
|
||||
params: null
|
||||
type_hint_from_example: false
|
||||
utc_time_created: '2026-06-22 09:40:08.152997'
|
||||
|
|
@ -0,0 +1,103 @@
|
|||
channels:
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python=3.13.13
|
||||
- pip
|
||||
- pip:
|
||||
- aiohappyeyeballs==2.6.2
|
||||
- aiohttp==3.14.1
|
||||
- aiosignal==1.4.0
|
||||
- alembic==1.18.4
|
||||
- annotated-doc==0.0.4
|
||||
- annotated-types==0.7.0
|
||||
- anyio==4.14.0
|
||||
- attrs==26.1.0
|
||||
- blinker==1.9.0
|
||||
- cachetools==7.1.4
|
||||
- certifi==2026.6.17
|
||||
- cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
- charset-normalizer==3.4.7
|
||||
- click==8.4.1
|
||||
- cloudpickle==3.1.2
|
||||
- colorama==0.4.6; sys_platform == "win32"
|
||||
- contourpy==1.3.3
|
||||
- cryptography==48.0.1
|
||||
- cycler==0.12.1
|
||||
- databricks-sdk==0.118.0
|
||||
- docker==7.1.0
|
||||
- fastapi==0.138.0
|
||||
- flask-cors==6.0.5
|
||||
- flask==3.1.3
|
||||
- fonttools==4.63.0
|
||||
- frozenlist==1.8.0
|
||||
- gitdb==4.0.12
|
||||
- gitpython==3.1.50
|
||||
- google-auth==2.55.0
|
||||
- graphene==3.4.3
|
||||
- graphql-core==3.2.11
|
||||
- graphql-relay==3.2.0
|
||||
- greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or
|
||||
platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine
|
||||
== "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
- gunicorn==26.0.0; sys_platform != "win32"
|
||||
- h11==0.16.0
|
||||
- huey==3.0.3
|
||||
- idna==3.18
|
||||
- importlib-metadata==9.0.0
|
||||
- itsdangerous==2.2.0
|
||||
- jinja2==3.1.6
|
||||
- joblib==1.5.3
|
||||
- kiwisolver==1.5.0
|
||||
- mako==1.3.12
|
||||
- markupsafe==3.0.3
|
||||
- matplotlib==3.11.0
|
||||
- mlflow-skinny==3.14.0
|
||||
- mlflow-tracing==3.14.0
|
||||
- mlflow==3.14.0
|
||||
- multidict==6.7.1
|
||||
- narwhals==2.22.1
|
||||
- numpy==2.4.6
|
||||
- opentelemetry-api==1.42.1
|
||||
- opentelemetry-proto==1.42.1
|
||||
- opentelemetry-sdk==1.42.1
|
||||
- opentelemetry-semantic-conventions==0.63b1
|
||||
- packaging==26.2
|
||||
- pandas==2.3.3
|
||||
- pillow==12.2.0
|
||||
- prettytable==3.17.0
|
||||
- propcache==0.5.2
|
||||
- protobuf==6.33.6
|
||||
- pyarrow==24.0.0
|
||||
- pyasn1-modules==0.4.2
|
||||
- pyasn1==0.6.3
|
||||
- pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation
|
||||
!= "PyPy"
|
||||
- pydantic-core==2.46.4
|
||||
- pydantic==2.13.4
|
||||
- pyparsing==3.3.2
|
||||
- python-dateutil==2.9.0.post0
|
||||
- python-dotenv==1.2.2
|
||||
- pytz==2026.2
|
||||
- pywin32==312; sys_platform == "win32"
|
||||
- pyyaml==6.0.3
|
||||
- requests==2.34.2
|
||||
- scikit-learn==1.9.0
|
||||
- scipy==1.18.0
|
||||
- six==1.17.0
|
||||
- skops==0.14.0
|
||||
- smmap==5.0.3
|
||||
- sqlalchemy==2.0.51
|
||||
- sqlparse==0.5.5
|
||||
- starlette==1.3.1
|
||||
- threadpoolctl==3.6.0
|
||||
- typing-extensions==4.15.0
|
||||
- typing-inspection==0.4.2
|
||||
- tzdata==2026.2
|
||||
- urllib3==2.7.0
|
||||
- uvicorn==0.49.0
|
||||
- waitress==3.0.2; sys_platform == "win32"
|
||||
- wcwidth==0.8.1
|
||||
- werkzeug==3.1.8
|
||||
- yarl==1.24.2
|
||||
- zipp==4.1.0
|
||||
name: mlflow-env
|
||||
Binary file not shown.
|
|
@ -0,0 +1,7 @@
|
|||
python: 3.13.13
|
||||
build_dependencies:
|
||||
- pip
|
||||
- setuptools
|
||||
- wheel
|
||||
dependencies:
|
||||
- -r requirements.txt
|
||||
|
|
@ -0,0 +1,93 @@
|
|||
aiohappyeyeballs==2.6.2
|
||||
aiohttp==3.14.1
|
||||
aiosignal==1.4.0
|
||||
alembic==1.18.4
|
||||
annotated-doc==0.0.4
|
||||
annotated-types==0.7.0
|
||||
anyio==4.14.0
|
||||
attrs==26.1.0
|
||||
blinker==1.9.0
|
||||
cachetools==7.1.4
|
||||
certifi==2026.6.17
|
||||
cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
charset-normalizer==3.4.7
|
||||
click==8.4.1
|
||||
cloudpickle==3.1.2
|
||||
colorama==0.4.6; sys_platform == "win32"
|
||||
contourpy==1.3.3
|
||||
cryptography==48.0.1
|
||||
cycler==0.12.1
|
||||
databricks-sdk==0.118.0
|
||||
docker==7.1.0
|
||||
fastapi==0.138.0
|
||||
flask-cors==6.0.5
|
||||
flask==3.1.3
|
||||
fonttools==4.63.0
|
||||
frozenlist==1.8.0
|
||||
gitdb==4.0.12
|
||||
gitpython==3.1.50
|
||||
google-auth==2.55.0
|
||||
graphene==3.4.3
|
||||
graphql-core==3.2.11
|
||||
graphql-relay==3.2.0
|
||||
greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine == "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
gunicorn==26.0.0; sys_platform != "win32"
|
||||
h11==0.16.0
|
||||
huey==3.0.3
|
||||
idna==3.18
|
||||
importlib-metadata==9.0.0
|
||||
itsdangerous==2.2.0
|
||||
jinja2==3.1.6
|
||||
joblib==1.5.3
|
||||
kiwisolver==1.5.0
|
||||
mako==1.3.12
|
||||
markupsafe==3.0.3
|
||||
matplotlib==3.11.0
|
||||
mlflow-skinny==3.14.0
|
||||
mlflow-tracing==3.14.0
|
||||
mlflow==3.14.0
|
||||
multidict==6.7.1
|
||||
narwhals==2.22.1
|
||||
numpy==2.4.6
|
||||
opentelemetry-api==1.42.1
|
||||
opentelemetry-proto==1.42.1
|
||||
opentelemetry-sdk==1.42.1
|
||||
opentelemetry-semantic-conventions==0.63b1
|
||||
packaging==26.2
|
||||
pandas==2.3.3
|
||||
pillow==12.2.0
|
||||
prettytable==3.17.0
|
||||
propcache==0.5.2
|
||||
protobuf==6.33.6
|
||||
pyarrow==24.0.0
|
||||
pyasn1-modules==0.4.2
|
||||
pyasn1==0.6.3
|
||||
pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation != "PyPy"
|
||||
pydantic-core==2.46.4
|
||||
pydantic==2.13.4
|
||||
pyparsing==3.3.2
|
||||
python-dateutil==2.9.0.post0
|
||||
python-dotenv==1.2.2
|
||||
pytz==2026.2
|
||||
pywin32==312; sys_platform == "win32"
|
||||
pyyaml==6.0.3
|
||||
requests==2.34.2
|
||||
scikit-learn==1.9.0
|
||||
scipy==1.18.0
|
||||
six==1.17.0
|
||||
skops==0.14.0
|
||||
smmap==5.0.3
|
||||
sqlalchemy==2.0.51
|
||||
sqlparse==0.5.5
|
||||
starlette==1.3.1
|
||||
threadpoolctl==3.6.0
|
||||
typing-extensions==4.15.0
|
||||
typing-inspection==0.4.2
|
||||
tzdata==2026.2
|
||||
urllib3==2.7.0
|
||||
uvicorn==0.49.0
|
||||
waitress==3.0.2; sys_platform == "win32"
|
||||
wcwidth==0.8.1
|
||||
werkzeug==3.1.8
|
||||
yarl==1.24.2
|
||||
zipp==4.1.0
|
||||
|
|
@ -0,0 +1 @@
|
|||
3.13
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
artifact_path: mlflow-artifacts:/1/models/m-d46191ce42ad4c1a898fbbaf53b7054a/artifacts
|
||||
flavors:
|
||||
python_function:
|
||||
artifacts:
|
||||
model:
|
||||
path: artifacts/isolation_forest.pkl
|
||||
uri: /tmp/tmp1xyv_a_n/isolation_forest.pkl
|
||||
cloudpickle_version: 3.1.2
|
||||
code: null
|
||||
env:
|
||||
conda: conda.yaml
|
||||
virtualenv: python_env.yaml
|
||||
loader_module: mlflow.pyfunc.model
|
||||
python_model: python_model.pkl
|
||||
python_version: 3.13.13
|
||||
streamable: false
|
||||
is_signature_from_type_hint: false
|
||||
mlflow_version: 3.14.0
|
||||
model_id: m-d46191ce42ad4c1a898fbbaf53b7054a
|
||||
model_size_bytes: 639596
|
||||
model_uuid: m-d46191ce42ad4c1a898fbbaf53b7054a
|
||||
prompts: null
|
||||
run_id: 0ff8b58906e74c7dbc8d3a7291e5c384
|
||||
signature:
|
||||
inputs: '[{"type": "double", "name": "session_start_sin", "required": true}, {"type":
|
||||
"double", "name": "session_start_cos", "required": true}, {"type": "double", "name":
|
||||
"session_end_sin", "required": true}, {"type": "double", "name": "session_end_cos",
|
||||
"required": true}, {"type": "double", "name": "event_count", "required": true},
|
||||
{"type": "double", "name": "unique_event_types", "required": true}, {"type": "double",
|
||||
"name": "screens_visited", "required": true}, {"type": "double", "name": "duration_seconds",
|
||||
"required": true}, {"type": "double", "name": "events_per_minute", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_mean_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_median_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_std_seconds", "required":
|
||||
true}, {"type": "double", "name": "max_inter_event_gap_seconds", "required": true},
|
||||
{"type": "double", "name": "session_start_hour", "required": true}, {"type": "double",
|
||||
"name": "session_day_of_week", "required": true}, {"type": "double", "name": "session_day_of_week_sin",
|
||||
"required": true}, {"type": "double", "name": "session_day_of_week_cos", "required":
|
||||
true}, {"type": "double", "name": "distinct_hours_active", "required": true}]'
|
||||
outputs: '[{"type": "long", "name": "prediction", "required": true}, {"type": "double",
|
||||
"name": "anomaly_score", "required": true}, {"type": "double", "name": "decision_score",
|
||||
"required": true}, {"type": "string", "name": "shap_values", "required": true}]'
|
||||
params: null
|
||||
type_hint_from_example: false
|
||||
utc_time_created: '2026-06-27 13:56:28.625932'
|
||||
Binary file not shown.
|
|
@ -0,0 +1,111 @@
|
|||
channels:
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python=3.13.13
|
||||
- pip
|
||||
- pip:
|
||||
- aiohappyeyeballs==2.6.2
|
||||
- aiohttp==3.14.1
|
||||
- aiosignal==1.4.0
|
||||
- alembic==1.18.4
|
||||
- annotated-doc==0.0.4
|
||||
- annotated-types==0.7.0
|
||||
- anyio==4.14.0
|
||||
- attrs==26.1.0
|
||||
- blinker==1.9.0
|
||||
- cachetools==7.1.4
|
||||
- certifi==2026.6.17
|
||||
- cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
- charset-normalizer==3.4.7
|
||||
- click==8.4.1
|
||||
- cloudpickle==3.1.2
|
||||
- colorama==0.4.6; sys_platform == "win32"
|
||||
- contourpy==1.3.3
|
||||
- cryptography==48.0.1
|
||||
- cycler==0.12.1
|
||||
- databricks-sdk==0.118.0
|
||||
- docker==7.1.0
|
||||
- fastapi==0.138.0
|
||||
- flask-cors==6.0.5
|
||||
- flask==3.1.3
|
||||
- fonttools==4.63.0
|
||||
- frozenlist==1.8.0
|
||||
- gitdb==4.0.12
|
||||
- gitpython==3.1.50
|
||||
- google-auth==2.55.0
|
||||
- graphene==3.4.3
|
||||
- graphql-core==3.2.11
|
||||
- graphql-relay==3.2.0
|
||||
- greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or
|
||||
platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine
|
||||
== "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
- gunicorn==26.0.0; sys_platform != "win32"
|
||||
- h11==0.16.0
|
||||
- huey==3.0.3
|
||||
- idna==3.18
|
||||
- importlib-metadata==9.0.0
|
||||
- itsdangerous==2.2.0
|
||||
- jinja2==3.1.6
|
||||
- joblib==1.5.3
|
||||
- kiwisolver==1.5.0
|
||||
- llvmlite==0.45.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- llvmlite==0.47.0; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- mako==1.3.12
|
||||
- markupsafe==3.0.3
|
||||
- matplotlib==3.11.0
|
||||
- mlflow-skinny==3.14.0
|
||||
- mlflow-tracing==3.14.0
|
||||
- mlflow==3.14.0
|
||||
- multidict==6.7.1
|
||||
- narwhals==2.22.1
|
||||
- numba==0.62.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- numba==0.65.1; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- numpy==2.3.5; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
- numpy==2.4.6; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
- opentelemetry-api==1.42.1
|
||||
- opentelemetry-proto==1.42.1
|
||||
- opentelemetry-sdk==1.42.1
|
||||
- opentelemetry-semantic-conventions==0.63b1
|
||||
- packaging==26.2
|
||||
- pandas==2.3.3
|
||||
- pillow==12.2.0
|
||||
- prettytable==3.17.0
|
||||
- propcache==0.5.2
|
||||
- protobuf==6.33.6
|
||||
- pyarrow==24.0.0
|
||||
- pyasn1-modules==0.4.2
|
||||
- pyasn1==0.6.3
|
||||
- pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation
|
||||
!= "PyPy"
|
||||
- pydantic-core==2.46.4
|
||||
- pydantic==2.13.4
|
||||
- pyparsing==3.3.2
|
||||
- python-dateutil==2.9.0.post0
|
||||
- python-dotenv==1.2.2
|
||||
- pytz==2026.2
|
||||
- pywin32==312; sys_platform == "win32"
|
||||
- pyyaml==6.0.3
|
||||
- requests==2.34.2
|
||||
- scikit-learn==1.9.0
|
||||
- scipy==1.18.0
|
||||
- shap==0.52.0
|
||||
- six==1.17.0
|
||||
- skops==0.14.0
|
||||
- slicer==0.0.8
|
||||
- smmap==5.0.3
|
||||
- sqlalchemy==2.0.51
|
||||
- sqlparse==0.5.5
|
||||
- starlette==1.3.1
|
||||
- threadpoolctl==3.6.0
|
||||
- tqdm==4.68.3
|
||||
- typing-extensions==4.15.0
|
||||
- typing-inspection==0.4.2
|
||||
- tzdata==2026.2
|
||||
- urllib3==2.7.0
|
||||
- uvicorn==0.49.0
|
||||
- waitress==3.0.2; sys_platform == "win32"
|
||||
- wcwidth==0.8.1
|
||||
- werkzeug==3.1.8
|
||||
- yarl==1.24.2
|
||||
- zipp==4.1.0
|
||||
name: mlflow-env
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
[project]
|
||||
name = "fraud-models"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
"mlflow>=3.14.0",
|
||||
"pandas>=2.3.3",
|
||||
"scikit-learn>=1.9.0",
|
||||
"shap>=0.52.0",
|
||||
]
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
python: 3.13.13
|
||||
build_dependencies:
|
||||
- pip
|
||||
- setuptools
|
||||
- wheel
|
||||
dependencies:
|
||||
- -r requirements.txt
|
||||
Binary file not shown.
|
|
@ -0,0 +1,101 @@
|
|||
aiohappyeyeballs==2.6.2
|
||||
aiohttp==3.14.1
|
||||
aiosignal==1.4.0
|
||||
alembic==1.18.4
|
||||
annotated-doc==0.0.4
|
||||
annotated-types==0.7.0
|
||||
anyio==4.14.0
|
||||
attrs==26.1.0
|
||||
blinker==1.9.0
|
||||
cachetools==7.1.4
|
||||
certifi==2026.6.17
|
||||
cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
charset-normalizer==3.4.7
|
||||
click==8.4.1
|
||||
cloudpickle==3.1.2
|
||||
colorama==0.4.6; sys_platform == "win32"
|
||||
contourpy==1.3.3
|
||||
cryptography==48.0.1
|
||||
cycler==0.12.1
|
||||
databricks-sdk==0.118.0
|
||||
docker==7.1.0
|
||||
fastapi==0.138.0
|
||||
flask-cors==6.0.5
|
||||
flask==3.1.3
|
||||
fonttools==4.63.0
|
||||
frozenlist==1.8.0
|
||||
gitdb==4.0.12
|
||||
gitpython==3.1.50
|
||||
google-auth==2.55.0
|
||||
graphene==3.4.3
|
||||
graphql-core==3.2.11
|
||||
graphql-relay==3.2.0
|
||||
greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine == "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
gunicorn==26.0.0; sys_platform != "win32"
|
||||
h11==0.16.0
|
||||
huey==3.0.3
|
||||
idna==3.18
|
||||
importlib-metadata==9.0.0
|
||||
itsdangerous==2.2.0
|
||||
jinja2==3.1.6
|
||||
joblib==1.5.3
|
||||
kiwisolver==1.5.0
|
||||
llvmlite==0.45.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
llvmlite==0.47.0; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
mako==1.3.12
|
||||
markupsafe==3.0.3
|
||||
matplotlib==3.11.0
|
||||
mlflow-skinny==3.14.0
|
||||
mlflow-tracing==3.14.0
|
||||
mlflow==3.14.0
|
||||
multidict==6.7.1
|
||||
narwhals==2.22.1
|
||||
numba==0.62.1; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
numba==0.65.1; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
numpy==2.3.5; platform_machine == "x86_64" and sys_platform == "darwin"
|
||||
numpy==2.4.6; platform_machine != "x86_64" or sys_platform != "darwin"
|
||||
opentelemetry-api==1.42.1
|
||||
opentelemetry-proto==1.42.1
|
||||
opentelemetry-sdk==1.42.1
|
||||
opentelemetry-semantic-conventions==0.63b1
|
||||
packaging==26.2
|
||||
pandas==2.3.3
|
||||
pillow==12.2.0
|
||||
prettytable==3.17.0
|
||||
propcache==0.5.2
|
||||
protobuf==6.33.6
|
||||
pyarrow==24.0.0
|
||||
pyasn1-modules==0.4.2
|
||||
pyasn1==0.6.3
|
||||
pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation != "PyPy"
|
||||
pydantic-core==2.46.4
|
||||
pydantic==2.13.4
|
||||
pyparsing==3.3.2
|
||||
python-dateutil==2.9.0.post0
|
||||
python-dotenv==1.2.2
|
||||
pytz==2026.2
|
||||
pywin32==312; sys_platform == "win32"
|
||||
pyyaml==6.0.3
|
||||
requests==2.34.2
|
||||
scikit-learn==1.9.0
|
||||
scipy==1.18.0
|
||||
shap==0.52.0
|
||||
six==1.17.0
|
||||
skops==0.14.0
|
||||
slicer==0.0.8
|
||||
smmap==5.0.3
|
||||
sqlalchemy==2.0.51
|
||||
sqlparse==0.5.5
|
||||
starlette==1.3.1
|
||||
threadpoolctl==3.6.0
|
||||
tqdm==4.68.3
|
||||
typing-extensions==4.15.0
|
||||
typing-inspection==0.4.2
|
||||
tzdata==2026.2
|
||||
urllib3==2.7.0
|
||||
uvicorn==0.49.0
|
||||
waitress==3.0.2; sys_platform == "win32"
|
||||
wcwidth==0.8.1
|
||||
werkzeug==3.1.8
|
||||
yarl==1.24.2
|
||||
zipp==4.1.0
|
||||
2233
mlartifacts/1/models/m-d46191ce42ad4c1a898fbbaf53b7054a/artifacts/uv.lock
generated
Normal file
2233
mlartifacts/1/models/m-d46191ce42ad4c1a898fbbaf53b7054a/artifacts/uv.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,43 @@
|
|||
artifact_path: mlflow-artifacts:/1/models/m-e20cf041c120422dbf613df9850d7715/artifacts
|
||||
flavors:
|
||||
python_function:
|
||||
env:
|
||||
conda: conda.yaml
|
||||
virtualenv: python_env.yaml
|
||||
loader_module: mlflow.sklearn
|
||||
model_path: model.skops
|
||||
predict_fn: predict
|
||||
python_version: 3.13.13
|
||||
sklearn:
|
||||
code: null
|
||||
pickled_model: model.skops
|
||||
serialization_format: skops
|
||||
sklearn_version: 1.9.0
|
||||
skops_trusted_types: null
|
||||
is_signature_from_type_hint: false
|
||||
mlflow_version: 3.14.0
|
||||
model_id: m-e20cf041c120422dbf613df9850d7715
|
||||
model_size_bytes: 2339226
|
||||
model_uuid: m-e20cf041c120422dbf613df9850d7715
|
||||
prompts: null
|
||||
run_id: 6ae6caee46944d8fa5d0d7ab48899318
|
||||
signature:
|
||||
inputs: '[{"type": "double", "name": "session_start_sin", "required": true}, {"type":
|
||||
"double", "name": "session_start_cos", "required": true}, {"type": "double", "name":
|
||||
"session_end_sin", "required": true}, {"type": "double", "name": "session_end_cos",
|
||||
"required": true}, {"type": "double", "name": "event_count", "required": true},
|
||||
{"type": "double", "name": "unique_event_types", "required": true}, {"type": "double",
|
||||
"name": "screens_visited", "required": true}, {"type": "double", "name": "duration_seconds",
|
||||
"required": true}, {"type": "double", "name": "events_per_minute", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_mean_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_median_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_std_seconds", "required":
|
||||
true}, {"type": "double", "name": "max_inter_event_gap_seconds", "required": true},
|
||||
{"type": "double", "name": "session_start_hour", "required": true}, {"type": "double",
|
||||
"name": "session_day_of_week", "required": true}, {"type": "double", "name": "session_day_of_week_sin",
|
||||
"required": true}, {"type": "double", "name": "session_day_of_week_cos", "required":
|
||||
true}, {"type": "double", "name": "distinct_hours_active", "required": true}]'
|
||||
outputs: '[{"type": "tensor", "tensor-spec": {"dtype": "int64", "shape": [-1]}}]'
|
||||
params: null
|
||||
type_hint_from_example: false
|
||||
utc_time_created: '2026-06-22 09:35:37.543241'
|
||||
|
|
@ -0,0 +1,103 @@
|
|||
channels:
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python=3.13.13
|
||||
- pip
|
||||
- pip:
|
||||
- aiohappyeyeballs==2.6.2
|
||||
- aiohttp==3.14.1
|
||||
- aiosignal==1.4.0
|
||||
- alembic==1.18.4
|
||||
- annotated-doc==0.0.4
|
||||
- annotated-types==0.7.0
|
||||
- anyio==4.14.0
|
||||
- attrs==26.1.0
|
||||
- blinker==1.9.0
|
||||
- cachetools==7.1.4
|
||||
- certifi==2026.6.17
|
||||
- cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
- charset-normalizer==3.4.7
|
||||
- click==8.4.1
|
||||
- cloudpickle==3.1.2
|
||||
- colorama==0.4.6; sys_platform == "win32"
|
||||
- contourpy==1.3.3
|
||||
- cryptography==48.0.1
|
||||
- cycler==0.12.1
|
||||
- databricks-sdk==0.118.0
|
||||
- docker==7.1.0
|
||||
- fastapi==0.138.0
|
||||
- flask-cors==6.0.5
|
||||
- flask==3.1.3
|
||||
- fonttools==4.63.0
|
||||
- frozenlist==1.8.0
|
||||
- gitdb==4.0.12
|
||||
- gitpython==3.1.50
|
||||
- google-auth==2.55.0
|
||||
- graphene==3.4.3
|
||||
- graphql-core==3.2.11
|
||||
- graphql-relay==3.2.0
|
||||
- greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or
|
||||
platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine
|
||||
== "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
- gunicorn==26.0.0; sys_platform != "win32"
|
||||
- h11==0.16.0
|
||||
- huey==3.0.3
|
||||
- idna==3.18
|
||||
- importlib-metadata==9.0.0
|
||||
- itsdangerous==2.2.0
|
||||
- jinja2==3.1.6
|
||||
- joblib==1.5.3
|
||||
- kiwisolver==1.5.0
|
||||
- mako==1.3.12
|
||||
- markupsafe==3.0.3
|
||||
- matplotlib==3.11.0
|
||||
- mlflow-skinny==3.14.0
|
||||
- mlflow-tracing==3.14.0
|
||||
- mlflow==3.14.0
|
||||
- multidict==6.7.1
|
||||
- narwhals==2.22.1
|
||||
- numpy==2.4.6
|
||||
- opentelemetry-api==1.42.1
|
||||
- opentelemetry-proto==1.42.1
|
||||
- opentelemetry-sdk==1.42.1
|
||||
- opentelemetry-semantic-conventions==0.63b1
|
||||
- packaging==26.2
|
||||
- pandas==2.3.3
|
||||
- pillow==12.2.0
|
||||
- prettytable==3.17.0
|
||||
- propcache==0.5.2
|
||||
- protobuf==6.33.6
|
||||
- pyarrow==24.0.0
|
||||
- pyasn1-modules==0.4.2
|
||||
- pyasn1==0.6.3
|
||||
- pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation
|
||||
!= "PyPy"
|
||||
- pydantic-core==2.46.4
|
||||
- pydantic==2.13.4
|
||||
- pyparsing==3.3.2
|
||||
- python-dateutil==2.9.0.post0
|
||||
- python-dotenv==1.2.2
|
||||
- pytz==2026.2
|
||||
- pywin32==312; sys_platform == "win32"
|
||||
- pyyaml==6.0.3
|
||||
- requests==2.34.2
|
||||
- scikit-learn==1.9.0
|
||||
- scipy==1.18.0
|
||||
- six==1.17.0
|
||||
- skops==0.14.0
|
||||
- smmap==5.0.3
|
||||
- sqlalchemy==2.0.51
|
||||
- sqlparse==0.5.5
|
||||
- starlette==1.3.1
|
||||
- threadpoolctl==3.6.0
|
||||
- typing-extensions==4.15.0
|
||||
- typing-inspection==0.4.2
|
||||
- tzdata==2026.2
|
||||
- urllib3==2.7.0
|
||||
- uvicorn==0.49.0
|
||||
- waitress==3.0.2; sys_platform == "win32"
|
||||
- wcwidth==0.8.1
|
||||
- werkzeug==3.1.8
|
||||
- yarl==1.24.2
|
||||
- zipp==4.1.0
|
||||
name: mlflow-env
|
||||
Binary file not shown.
|
|
@ -0,0 +1,7 @@
|
|||
python: 3.13.13
|
||||
build_dependencies:
|
||||
- pip
|
||||
- setuptools
|
||||
- wheel
|
||||
dependencies:
|
||||
- -r requirements.txt
|
||||
|
|
@ -0,0 +1,93 @@
|
|||
aiohappyeyeballs==2.6.2
|
||||
aiohttp==3.14.1
|
||||
aiosignal==1.4.0
|
||||
alembic==1.18.4
|
||||
annotated-doc==0.0.4
|
||||
annotated-types==0.7.0
|
||||
anyio==4.14.0
|
||||
attrs==26.1.0
|
||||
blinker==1.9.0
|
||||
cachetools==7.1.4
|
||||
certifi==2026.6.17
|
||||
cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
charset-normalizer==3.4.7
|
||||
click==8.4.1
|
||||
cloudpickle==3.1.2
|
||||
colorama==0.4.6; sys_platform == "win32"
|
||||
contourpy==1.3.3
|
||||
cryptography==48.0.1
|
||||
cycler==0.12.1
|
||||
databricks-sdk==0.118.0
|
||||
docker==7.1.0
|
||||
fastapi==0.138.0
|
||||
flask-cors==6.0.5
|
||||
flask==3.1.3
|
||||
fonttools==4.63.0
|
||||
frozenlist==1.8.0
|
||||
gitdb==4.0.12
|
||||
gitpython==3.1.50
|
||||
google-auth==2.55.0
|
||||
graphene==3.4.3
|
||||
graphql-core==3.2.11
|
||||
graphql-relay==3.2.0
|
||||
greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine == "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
gunicorn==26.0.0; sys_platform != "win32"
|
||||
h11==0.16.0
|
||||
huey==3.0.3
|
||||
idna==3.18
|
||||
importlib-metadata==9.0.0
|
||||
itsdangerous==2.2.0
|
||||
jinja2==3.1.6
|
||||
joblib==1.5.3
|
||||
kiwisolver==1.5.0
|
||||
mako==1.3.12
|
||||
markupsafe==3.0.3
|
||||
matplotlib==3.11.0
|
||||
mlflow-skinny==3.14.0
|
||||
mlflow-tracing==3.14.0
|
||||
mlflow==3.14.0
|
||||
multidict==6.7.1
|
||||
narwhals==2.22.1
|
||||
numpy==2.4.6
|
||||
opentelemetry-api==1.42.1
|
||||
opentelemetry-proto==1.42.1
|
||||
opentelemetry-sdk==1.42.1
|
||||
opentelemetry-semantic-conventions==0.63b1
|
||||
packaging==26.2
|
||||
pandas==2.3.3
|
||||
pillow==12.2.0
|
||||
prettytable==3.17.0
|
||||
propcache==0.5.2
|
||||
protobuf==6.33.6
|
||||
pyarrow==24.0.0
|
||||
pyasn1-modules==0.4.2
|
||||
pyasn1==0.6.3
|
||||
pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation != "PyPy"
|
||||
pydantic-core==2.46.4
|
||||
pydantic==2.13.4
|
||||
pyparsing==3.3.2
|
||||
python-dateutil==2.9.0.post0
|
||||
python-dotenv==1.2.2
|
||||
pytz==2026.2
|
||||
pywin32==312; sys_platform == "win32"
|
||||
pyyaml==6.0.3
|
||||
requests==2.34.2
|
||||
scikit-learn==1.9.0
|
||||
scipy==1.18.0
|
||||
six==1.17.0
|
||||
skops==0.14.0
|
||||
smmap==5.0.3
|
||||
sqlalchemy==2.0.51
|
||||
sqlparse==0.5.5
|
||||
starlette==1.3.1
|
||||
threadpoolctl==3.6.0
|
||||
typing-extensions==4.15.0
|
||||
typing-inspection==0.4.2
|
||||
tzdata==2026.2
|
||||
urllib3==2.7.0
|
||||
uvicorn==0.49.0
|
||||
waitress==3.0.2; sys_platform == "win32"
|
||||
wcwidth==0.8.1
|
||||
werkzeug==3.1.8
|
||||
yarl==1.24.2
|
||||
zipp==4.1.0
|
||||
|
|
@ -0,0 +1 @@
|
|||
3.13
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
artifact_path: mlflow-artifacts:/1/models/m-e90e833f4da747039bbe21952ab9aa61/artifacts
|
||||
flavors:
|
||||
python_function:
|
||||
artifacts:
|
||||
model:
|
||||
path: artifacts/isolation_forest.pkl
|
||||
uri: /tmp/tmps3v53unb/isolation_forest.pkl
|
||||
cloudpickle_version: 3.1.2
|
||||
code: null
|
||||
env:
|
||||
conda: conda.yaml
|
||||
virtualenv: python_env.yaml
|
||||
loader_module: mlflow.pyfunc.model
|
||||
python_model: python_model.pkl
|
||||
python_version: 3.13.13
|
||||
streamable: false
|
||||
is_signature_from_type_hint: false
|
||||
mlflow_version: 3.14.0
|
||||
model_id: m-e90e833f4da747039bbe21952ab9aa61
|
||||
model_size_bytes: 639262
|
||||
model_uuid: m-e90e833f4da747039bbe21952ab9aa61
|
||||
prompts: null
|
||||
run_id: 164a8d06357a4869aa3c7f653e74a796
|
||||
signature:
|
||||
inputs: '[{"type": "double", "name": "session_start_sin", "required": true}, {"type":
|
||||
"double", "name": "session_start_cos", "required": true}, {"type": "double", "name":
|
||||
"session_end_sin", "required": true}, {"type": "double", "name": "session_end_cos",
|
||||
"required": true}, {"type": "double", "name": "event_count", "required": true},
|
||||
{"type": "double", "name": "unique_event_types", "required": true}, {"type": "double",
|
||||
"name": "screens_visited", "required": true}, {"type": "double", "name": "duration_seconds",
|
||||
"required": true}, {"type": "double", "name": "events_per_minute", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_mean_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_median_seconds", "required":
|
||||
true}, {"type": "double", "name": "inter_event_time_std_seconds", "required":
|
||||
true}, {"type": "double", "name": "max_inter_event_gap_seconds", "required": true},
|
||||
{"type": "double", "name": "session_start_hour", "required": true}, {"type": "double",
|
||||
"name": "session_day_of_week", "required": true}, {"type": "double", "name": "session_day_of_week_sin",
|
||||
"required": true}, {"type": "double", "name": "session_day_of_week_cos", "required":
|
||||
true}, {"type": "double", "name": "distinct_hours_active", "required": true}]'
|
||||
outputs: '[{"type": "long", "name": "prediction", "required": true}, {"type": "double",
|
||||
"name": "anomaly_score", "required": true}, {"type": "double", "name": "decision_score",
|
||||
"required": true}]'
|
||||
params: null
|
||||
type_hint_from_example: false
|
||||
utc_time_created: '2026-06-22 14:31:09.557211'
|
||||
Binary file not shown.
|
|
@ -0,0 +1,103 @@
|
|||
channels:
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python=3.13.13
|
||||
- pip
|
||||
- pip:
|
||||
- aiohappyeyeballs==2.6.2
|
||||
- aiohttp==3.14.1
|
||||
- aiosignal==1.4.0
|
||||
- alembic==1.18.4
|
||||
- annotated-doc==0.0.4
|
||||
- annotated-types==0.7.0
|
||||
- anyio==4.14.0
|
||||
- attrs==26.1.0
|
||||
- blinker==1.9.0
|
||||
- cachetools==7.1.4
|
||||
- certifi==2026.6.17
|
||||
- cffi==2.0.0; platform_python_implementation != "PyPy"
|
||||
- charset-normalizer==3.4.7
|
||||
- click==8.4.1
|
||||
- cloudpickle==3.1.2
|
||||
- colorama==0.4.6; sys_platform == "win32"
|
||||
- contourpy==1.3.3
|
||||
- cryptography==48.0.1
|
||||
- cycler==0.12.1
|
||||
- databricks-sdk==0.118.0
|
||||
- docker==7.1.0
|
||||
- fastapi==0.138.0
|
||||
- flask-cors==6.0.5
|
||||
- flask==3.1.3
|
||||
- fonttools==4.63.0
|
||||
- frozenlist==1.8.0
|
||||
- gitdb==4.0.12
|
||||
- gitpython==3.1.50
|
||||
- google-auth==2.55.0
|
||||
- graphene==3.4.3
|
||||
- graphql-core==3.2.11
|
||||
- graphql-relay==3.2.0
|
||||
- greenlet==3.5.2; platform_machine == "AMD64" or platform_machine == "WIN32" or
|
||||
platform_machine == "aarch64" or platform_machine == "amd64" or platform_machine
|
||||
== "ppc64le" or platform_machine == "win32" or platform_machine == "x86_64"
|
||||
- gunicorn==26.0.0; sys_platform != "win32"
|
||||
- h11==0.16.0
|
||||
- huey==3.0.3
|
||||
- idna==3.18
|
||||
- importlib-metadata==9.0.0
|
||||
- itsdangerous==2.2.0
|
||||
- jinja2==3.1.6
|
||||
- joblib==1.5.3
|
||||
- kiwisolver==1.5.0
|
||||
- mako==1.3.12
|
||||
- markupsafe==3.0.3
|
||||
- matplotlib==3.11.0
|
||||
- mlflow-skinny==3.14.0
|
||||
- mlflow-tracing==3.14.0
|
||||
- mlflow==3.14.0
|
||||
- multidict==6.7.1
|
||||
- narwhals==2.22.1
|
||||
- numpy==2.4.6
|
||||
- opentelemetry-api==1.42.1
|
||||
- opentelemetry-proto==1.42.1
|
||||
- opentelemetry-sdk==1.42.1
|
||||
- opentelemetry-semantic-conventions==0.63b1
|
||||
- packaging==26.2
|
||||
- pandas==2.3.3
|
||||
- pillow==12.2.0
|
||||
- prettytable==3.17.0
|
||||
- propcache==0.5.2
|
||||
- protobuf==6.33.6
|
||||
- pyarrow==24.0.0
|
||||
- pyasn1-modules==0.4.2
|
||||
- pyasn1==0.6.3
|
||||
- pycparser==3.0; implementation_name != "PyPy" and platform_python_implementation
|
||||
!= "PyPy"
|
||||
- pydantic-core==2.46.4
|
||||
- pydantic==2.13.4
|
||||
- pyparsing==3.3.2
|
||||
- python-dateutil==2.9.0.post0
|
||||
- python-dotenv==1.2.2
|
||||
- pytz==2026.2
|
||||
- pywin32==312; sys_platform == "win32"
|
||||
- pyyaml==6.0.3
|
||||
- requests==2.34.2
|
||||
- scikit-learn==1.9.0
|
||||
- scipy==1.18.0
|
||||
- six==1.17.0
|
||||
- skops==0.14.0
|
||||
- smmap==5.0.3
|
||||
- sqlalchemy==2.0.51
|
||||
- sqlparse==0.5.5
|
||||
- starlette==1.3.1
|
||||
- threadpoolctl==3.6.0
|
||||
- typing-extensions==4.15.0
|
||||
- typing-inspection==0.4.2
|
||||
- tzdata==2026.2
|
||||
- urllib3==2.7.0
|
||||
- uvicorn==0.49.0
|
||||
- waitress==3.0.2; sys_platform == "win32"
|
||||
- wcwidth==0.8.1
|
||||
- werkzeug==3.1.8
|
||||
- yarl==1.24.2
|
||||
- zipp==4.1.0
|
||||
name: mlflow-env
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
[project]
|
||||
name = "fraud-models"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
"mlflow>=3.14.0",
|
||||
"pandas>=2.3.3",
|
||||
"scikit-learn>=1.9.0",
|
||||
]
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue