Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: sklearn Polynomial Features Graphing
Post: sklearn Polynomial Features Graphing

Here is the code I have written so far: from sklearn.preprocessing import PolynomialFeatures x=data['True Vertical Depth'] y=data['Cum Oil'] poly.fit_transform(x[:,None]) from sklearn.pipeline import...
pegn305 Homework 0 2,350 Mar-02-2018, 10:22 PM
    Thread: "List index out of range" for output values
Post: RE: "List index out of range" for output values

I have tried to just do print "variable name" and all the code before the output loop works to correctly calculate values. So I'm not sure what you mean by hard coding that snippet that I have posted....
pegn305 Homework 3 5,355 Nov-25-2017, 04:39 PM
    Thread: "List index out of range" for output values
Post: "List index out of range" for output values

Hi! I'm attempting to take calculated values from a loop and output them into a text file. I currently have: fout = open("Wishbone 1N-24HZ Output.txt", "w") while p!=W: fout.write("{:f} {:f} {:f...
pegn305 Homework 3 5,355 Nov-24-2017, 09:44 PM
    Thread: Using a list like an array
Post: RE: Using a list like an array

Ok, I've read up a little on append() and it seems like that adds to the list. I'm not trying to add, as I have all the data. I am trying to call in all the data to a loop, but with only two points at...
pegn305 Homework 3 3,193 Nov-22-2017, 10:53 PM
    Thread: Using a list like an array
Post: Using a list like an array

I'm new to python, but have been coding in VBA for a while. I need to move some of my VBA code to python. So far I have this to import data from a next file and put it into a list. md=[] """Measure...
pegn305 Homework 3 3,193 Nov-22-2017, 06:19 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020