rasbt / rasbt/mlxtend

Stack Decision Region Plots in 3D

Open
#488 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

difficult
Dominant language
Python
Stars
5.2k
Forks
916
Avg merge
17h 31m
Merged PRs (30d)
4

Description

Hi everyone. First of all, I'm quite new at using matplotlib and mlxtend, so I apologise in advance if what I ask is stupid or simply wrong.

The thing is that I want to stack some decision region plots in 3D depending on the filler value that I set for the third feature so it looks similar to this:

From: https://kaleidoscopicdiaries.wordpress.com/2016/08/22/stacking-density-plots-in-3d-in-matplotlib/

Since the plot_decision_regions method returns a matplotlib.axes.Axes object, I have not been able to figure out how to do it properly. Is there an easy way to do it?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the plot_decision_regions implementation and how it returns a matplotlib.axes.Axes object. Compare that entry point with matplotlib's 3D plotting support and the linked stacking example; done would require a defined, tested way to render decision regions for varying third-feature filler values.

Written by the indexing model from the issue text.

Assessment

Tech stack
matplotlib, python
Domain
data-visualization, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.