num.cr
Scientific computing in pure Crystal
File Explorer
Download Latest Version (.zip)- devcontainer.json
- bug_report.md
- crystal.yml
- Dockerfile
- requirements.txt
- gen_doc_stubs.py
- index.md
- xor.cr
- xor_opencl.cr
- iris.cr
- mnist.cr
- contract_spec.cr
- array_spec.cr
- number_spec.cr
- slice_spec.cr
- gates_arithmetic_spec.cr
- gates_blas_spec.cr
- gates_exp_spec.cr
- gates_log_spec.cr
- gates_reduction_spec.cr
- gates_trigonometric_spec.cr
- primitives_spec.cr
- 5x5.npy
- single_rank_tensor.npy
- io_spec.cr
- linalg_spec.cr
- work_spec.cr
- convolution_spec.cr
- dropout_spec.cr
- loss_spec.cr
- numerical_gradient_spec.cr
- allocation_spec.cr
- convert_spec.cr
- index_spec.cr
- manipulate_spec.cr
- math_spec.cr
- random_spec.cr
- reduction_spec.cr
- shape_spec.cr
- spec_helper.cr
- contract.cr
- pair.cr
- singleton.cr
- utils.cr
- optimizers.cr
- strategies.cr
- validation.cr
- array.cr
- number.cr
- slice.cr
- agnostic.cr
- cpu.cr
- opencl.cr
- arithmetic.cr
- blas.cr
- exp.cr
- log.cr
- reduction.cr
- trigonometric.cr
- context.cr
- gate.cr
- node.cr
- payload.cr
- variable.cr
- variable.cr
- npy.cr
- cblas.cr
- clblast.cr
- lapack.cr
- nnpack.cr
- extension.cr
- linalg.cr
- work.cr
- activation.cr
- convolution.cr
- dropout.cr
- loss.cr
- maxpool.cr
- optimizers.cr
- activation.cr
- loss.cr
- optimizers.cr
- activation.cr
- dropout.cr
- loss.cr
- optimizers.cr
- datasets.cr
- iris.cr
- mnist.cr
- convolution.cr
- dropout.cr
- elu.cr
- flatten.cr
- input.cr
- leaky_relu.cr
- linear.cr
- maxpool.cr
- mse.cr
- relu.cr
- sigmoid.cr
- sigmoid_cross_entropy.cr
- softmax_cross_entropy.cr
- convolution.cr
- dropout.cr
- elu.cr
- flatten.cr
- input.cr
- leaky_relu.cr
- linear.cr
- maxpool.cr
- relu.cr
- sigmoid.cr
- mse.cr
- sigmoid_cross_entropy.cr
- softmax_cross_entropy.cr
- adam.cr
- sgd.cr
- layer.cr
- loss.cr
- optimizer.cr
- validation.cr
- initialization.cr
- network.cr
- aliases.cr
- exceptions.cr
- impl_index.cr
- impl_manipulate.cr
- impl_allocation.cr
- impl_convert.cr
- impl_data_structure.cr
- impl_index.cr
- impl_iteration.cr
- impl_manipulate.cr
- impl_math.cr
- impl_reduction.cr
- impl_allocation.cr
- impl_convert.cr
- impl_data_structure.cr
- impl_index.cr
- impl_iteration.cr
- impl_manipulate.cr
- impl_math.cr
- impl_reduction.cr
- ndindex.cr
- unsafe_iter.cr
- yield_iterators.cr
- base.cr
- builtin.cr
- custom.cr
- operators.cr
- templates.cr
- global_state.cr
- impl_allocation.cr
- impl_convert.cr
- impl_data_structure.cr
- impl_index.cr
- impl_iteration.cr
- impl_manipulate.cr
- impl_math.cr
- impl_reduction.cr
- util_index.cr
- util_manipulate.cr
- util_storage.cr
- broadcast.cr
- enums.cr
- print.cr
- random.cr
- shape.cr
- allocation.cr
- convert.cr
- data_structure.cr
- index.cr
- iteration.cr
- manipulate.cr
- math.cr
- random.cr
- reduction.cr
- api.cr
- num.cr
- .editorconfig
- .gitignore
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- LICENSE
- mkdocs.yml
- README.md
- shard.yml
# Installation Guide
1. Get the code
git clone https://github.com/crystal-data/num.cr
Downloads the entire project code from GitHub to your computer.
cd num.cr
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -f ci/Dockerfile -t num-cr .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 num-cr
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Python
EasyPrerequisites
pip install -r ci/requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <์คํํ ํ์ผ๋ช
>.py # README์์ ์ ํํ ์คํ ํ์ผ๋ช
์ ํ์ธํ์ธ์
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
