GithubHelp home page GithubHelp logo

controlling-travel-path-of-original-cobra's Introduction

Controlling Travel Path of Original Cobra

Python 3.9.7

Implementation of the paper : Controlling Travel Path of Original Cobra

Abstract

In this paper we propose a kernel based COBRA which is a direct approximation of the original COBRA. We propose a novel tuning procedure for original COBRA parameters based on this kernel approximation. We show that our proposed algorithm provides much better accuracy than other COBRAs and faster than usual Gridsearch COBRA. We use two datasets to illustrate our proposed methodology over existing COBRAs.

Split of the dataset

Dataflow Pretrain Dataset Train Set (or Proximity Set)
Original COBRA $D_{k}$ $D_{l}$
Split Full Prox $D_{k}$ $D_{k} \cup D_{l}$
No Split $D_{k} \cup D_{l}$ $D_{k} \cup D_{l}$

Search Methods

Search Method Description
Grid Search Grid Search over the 100 grid points between the minimum and maximum prediction of Proximity Set Predictions
Random Search Random Search over the 100 random points between the minimum and maximum prediction of Proximity Set Predictions
Gradient Descent Gradient Descent over the 100 iterations both in proposed and Gradient COBRA

Datasets

The dataset taken from UCI regression dataset.

Dataset Observations Dimensions
airfoil 1503 5
autompg 398 7
breastcancer 198 33
california housing dataset 20640 8
concreteslump 103 7
energy 768 8
forest 517 12
servo 167 4
skillcraft 3395 19
sml 4137 26
yacht 308 6

File Description

File Description
final.py Run the base models, store the results, and distances for all dataset except California Housing and Boston Housing
final_other.py Run the base models, store the results, and distances for California Housing and Boston Housing
final2.py Run the proposed models, and othee COBRA search methods, store the results, and distances for all dataset except California Housing and Boston Housing
final2_other.py Run the proposed models, and othee COBRA search methods, store the results, and distances for California Housing and Boston Housing
final2_randomized.py Run the randomized search methods, store the results, and distances for all dataset except California Housing and Boston Housing
final2_other_randomized.py Run the randomized search methods, store the results, and distances for California Housing and Boston Housing

Attribtion

  1. Gradient Cobra is taken from Gradient Cobra
  2. For base models SciKit Learn is used.

controlling-travel-path-of-original-cobra's People

Contributors

yuvrajiro avatar

Watchers

 avatar

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.