Skip to content

Commit 247277c

Browse files
authored
v0.4.0_testing_stable (#14)
* v0.4.0 * v0.4.0 * feature_1_2_3_4_5_6_7_8_testing (#11) * v0.4.0 * Updating workflow for python 3.7 * maintenance_12_testing (#13) * Adding project tracker to README * Adding project tracker to README Co-authored-by: Diptesh <bdiptesh@gmail.com> Co-authored-by: Madhu <madhu.tangudu@gmail.com>
1 parent bb72eae commit 247277c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+48049
-17
lines changed

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
strategy:
3838
fail-fast: false
3939
matrix:
40-
python-version: [3.7, 3.8, 3.9]
40+
python-version: [3.7]
4141

4242
steps:
4343
- uses: actions/checkout@v2

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
strategy:
3838
fail-fast: false
3939
matrix:
40-
python-version: [3.7, 3.8, 3.9]
40+
python-version: [3.7]
4141

4242
steps:
4343
- uses: actions/checkout@v2

README.md

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
[![linter](../../actions/workflows/checks.yml/badge.svg)](../../actions/workflows/linter.yml)
2-
[![tests](../../actions/workflows/checks.yml/badge.svg)](../../actions/workflows/tests.yml)
1+
[![linter](../../actions/workflows/linter.yml/badge.svg)](../../actions/workflows/linter.yml)
2+
[![tests](../../actions/workflows/tests.yml/badge.svg)](../../actions/workflows/tests.yml)
33
[![pylint Score](https://mperlet.github.io/pybadge/badges/10.0.svg)](./logs/pylint/)
44
[![Coverage score](https://img.shields.io/badge/coverage-100%25-dagreen.svg)](./logs/cov.out)
55
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](./LICENSE)
@@ -11,22 +11,27 @@
1111
1. [Objective](./README.md#objective)
1212
1. [Programming style](./README.md#programming-style)
1313
1. [Version control](./README.md#version-control)
14-
1. [Contribution guidelines](./.github/CONTRIBUTING.md)
14+
1. Project tracker
15+
1. [Backlogs](https://github.com/orgs/ml-lib/projects/1/views/1)
16+
1. [Releases](https://github.com/orgs/ml-lib/projects/1/views/4)
17+
1. [Kanban board (current release)](https://github.com/orgs/ml-lib/projects/1/views/5)
1518
1. [Project documents](./docs)
1619
1. [Approach](./docs/Approach.pdf)
1720
1. [Available modules](./mllib/lib)
1821
1. [Clustering](./mllib/lib/cluster.py) - determines optimal _k_
1922
1. [GLMNet](./mllib/lib/model.py) - classification/regression
2023
1. [k-nearest neighbours](./mllib/lib/knn.py) - classification/regression
21-
1. [Random forest](./mllib/lib/tree.py) - classification/timeseries/regression
22-
1. [XGBoost](./mllib/lib/tree.py) - classification/timeseries/regression
24+
1. [Random forest](./mllib/lib/tree.py) - classification/regression
25+
1. [XGBoost](./mllib/lib/tree.py) - classification/regression
2326
1. [Traveling salesman problem](./mllib/lib/opt.py) - integer programming/heuristic
2427
1. [Transportation problem](./mllib/lib/opt.py) - integer programming
2528
1. [Time series](./mllib/lib/timeseries.py)
2629
1. [Pull request guidelines](./.github/PULL_REQUEST_TEMPLATE.md)
2730
1. [Initial setup](./README.md#initial-setup)
2831
1. [Unit tests](./README.md#run-unit-tests-and-pylint-ratings)
29-
1. [Important links](./README.md#important-links)
32+
1. [Contribution guidelines](./.github/CONTRIBUTING.md)
33+
1. [Branching conventions](./docs/Branch.md)
34+
1. [Directory structure](./docs/Directory_structure.md)
3035
1. [License](./LICENSE)
3136
***
3237

@@ -88,12 +93,3 @@ Available options:
8893
The pylint ratings for each python script can be found at
8994
[logs/pylint/](./logs/pylint/)
9095
***
91-
92-
## Important links
93-
94-
#### Guidelines
95-
96-
- [Contribution guidelines](./.github/CONTRIBUTING.md)
97-
- [Branching conventions](./docs/Branch.md)
98-
- [Directory structure](./docs/Directory_structure.md)
99-
***

bin/metrics/build.sh

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/bin/bash
2+
# =============================================================================
3+
# Shared objects
4+
#
5+
# Objective: Build compiled shared objects (*.so files) from *pyx files.
6+
#
7+
# Version: 0.1.0
8+
#
9+
# Author: Diptesh
10+
#
11+
# Date: Apr 17, 2020
12+
#
13+
# =============================================================================
14+
15+
python setup.py build_ext --inplace
16+
17+
pat="\.\/[^\/]+\.so"
18+
19+
for i in $(find -name "*.so")
20+
do
21+
if [[ $i =~ $pat ]]
22+
then
23+
file_new=$(sed -E 's/(\.\/)([a-z0-9]+)(\..+\.so)/\2.so/' <<< $i)
24+
file_old=$(sed -E 's/(\.\/)(.+)/\2/' <<< $i)
25+
mv $file_old $file_new
26+
fi
27+
done
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)