Giter Club home page Giter Club logo

example_cml's Introduction

Example Continuous Machine Learning project

This repository contains code and data for a simple classification problem. To get the dataset, please run python get_data.py.

example_cml's People

Contributors

casperdcl avatar elleobrien avatar rcdewit avatar tasdomas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

example_cml's Issues

auto-close PRs

There are 50+ 80+ PRs mistakenly open here (the getting started guide clearly asks to create a fork; doesn't say open a PR).

  • auto-close new PRs
    • without polluting this repo with e.g. .github/workflows/pr-bot.yml - maybe set up a webhook?
  • manually close existing PRs
  • with a helpful message saying why and what to do instead: Please fork the repository (first step in https://cml.dev/doc/start/github) to begin experimenting!
  • update the README here and the getting started guide to reduce confusion

Sklearn missing from dvcorg/cml-py3:latest

I'm following the tutorial here, and ran into the following issue:

Run # Your ML workflow goes here
Traceback (most recent call last):
  File "train.py", line 1, in <module>
    from sklearn.ensemble import RandomForestClassifier
ModuleNotFoundError: No module named 'sklearn'
##[error]Process completed with exit code 1.

You can see my attempts to get this to work in this PR: reproducible-analytics#1

Following the tutorial without making any changes brought me to this error: https://github.com/muanalytics/example_cml/runs/875446393

I tweaked the cml.yaml and you'll see that I got it working in the end. I was expecting this to work out of the box though?

git hub actions is giving me an error

image

{"code":"ENOENT","errno":-2,"level":"error","message":"ENOENT: no such file or directory, stat 'plot.png'","path":"plot.png","stack":"Error: ENOENT: no such file or directory, stat 'plot.png'","syscall":"stat"}
Error: Process completed with exit code 1.

I'm having this error when I'm pushing the repo I forked, I added the code you guys gave me into cml.yml. And when git hub actions is running the trani.py part of the cml.yml file the above error is occurring. Please help, I really want to start using this cml thing.

Error install as a package

# npm i -g @dvcorg/cml
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code 127
npm ERR! path /root/.nvm/versions/node/v16.0.0/lib/node_modules/@dvcorg/cml/node_modules/ssh2
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! sh: 1: node: Permission denied

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-04-05T12_04_56_558Z-debug.log

before that error I change version node from >17.x to 16.0, what version should I install for node, npm, or other dependencies for installing process?

thanks

Error

Hi, I'm having this error

{"level":"error","message":"Resource not accessible by integration","name":"HttpError","request":{"body":"{"body":"Accuracy: 0.876\n![](https://asset.cml.dev/0166c216cd10b1e224509781628cfc6a4d01673d?cml=png&cache-bypass=08e226f6-1596-42bc-9d87-16eb1c7fd480 \"Confusion Matrix\")\n\n![](https://cml.dev/watermark.png#9335b68292c57569977cbcdd2d5cc40752345872 \"CML watermark\")\n"}","headers":{"accept":"application/vnd.github.v3+json","authorization":"token [REDACTED]","content-type":"application/json; charset=utf-8","user-agent":"octokit-rest.js/18.0.0 octokit-core.js/3.6.0 Node.js/16.20.2 (linux; x64)"},"method":"POST","request":{"agent":{}},"url":"https://api.github.com/repos/mattmdjaga/example_cml/commits/9335b68292c57569977cbcdd2d5cc40752345872/comments"},"response":{"data":{"documentation_url":"https://docs.github.com/rest/commits/comments#create-a-commit-comment","message":"Resource not accessible by integration"},"headers":{"access-control-allow-origin":"*","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset","connection":"close","content-encoding":"gzip","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Tue, 22 Aug 2023 19:49:52 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"GitHub.com","strict-transport-security":"max-age=31536000; includeSubdomains; preload","transfer-encoding":"chunked","vary":"Accept-Encoding, Accept, X-Requested-With","x-accepted-github-permissions":"contents=read","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-api-version-selected":"2022-11-28","x-github-media-type":"github.v3; format=json","x-github-request-id":"6CC2:2854:16B25CE:2E1AC6C:64E51160","x-ratelimit-limit":"1000","x-ratelimit-remaining":"997","x-ratelimit-reset":"1692737388","x-ratelimit-resource":"core","x-ratelimit-used":"3","x-xss-protection":"0"},"status":403,"url":"https://api.github.com/repos/mattmdjaga/example_cml/commits/9335b68292c57569977cbcdd2d5cc40752345872/comments"},"stack":"HttpError: Resource not accessible by integration\n at /usr/lib/node_modules/@dvcorg/cml/node_modules/@octokit/request/dist-node/index.js:86:21\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at async Job.doExecute (/usr/lib/node_modules/@dvcorg/cml/node_modules/bottleneck/light.js:405:18)","status":403}

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.