ProCreations's picture
download
raw
724 Bytes
#!/usr/bin/env bash
# Helper to run the regime shift analysis without import errors.
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
REPO_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)"
# Update these to point to your dataset root and desired output directory.
: "${DATA_ROOT:=/home/username/Data/workspace/QueryAgentMatch/QueryAgentMatch-Public/dataset}"
: "${OUTPUT_DIR:=${REPO_ROOT}/analysis/artifacts_content_pop}"
mkdir -p "${OUTPUT_DIR}"
# Ensure the repo is on PYTHONPATH so agent_rec can be imported.
export PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${REPO_ROOT}"
python "${REPO_ROOT}/analysis/popularity_analysis.py" \
--data_root "${DATA_ROOT}" \
--output_dir "${OUTPUT_DIR}" \
"$@"

Xet Storage Details

Size:
724 Bytes
·
Xet hash:
fe32a930724fa4fdebc11aec764d8601ab58cd05eed6445cc4a1f377dd0acb5b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.