Comments (1)
I sincerely apologize for my late reply. We have released the latest version of ADBench, which now support the implementation of either customized dataset or algorithm. After installing ADBench and upgrading to its latest version, you can run AD algorithms (or your customized algorithm) on the customized dataset. See the following codes:
# customized model on ADBench's datasets
from adbench.run import RunPipeline
from adbench.baseline.Customized.run import Customized
# notice that you should specify the corresponding category of your customized AD algorithm
# for example, here we use Logistic Regression as customized clf, which belongs to the supervised algorithm
# for your own algorithm, you can realize the same usage as other baselines by modifying the fit.py, model.py, and run.py files in the adbench/baseline/Customized
pipeline = RunPipeline(suffix='ADBench', parallel='supervise', realistic_synthetic_mode=None, noise_type=None)
results = pipeline.run(clf=Customized)
# customized model on customized dataset
import numpy as np
dataset = {}
dataset['X'] = np.random.randn(1000, 20)
dataset['y'] = np.random.choice([0, 1], 1000)
results = pipeline.run(dataset=dataset, clf=Customized)
Please see the guidance for further details.
from adbench.
Related Issues (19)
- dependency installation: HOT 3
- Include ELKI for some 20+ additional algorithms HOT 1
- ALOI dataset description HOT 2
- The data generator fails to generate correct number of training data HOT 1
- The BaseADDataset can not import HOT 1
- ImportError: cannot import name 'DataGenerator' from 'data_generator' HOT 2
- Data set choice: pay attention to use unbalanced data HOT 3
- Broken Link in README HOT 1
- Error in model fitting
- fatal: early EOF fatal: fetch-pack: invalid index-pack output HOT 1
- copula function error in some datasets
- Dependency issue
- About the Integrated Library HOT 1
- Platform HOT 1
- Paralle computing to tackel large-scale data. HOT 1
- Dataset Source/Link HOT 1
- passing ratio information in fit() derived from test-dataset HOT 3
- CV in ADBench HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adbench.