Skip to content

Commit 27fd0f7

Browse files
committed
update readme
1 parent 26124f8 commit 27fd0f7

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,33 @@ More features will be released soon. Feedback and feature request are always wel
3636
pip install darkon
3737
```
3838

39+
## Usage
40+
```python
41+
inspector = darkon.Influence(workspace_path,
42+
YourDataFeeder(),
43+
loss_op_train,
44+
loss_op_test,
45+
x_placeholder,
46+
y_placeholder)
47+
48+
scores = inspector.upweighting_influence_batch(sess,
49+
test_indices,
50+
test_batch_size,
51+
approx_params,
52+
train_batch_size,
53+
train_iterations)
54+
55+
```
56+
3957
## Examples / Getting Started
4058
- [Examples](https://github.com/darkonhub/darkon-examples)
41-
- Documentation: ~~will be soon~~
59+
- [Documentation](https://darkonhub.github.io)
4260

4361
## Communication
4462
- [Issues](https://github.com/darkonhub/darkon/issues): report issues, bugs, and request new features
4563
- [Pull request](https://github.com/darkonhub/darkon/pulls)
4664
- News: ~~link twitter account~~
47-
- Discuss: ~~gitter~~
65+
- Discuss: [![Gitter](https://badges.gitter.im/darkonhub/darkon.svg)](https://gitter.im/darkonhub/darkon?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
4866
- Email: [darkon@neosapience.com](mailto:darkon@neosapience.com)
4967

5068
## Authors

info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "darkon",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"authors": "Neosapience, Inc.",
55
"github_url": "https://github.com/darkonhub/darkon"
66
}

0 commit comments

Comments
 (0)