Skip to content

TISNN/brane-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WSCBS_Assignment4b_brane_Setup

DOI

This implementation is the initialization part of Titanic Project (Machine Learning from Disaster).

Usage

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)

Requirements

Setup

By source code (Git repository)

  1. Download the source code by git clone
$ git clone https://github.com/TISNN/brane-setup.git
$ cd brane-setup
  1. Build brane package by .yml file
$ brane build container.yml
  1. Check availablity
$ brane list

By brane package method

  1. import brane package
$ brane import TISNN/brane-setup
  1. Check availablity
$ brane list

If you see init package with version==2.0.0, it was successfully built.

Run

This package is only effective when executing on brane-ide.

  1. Go to you path to brane-ide
  2. Once brane-ide is installed, launch the containerized JupyterLab environment:
$ make start-ide
  1. 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 own train.csv and test.csv to this file system.
[1] import init;
[2] print(init("init"));
  1. If seen "init done", it ran successfully.