
Product
A New Design for GitHub PR Comments
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.
AI4AO is a Python package that allows to build any of the
scikit-learn
supported Clustering and Classification algorithms
based machine learning models in batches. This means that one can use yaml
declarative
syntax in order to write a configuration file, and based on the instructions in the configuration file, and the
machine learning models will be constructed sequentially. This way many models can be built with a single configuration
file with the results being arranged in an extremely modular way. AI4AO can be considered as a convenient wrapper for
scikit-learn models.
www.selvai.com
https://pypi.org/project/ai4ao
https://gitlab.com/selvai/ai4ao
https://selvai.gitlab.io/ai4ao/
config.yaml
# config.yaml
IsolationForest_0.01:
project_name: timeseries_anomaly
run_this_project: True
multi_variate_model: True
model: IsolationForest
data:
path: 'path-to-train-data.csv'
test_data_path: 'path-to-train-data.csv'
features_to_avoid: ['feat-to-avoid']
hyperparams:
contamination: 0.01
results:
path: 'results/isolation_forest_001/'
remote_run: False
config.yaml
# example_script.py
import ai4ao # import package
from ai4ao.models import SKLearnModel as Model # scikit-learn wrapper
# fit and evaluate model
model = Model(plot_results=True)
model.batch_fit(path_config='configs.yaml')
# print models and metrics
print(model.models)
print(model.metrics())
FAQs
Unknown package
We found that ai4ao demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.
Product
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.
Security News
Slopsquatting is a new supply chain threat where AI-assisted code generators recommend hallucinated packages that attackers register and weaponize.