-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lattice_memebers.Concept vs _common.Concept API #23
Comments
Thanks. For context: so far we did not expose the underlying bitsets and we are starting to to this with +1 that it's probably confusing that All of this applies analogously for intent/properties. |
See also: concepts/concepts/lattice_members.py Lines 381 to 389 in c809276
|
I know that Maybe in this context we can also think about #21, since I feel it can be useful to iterate over attribute bitset vectors and object bitset vectors which are present in the concept (maybe in the form of dict, since we want to access these vectors by object/attribute name). Thanks! |
Hehe, good. I actually had to look it up first.. :) Re: #21, if we expose the bitsets, could that rather be a method on them (cf. e.g. For me it's a bit hard to wrap my head around this transformation (objects_vectors = the extents of each individual intent of a concept). Not sure if this is a common use case (maybe there is better naming, e.g. avoid exposing the term 'vector', which IIRC was more of an internal thing before; if we use it for type annotations, maybe we should use a better name). This is about the similarity between the indivudual extent items and the indivudual intent items looking at the context table, right (I guess this might make less sense when using FCA for definitions of feature systems, which tend to be minimalistic, but more for real world data with all kinds of redundancies)? |
Not sure exactly what do you mean by that. But based on the following, you get the main idea right.
That is correct, for me, it is fine to have this as hidden API. It can be useful (as you mentioned) for calculating similarity of all extent items in given formal concept. I mainly need it for applications in Naming wise, |
In my old FCA library I have this method as part of formal context, called |
Hi,
I found quite counter-intuitive (for me) API naming.
In case of
_common.Concept
we haveIn case of
lattice_members.Concept
we haveand Concept.objects works differently.
I would prefer to have same API, that is,
Vector
extent can be hidden inconcept._extent
property, public list of members names can beconcept.extent
orconcept.objects
and originalconcept.objects
can be renamed.The text was updated successfully, but these errors were encountered: