Giter Site home page Giter Site logo

varclushi's People

Contributors

jingtt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

varclushi's Issues

DIfferent results on Each fresh run

I noticed that this algorithm gives different results, every time I restart my jupyter notebook kernel/start a new session.
This algorithm is not using any Random functions, what can be the reason behind this issue?

AttributeError: 'Rotator' object has no attribute 'rotate'


AttributeError Traceback (most recent call last)
in ()
----> 1 demo1_vc.varclus()

/usr/local/envs/py3env/lib/python3.5/site-packages/varclushi/varclushi.py in varclus(self, speedup)
213
214 if self.speedup is True:
--> 215 return self._varclusspu()
216
217 ClusInfo = collections.namedtuple('ClusInfo', ['clus','eigval1','eigval2','pc1','varprop'])

/usr/local/envs/py3env/lib/python3.5/site-packages/varclushi/varclushi.py in _varclusspu(self)
168 clus1, clus2 = [], []
169 rotator = Rotator()
--> 170 r_eigvecs = rotator.rotate(pd.DataFrame(c_eigvecs), 'quartimax')[0].values
171
172 comb_sigma1 = math.sqrt(np.dot(np.dot(r_eigvecs[:, 0], split_corrs.values), r_eigvecs[:, 0].T))

AttributeError: 'Rotator' object has no attribute 'rotate'\

After running the wine example, I am receiving the error: AttributeError: 'Rotator' object has no attribute 'rotate'

Thanks

Number of clusters formed is 0

Hi,

I am trying to incorporate this method as a feature selection process, But when I used this algorithm, I am only able to find 0 clusters (There are round 600 features and 800K train samples in my data). Is there any way this problem can be solved.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.