Giter Club home page Giter Club logo

divorce's Introduction

Rubix ML

PHP from Packagist Latest Stable Version Downloads from Packagist Code Checks GitHub

A high-level machine learning and deep learning library for the PHP language.

  • Developer-friendly API is delightful to use
  • 40+ supervised and unsupervised learning algorithms
  • Support for ETL, preprocessing, and cross-validation
  • Open source and free to use commercially

Installation

Install Rubix ML into your project using Composer:

$ composer require rubix/ml

Requirements

  • PHP 7.4 or above

Recommended

Optional

Documentation

Read the latest docs here.

What is Rubix ML?

Rubix ML is a free open-source machine learning (ML) library that allows you to build programs that learn from your data using the PHP language. We provide tools for the entire machine learning life cycle from ETL to training, cross-validation, and production with over 40 supervised and unsupervised learning algorithms. In addition, we provide tutorials and other educational content to help you get started using ML in your projects.

Getting Started

If you are new to machine learning, we recommend taking a look at the What is Machine Learning? section to get started. If you are already familiar with basic ML concepts, you can browse the basic introduction for a brief look at a typical Rubix ML project. From there, you can browse the official tutorials below which range from beginner to advanced skill level.

Tutorials & Example Projects

Check out these example projects using the Rubix ML library. Many come with instructions and a pre-cleaned dataset.

Interact With The Community

Contributing

See CONTRIBUTING.md for guidelines.

License

The code is licensed MIT and the documentation is licensed CC BY-NC 4.0.

divorce's People

Contributors

andrewdalpino avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

divorce's Issues

Create the tutorial!

We're looking for someone from the community to lay down some prose and help out your fellow developers. You'll have the chance to dive deep into the K Nearest Neighbors algorithm so that you can communicate its intuition to beginners who are just starting out using the Rubix ML library. You'll also have the freedom to use your creativity to develop a guide that is delightful and conveys the fundamentals of supervised classification, cross-validation, and data extraction.

Take a look at the other tutorials as a guide for structure and depth. The target audience is a beginner and the goal is to get them up and running quickly but leave breadcrumbs of information for them to explore later.

One suggestion is to include somewhere an intuitive explanation of KNN where the dataset is imagined in some n-dimensional Euclidean space and the classifier is locating nearest samples in such a space.

Why is KNN's confidence usually 1?

I have experimented quite a bit with this example over the past few days as an initial approach towards learning Rubix, and I have noticed that the confidence with which the KNN formulates its predictions is always 1 for the up class, and never in-between.

I would expect situations where the dominant class is not so clear, as the K neighbors may very well be mixed between the two.

I have also looked at the source code for the probaSample function and it looks correct to me. Have you experienced this result in your testing with the Divorce predictor? Could it be because of the nature of the problem, i.e., could the 54-dimensional feature vectors reside within well-defined boundaries for each of the two classes, married and divorced?

Dataset Numbers Explaination ?

What do they numbers in the dataset stand for ? It's 0 to 4. Is that the 'likeliness' from Negative to most Positive ? It's weird that they are from 0 to 4. Never seen anything similar i mean.

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.