Skip to content

Commit 43bbcda

Browse files
authored
Merge pull request #672 from EducationalTestingService/various-docs-issues
Various minor fixes
2 parents 13aa5a7 + a692831 commit 43bbcda

9 files changed

+42
-9
lines changed

.readthedocs.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# .readthedocs.yml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Build documentation in the docs/ directory with Sphinx
9+
sphinx:
10+
configuration: doc/conf.py
11+
12+
# Optionally build your docs in additional formats such as PDF and ePub
13+
formats: all
14+
15+
# Optionally set the version of Python and requirements required to build your docs
16+
python:
17+
version: 3.7
18+
install:
19+
- requirements: doc/requirements.txt
20+
system_packages: true

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ before_install:
3131
- ${HOME}/miniconda3/bin/conda update conda --yes
3232
install:
3333
- ${HOME}/miniconda3/bin/conda create --name sklldev -c conda-forge --file conda_requirements.txt python=${TRAVIS_PYTHON_VERSION} codecov --yes --quiet
34-
- ${HOME}/miniconda3/envs/sklldev/bin/pip install nose-cov
3534
- ${HOME}/miniconda3/envs/sklldev/bin/pip install -e .
3635

3736
# Run test

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ How to contribute
1919

2020
3. Create an isolated environment for SKLL development. We recommend using the [conda](https://conda.io/en/latest/) package manager. To create a `conda` environment, run the following command in the root of the working directory:
2121

22-
$ conda create -n sklldev -c conda-forge nose --file conda_requirements.txt
22+
$ conda create -n sklldev -c conda-forge --file conda_requirements.txt
2323

2424
4. Activate the conda environment
2525

README.rst

+9-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ SciKit-Learn Laboratory
33

44
.. image:: https://img.shields.io/travis/EducationalTestingService/skll/main.svg
55
:alt: Build status
6-
:target: https://travis-ci.org/EducationalTestingService/skll
6+
:target: https://travis-ci.com/EducationalTestingService/skll
7+
8+
.. image:: https://dev.azure.com/EducationalTestingService/SKLL/_apis/build/status/EducationalTestingService.skll
9+
:target: https://dev.azure.com/EducationalTestingService/SKLL/_build?view=runs
10+
:alt: Build status
711

812
.. image:: https://codecov.io/gh/EducationalTestingService/skll/branch/main/graph/badge.svg
913
:target: https://codecov.io/gh/EducationalTestingService/skll
@@ -149,6 +153,10 @@ Talks
149153
- *Simpler Machine Learning with SKLL 1.0*, Dan Blanchard, PyData NYC 2014 (`video <https://www.youtube.com/watch?v=VEo2shBuOrc&feature=youtu.be&t=1s>`__ | `slides <http://www.slideshare.net/DanielBlanchard2/py-data-nyc-2014>`__)
150154
- *Simpler Machine Learning with SKLL*, Dan Blanchard, PyData NYC 2013 (`video <http://vimeo.com/79511496>`__ | `slides <http://www.slideshare.net/DanielBlanchard2/simple-machine-learning-with-skll>`__)
151155

156+
Citing
157+
~~~~~~
158+
If you are using SKLL in your work, you can cite it as follows: "We used scikit-learn (Pedragosa et al, 2011) via the SKLL toolkit (https://github.com/EducationalTestingService/skll)."
159+
152160
Books
153161
~~~~~
154162

azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
displayName: "Update conda"
3131
3232
- script: |
33-
conda create --name sklldev --yes --quiet -c conda-forge -c defaults python=%PYTHON_VERSION% nose --file conda_requirements.txt
33+
conda create --name sklldev --yes --quiet -c conda-forge -c defaults python=%PYTHON_VERSION% --file conda_requirements.txt
3434
conda init cmd.exe
3535
CALL activate sklldev
3636
pip install -e .

conda_requirements.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
beautifulsoup4
2-
joblib>=0.8
2+
joblib
33
numpy
4+
nose-cov
45
pandas
56
pre-commit
67
ruamel.yaml
7-
scikit-learn==0.24.1
8+
scikit-learn>=0.24.1,<=0.24.2
89
scipy
910
seaborn
1011
tabulate

doc/requirements.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
beautifulsoup4
2+
ruamel.yaml
3+
seaborn
4+
tabulate
5+
scikit-learn>=0.24.1,<=0.24.2

doc/run_experiment.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1301,8 +1301,8 @@ predictions *(Optional)*
13011301
""""""""""""""""""""""""
13021302
13031303
Directory in which to store :ref:`prediction files <output_prediction_files>`.
1304-
Can be omitted to not store predictions. Must *not* be specified for the
1305-
:ref:`learning_curve <learning_curve>` and :ref:`train <train>` tasks.
1304+
Must *not* be specified for the :ref:`learning_curve <learning_curve>` and
1305+
:ref:`train <train>` tasks. If omitted, the current working directory is used.
13061306
13071307
.. _probability:
13081308

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
beautifulsoup4
2-
joblib>=0.8
2+
joblib
33
numpy
44
pandas
55
ruamel.yaml

0 commit comments

Comments
 (0)