Giter Site home page Giter Site logo

tryml's Introduction

tryml

Contains the python code and notebooks for trying out ML models.

Some of the notebooks are from switchup career program @IK which have been modified to explore further on it.

layout/structure

Based out of mono repo setup described in this blog - https://www.tweag.io/blog/2023-04-04-python-monorepo-1/

This setup has manual work to keep toml & requirement.txt files up-to-date and also it doesn't use any lib (e.g. poetry) to lock transitive dependencies so there could be suprises

Root level folder structure

  • libs: contains the python packages which can be used across projects

  • projects: contains code for different ML topics/assignments/projects at IK and of self explore

  • templates: contains the template to generate a new package in libs. Look at templates/pylibrary/README.md for commands to create a libs package from template.

devpi setup

We will use the PyPi mirror to locally install the /libs packages and looking up them while building the docker files. It will allow to add /libs packages as regular dependencies.

https://devpi.net/docs/devpi/devpi/latest/+doc/index.html

Kaggle setup

Some of the projects use Kaggle to download the dataset.

On your Kaggle account, under API, select "Create New API Token" and kaggle.json will be downloaded on your computer.

Go to directory — "${user.home}.kaggle" — and move here the downloaded JSON file.

Tips

If you are using vscode and working on python file (.py) select the python interpreter to point to this project's virtual env. This will help the vscode to find the packages and do aute-complete. open the Command Palette (⇧⌘P) -> Python: Select Interpreter -> "select project/lib's virutal env". vscode docs

tryml's People

Contributors

nitesr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.