simplifying API
See original GitHub issueThe API could be simplified in a few places. For example:
- In
hyp.plot
we could include analign
flag that runshyp.tools.align
on the data if set toTrue
(default:False
). - In
hyp.tools.align
andhyp.tools.procrustes
we could include andims
flag that runshyp.tools.reduce
on the dataset prior to alignment if notNone
(default:None
) - In
hyp.tools.align
andhyp.tools.procrustes
, if the data matrices don’t have the same numbers of features, we should zero-pad all of the matrices to ensure they have the same number of features as the matrix with the most features - in
hyp.tools.load
we could includealign
andndims
flags that pass the data through the appropriate other functions (hyp.tools.reduce
, followed byhyp.tools.align
) so that the reduced/aligned data are returned from the start, without needed to save extra copies of the dataset
Issue Analytics
- State:
- Created 6 years ago
- Comments:20 (14 by maintainers)
Top Results From Across the Web
Authorization - Simplify API
API and example code needed to accept payments through Simplify Commerce.
Read more >Simplified API
Simplified APIs are a set of user friendly REST APIs. Send Help Center feedback.
Read more >5 Understanding the Simplified API Programming Model
The main interface in the simplified API is JMSContext that combines the functions of the Connection and Session objects of the JMS 1.1...
Read more >Simplifying API Development - InfoQ
Abhinav Asthana discusses methods for simplifying API development.
Read more >API Simplification
APIs are simplified from three bucket constructors to a single bucket constructor so that you don't have to remember multiple properties. Even if...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
all good! pushing to pip!
@jeremymanning - re dataframes, we do not do any reordering. If the input data is a dataframe (or list of dfs) we:
return_labels=True
I’ll add an issue to check to see if the column labels are the same across dfs when reducing. if they are the same, just out of order, they will be resorted.
@rarredon I will be working on hypertools all day today, so ping me if you need clarification as things come up!