Quantcast
Channel: Getting model attributes from pipeline - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Guillaume Chevalier for Getting model attributes from pipeline

Using NeuraxleWorking with pipelines is simpler using Neuraxle. For instance, you can do this: from neuraxle.pipeline import Pipeline# Create and fit the pipeline: pipeline = Pipeline([...

View Article



Answer by Andreas Mueller for Getting model attributes from pipeline

Did you look at the documentation: http://scikit-learn.org/dev/modules/pipeline.htmlI feel it is pretty clear.Update: in 0.21 you can use just square brackets:pipeline['pca']or indicespipeline[1]There...

View Article

Getting model attributes from pipeline

I typically get PCA loadings like this:pca = PCA(n_components=2)X_t = pca.fit(X).transform(X)loadings = pca.components_If I run PCA using a scikit-learn pipeline:from sklearn.pipeline import...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images