This implementation is the initialization part of Titanic Project (Machine Learning from Disaster).
This is the first package in our pipeline of project(Assignment 4b). This part is used for upload our data to brane's file system. It is built for future pipeline of uploading data, which is not necessary in this project since the data is already provided in ./data.
Each package, as a part in the brane pipeline, can be run separately to produce the corresponding results (processed data, ML models, visualization)
- Complete installation of Brane (manual1, manual2)
- Brane Dependencies (also in manual1, manual2)
- Brane IDE manual
- Download the source code by
git clone
$ git clone https://github.com/TISNN/brane-setup.git
$ cd brane-setup
- Build brane package by .yml file
$ brane build container.yml
- Check availablity
$ brane list
- import brane package
$ brane import TISNN/brane-setup
- Check availablity
$ brane list
If you see init
package with version==2.0.0, it was successfully built.
This package is only effective when executing on brane-ide.
- Go to you path to
brane-ide
- Once brane-ide is installed, launch the containerized JupyterLab environment:
$ make start-ide
- When we open the jupyter lab with branescript as the kernel, we can already see a
/data
path on the left side, which is the path to brane's file system. There are no files in it yet, we need to copy our owntrain.csv
andtest.csv
to this file system.
[1] import init;
[2] print(init("init"));
- If seen "init done", it ran successfully.