ml4t-models

v0.1.5 safe
2.7
Low Risk

Finance-specific models for asset pricing, prediction, and portfolio learning.

📦 Package Quality Overall: Medium (5.6/10)

✦ High Test Suite 9.0

Test suite present — 1 test file(s) found

  • Test runner config found: pyproject.toml
  • 1 test file(s) detected (e.g. test_wheel.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://www.ml4trading.io/docs/models/
  • Detailed PyPI description (6755 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 7.0

Partial type annotation coverage

  • Classifier: Typing :: Typed
  • 308 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

✓ Outbound Network Calls

No suspicious network call patterns found

⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • = self.training self.eval() try: with torch.no_grad():
  • t None: model.eval() with torch.no_grad():
  • d_checkpoint])) model.eval() mask = _resolve_mask(batch) predictions =
  • tate_dict)) model.eval() betas_t, factors_t = _extract_cae_state(
  • tate_dict)) model.eval() asset_betas, factor_returns = _extract_cae_sta
  • ng = model.training model.eval() losses: list[float] = [] with torch.no_grad():
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • e(attempts): result = subprocess.run(command, check=False) if result.returncode == 0:
  • mmit, checkout_commit=subprocess.check_output(["git", "rev-parse", "HEAD"], text=True).strip(), ma
  • .strip(), main_commit=subprocess.check_output(["git", "rev-parse", "origin/main"], text=True).strip(),
  • tag_exists=( subprocess.run( ["git", "show-ref", "--verify", "--quiet",
  • release_exists=( subprocess.run( ["gh", "release", "view", tag, "--repo", ar
  • t.pop("PYTHONPATH", None) subprocess.run(command, cwd=cwd, env=environment, check=True) def _wheel(
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: applied-ai.com>

✓ Suspicious Page Links

All external links appear legitimate

⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 4.0

2 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with ml4t-models
Build a simple Python application using the ml4t-models package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!