Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Lattner committed Jun 3, 2016
0 parents commit 6cb8dec
Show file tree
Hide file tree
Showing 28 changed files with 10,937 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
build/
*.pyc
*.so
*.egg-info
*.so.dSYM
_glmnetmodule.c
.git
.gitignore
circle.yml
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
build/
*.pyc
*.so
*.egg-info
*.so.dSYM
_glmnetmodule.c
dist
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).


## 0.1.0 - 2016-06-03
### Added
- Initial release
50 changes: 50 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Contributor Code of Conduct

As contributors and maintainers of this project, and in the interest of
fostering an open and welcoming community, we pledge to respect all people who
contribute through reporting issues, posting feature requests, updating
documentation, submitting pull requests or patches, and other activities.

We are committed to making participation in this project a harassment-free
experience for everyone, regardless of level of experience, gender, gender
identity and expression, sexual orientation, disability, personal appearance,
body size, race, ethnicity, age, religion, or nationality.

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery
* Personal attacks
* Trolling or insulting/derogatory comments
* Public or private harassment
* Publishing other's private information, such as physical or electronic
addresses, without explicit permission
* Other unethical or unprofessional conduct

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

By adopting this Code of Conduct, project maintainers commit themselves to
fairly and consistently applying these principles to every aspect of managing
this project. Project maintainers who do not follow or enforce the Code of
Conduct may be permanently removed from the project team.

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community.

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting a project maintainer at opensource@civisanalytics.com.
All complaints will be reviewed and investigated and will result in a response
that is deemed necessary and appropriate to the circumstances. Maintainers are
obligated to maintain confidentiality with regard to the reporter of an
incident.


This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 1.3.0, available at
[http://contributor-covenant.org/version/1/3/0/][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/3/0/
30 changes: 30 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Contributing to python-glmnet

We welcome bug reports and pull requests from everyone!
This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.


## Getting Started

1. Fork it ( https://github.com/civisanalytics/python-glmnet/fork )
2. Install the dependencies (`pip install -r requirements.txt`)
3. Make sure you are able to run the test suite locally (`nosetests -v`)
4. Create a feature branch (`git checkout -b my-new-feature`)
5. Make your change. Don't forget tests
6. Make sure the test suite, including your new tests, passes (`nosetests -v`)
7. Commit your changes (`git commit -am 'Add some feature'`)
8. Push to the branch (`git push origin my-new-feature`)
9. Create a new pull request
10. If the CircleCI build fails, address any issues

## Tips

- All pull requests must include test coverage. If you’re not sure how to test
your changes, feel free to ask for help.
- Contributions must conform to PEP 8 and the NumPy/SciPy Documentation standards:
- [PEP 8 -- Style Guide for Python Code](https://www.python.org/dev/peps/pep-0008/)
- [A Guide to NumPy/SciPy Documentation](https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt)
- Don’t forget to add your change to the [CHANGELOG](CHANGELOG.md). See
[Keep a CHANGELOG](http://keepachangelog.com/) for guidelines.

Thank you for taking the time to contribute to python-glmnet!
25 changes: 25 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
FROM ubuntu:14.04

RUN DEBIAN_FRONTEND=noninteractive apt-get update -y && \
apt-get install -y \
python3-all \
python3-dev \
python3-pip \
liblapack-dev \
libatlas-dev \
gfortran

RUN ln -nsf /usr/bin/python3 /usr/bin/python
RUN ln -s /usr/bin/pip3 /usr/bin/pip

RUN pip install -U -qq --no-deps "numpy==1.9.3"
RUN pip install -U -qq --no-deps "scipy==0.14.1"
RUN pip install -U -qq --no-deps "cython==0.21.1"
RUN pip install -U -qq --no-deps "scikit-learn==0.17.0"
RUN pip install -U -qq --no-deps "python-dateutil==2.2"
RUN pip install -U -qq --no-deps "pytz"
RUN pip install -U -qq --no-deps "pandas==0.17.1"
RUN pip install -U -qq --no-deps "nose==1.3.7"

COPY . /src/python-glmnet
RUN cd /src/python-glmnet && python setup.py install
Loading

0 comments on commit 6cb8dec

Please sign in to comment.