Comments (3)
Looks like an error related to numba, not paretoset.
- Can you import numba without getting an error?
- What are the versions?
from paretoset.
Thanks! I have solved irt.
But I encountered another problem:
Now, I can run the code but I do not have any visualizations (no displayed results)
For instance, for the first cell, I had to add print(mask) and print(paretoset_hotels) to see the results:
from paretoset import paretoset
import pandas as pd
hotels = pd.DataFrame({"price": [50, 53, 62, 87, 83, 39, 60, 44],
"distance_to_beach": [13, 21, 19, 13, 5, 22, 22, 25]})
mask = paretoset(hotels, sense=["min", "min"])
print(mask)
paretoset_hotels = hotels[mask]
print(paretoset_hotels)
Results:
[ True False False False True True False False]
price distance_to_beach
0 50 13
4 83 5
5 39 22
How can I print the graphs?
Thank you.
from paretoset.
You need to use a plotting library such as "matplotlib". I don't have time or capacity to help you with this. I will close this as plotting is not a problem related to this package. Check out e.g. reddit or stackoverflow or discord to get help with Python and data analysis in general. Best of luck!
from paretoset.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paretoset.