Comments (4)
Thanks for the feedback (happy if this is useful to anyone).
lattice reduction
I think I am not familiar. Do you mean this method?
https://github.com/simplerick/nn_fca/blob/master/local/fca.py#L244-L249
Not sure if it uses the stability currently:
https://github.com/simplerick/nn_fca/blob/master/local/fca.py#L198-L203
Would this be for removing (omitting) arbitrary nodes from the graph when rendering for visualization or rather for keeping the reduced graph structure for further usage? Both Context
and Lattice
instances are treated as immutable in this library (and they point to each other); so the latter might require introducing a new type for a mutable graph detached from a context/lattice, but maybe there are other options.
from concepts.
I must admit I'm a novice, all I know about reduction/clarification is from this unit of the Coursera course on FCA. The basic idea, as I understand it, is that you set a cutoff point for stability, support or probability of concepts and eliminate them from the line graph to make it less noisy.
I'm mainly interested in this for the purposes of visualizing overall lattice structure, so mutating the data structures probably wouldn't be necessary.
from concepts.
Thanks for the link. IIUC both clarification and reduction are applied to the context (rather than its lattice) creating a new clarified/reduced context. So the reduced_lattice()
-method mentioned above looks like a different kind of operation.
Adding e.g. Context.clarified()
(or Definition.clarified()
) seems straightforward (not sure if you have identical objects/attributes); I suspect .clarified(reduced=True)
might require to dig in a bit into possible algorithms.
When it comes to removing nodes from the lattice graph (only for visualization or creating a new graph), I am wondering about the exact semantics: Say we have A < {B, C} < D
, then removing B
means removing the node and its edges (A, B)
and (B, D)
. Removing C
afterwards would additionally involve adding an edge (A, D)
to keep the former transitive relations, right? Not sure if reduced_lattice()
does that.
from concepts.
I think I need to do some more reading in this area. Since my original question was based on a misunderstanding, I'm going to close this issue. I'll come back to it when I have a better understanding.
from concepts.
Related Issues (8)
- You cant have a context with only one Object. HOT 1
- Saving lattice visualization to a file HOT 3
- Access to concepts themselves HOT 3
- lattice_memebers.Concept vs _common.Concept API HOT 6
- Concept from pandas dataframe HOT 2
- missing middle level labels ? HOT 3
- Scalable method for deserializing lattice objects? HOT 15
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 concepts.