Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Shubham Shukla shubham808

🎯
Focusing
Block or report user

Report or block shubham808

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Final Report.md
View net.cpp
#include <shogun/base/init.h>
#include <shogun/base/some.h>
#include <shogun/evaluation/ContingencyTableEvaluation.h>
#include <shogun/features/Features.h>
#include <shogun/io/File.h>
#include <shogun/io/SerializableAsciiFile.h>
#include <shogun/labels/BinaryLabels.h>
#include <shogun/labels/Labels.h>
#include <shogun/lib/DynamicObjectArray.h>
#include <shogun/lib/SGVector.h>
View perceptron.cc
TEST(Perceptron, prematurely_stop)
{
auto env = linear_test_env->getBinaryLabelData();
auto features = wrap(env->get_features_train());
auto labels = wrap(env->get_labels_train());
auto test_features = wrap(env->get_features_test());
auto test_labels = wrap(env->get_labels_test());
auto perceptron = some<CPerceptron>();
View gist:864261eed299b5b1a8fbcb89d6d260e9
[----------] 5 tests from KNN
[ RUN ] KNN.brute_solver
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 0.0 seconds total
[ OK ] KNN.brute_solver (75 ms)
[ RUN ] KNN.kdtree_solver
[ OK ] KNN.kdtree_solver (164 ms)
[ RUN ] KNN.lsh_solver
[ OK ] KNN.lsh_solver (135 ms)
[ RUN ] KNN.classify_multiple_brute
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 0.0 seconds total
View Titanic.ipnyb
{
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
View missiles.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<title>Dotchaser</title>
You can’t perform that action at this time.