Giter Club home page Giter Club logo

smartcore-examples's Introduction

DEPRECATION

This examples are for legacy version 0.21, please see the notebooks in smartcore-jupyter for current examples.

SmartCore Examples

Examples of code using machine learning models from SmartCore library. All examples here are used in SmartCore's User guide and grouped into same categories as pages from the manual.

How to run examples?

To list available examples:

cargo run list

To run an example:

cargo run quick-start:iris-knn

smartcore-examples's People

Contributors

dependabot-preview[bot] avatar mec-is avatar morenol avatar volodymyrorlov avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

smartcore-examples's Issues

nalgebra examples

It would be great to have at least one simple example, like maybe the iris dataset one from the website's Getting Started section, that demonstrated how to load the data using NAlgebra.

naive question for KNNClassifier

Hi smartcore developers,

Thank you for such a nice tool. I am quite new to Rust, and have problem to run KNNClassifier with user defined parameters, say k value =5 instead of the default 3. I only saw KNNClassifier::fit(&x, &y, Default::default()).unwrap() with the default parameters, and got trouble when trying KNNClassifier::fit(&x, &y, KNNClassifierParameters { distance: Distances::euclidian(), algorithm: KNNAlgorithmName::CoverTree, weight: KNNWeightFunction::Uniform, k: 5, }).unwrap()
Could you help me figure out what was wrong here?

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.