thoughtfulml / examples Goto Github PK
View Code? Open in Web Editor NEWexamples from "Thoughtful Machine Learning"
examples from "Thoughtful Machine Learning"
Dear Matt,
I've recently added your project to our RubyML list: https://github.com/arbox/machine-learning-with-ruby
I wonder if you want to participate in the Ruby for ML network. You could do this in a very simple step by adding the rubyml
topic to your GitHub repository. And you may want to spread a word on Twitter or on other media :)
Thank you for the project!
Hello,
I need some hint on how you arrived at the following conclusion:
"At this point, you'll notice we reduced the orders needing fraud review from 1,000 to 40 (i.e., 4% of the total).
Many thanks.
2-k-nearest-neighbors git:(master) ✗ bundle exec rake
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -w -I"lib:lib" -I"/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib" "/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/rake_test_loader.rb" "test/lib/face_spec.rb" "test/lib/image_spec.rb" "test/lib/neighborhood_spec.rb"
/Users/mordekay/Codes/examples/2-k-nearest-neighbors/test/lib/face_spec.rb:12: warning: assigned but unused variable - actual_md5
/Users/mordekay/Codes/examples/2-k-nearest-neighbors/test/lib/face_spec.rb:13: warning: assigned but unused variable - expected_md5
File does not exist: minitest/autorun
rake aborted!
Command failed with status (1): [ruby -w -I"lib:lib" -I"/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib" "/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/lib/rake/rake_test_loader.rb" "test/lib/face_spec.rb" "test/lib/image_spec.rb" "test/lib/neighborhood_spec.rb" ]
/Library/Ruby/Gems/2.3.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
/Library/Ruby/Gems/2.3.0/gems/bundler-2.0.1/lib/bundler/cli/exec.rb:74:in `load'
/Library/Ruby/Gems/2.3.0/gems/bundler-2.0.1/lib/bundler/cli/exec.rb:74:in `kernel_load'
/Library/Ruby/Gems/2.3.0/gems/bundler-2.0.1/lib/bundler/cli/exec.rb:28:in `run'
/Library/Ruby/Gems/2.3.0/gems/bundler-2.0.1/lib/bundler/cli.rb:463:in `exec'
/Library/Ruby/Gems/2.3.0/gems/bundler-2.0.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Library/Ruby/Gems/2.3.0/gems/bundler-2.0.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/Library/Ruby/Gems/2.3.0/gems/bundler-2.0.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/Library/Ruby/Gems/2.3.0/gems/bundler-2.0.1/lib/bundler/cli.rb:27:in `dispatch'
/Library/Ruby/Gems/2.3.0/gems/bundler-2.0.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/Library/Ruby/Gems/2.3.0/gems/bundler-2.0.1/lib/bundler/cli.rb:18:in `start'
/Library/Ruby/Gems/2.3.0/gems/bundler-2.0.1/exe/bundle:30:in `block in <top (required)>'
/Library/Ruby/Gems/2.3.0/gems/bundler-2.0.1/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/Library/Ruby/Gems/2.3.0/gems/bundler-2.0.1/exe/bundle:22:in `<top (required)>'
/usr/local/bin/bundle:22:in `load'
/usr/local/bin/bundle:22:in `<main>'
Tasks: TOP => default => test
(See full trace by running task with --trace)
➜ 2-k-nearest-neighbors git:(master)
Sorry Help !!!
what should I do ?
I only have your Ruby book and don't have your Python book yet, so maybe its covered there, but it would have been a big help to see this 62.5% explained. I guess I would need to understand what comprised the 'magical Z' as well.
book page 35 the crow note:
All of the code for this example can be found on Github. Because Ruby is constantly changing, the README file should include the most up-to-date instructions on getting these code examples working.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.