code space용 설정 파일 추가
mutation 설정 - 특정 확률로 파티클의 위치를 랜덤하게 방향 조정
This commit is contained in:
jung-geun
2023-07-06 20:46:38 +09:00
parent 9aab259970
commit 4170100bd1
6 changed files with 74 additions and 15 deletions

View File

@@ -21,14 +21,6 @@ jobs:
- name: Install dependencies
run: |
conda env update --file environment.yaml --name base
- name: Lint with flake8
- name: pso mnist run
run: |
conda install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
conda install pytest
pytest
python mnist.py