-
-
Notifications
You must be signed in to change notification settings - Fork 555
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
MLP Regressor: ValueError: shapes (110,4) and (2,110) not aligned: 4 (dim 1) != 2 (dim 0) #1460
Comments
Hey there. We'll need a minimal reproducible example to debug this. |
Here the y= {2687426: 14215280005135267334, 2687427: 14215280004681986824, 2687428: 14215279982014841758, 2687429: 14215280004977614736, 2687430: 14215279982216274169, 2687431: 14215280017101476860, 2687432: 14215280005017827787, 2687433: 14215280004315897140, 2687434: 14215279981902924563, 2687435: 14215280005030779204, 2687436: 14215280005593751519, 2687437: 14215280005430167992, 2687438: 14215280005452569596, 2687439: 14215280005830354591, 2687440: 14215279982236608587, 2687441: 14215280005449636502, 2687442: 14215279982217458002, 2687443: 14215280005431922240, 2687444: 14215280004980597014, 2687445: 14215279981960776565, 2687446: 14215279993732558229, 2687447: 14215280005059108555, 2687448: 14215280005016534805, 2687449: 14215279993718879831, 2687450: 14215279982243479269, 2687451: 14215280004970584696, 2687452: 14215280005025342287, 2687453: 14215279993790856001, 2687454: 14215279982265711690, 2687455: 14215280016939085801, 2687456: 14215279982217877330, 2687457: 14215279982280744323, 2687458: 14215279982277169680, 2687459: 14215279982223342251, 2687460: 14215280005823598253, 2687461: 14215280005619421060, 2687462: 14215280005879186037, 2687463: 14215280005835669080, 2687464: 14215279993744387170, 2687465: 14215280005841504034, 2687466: 14215280005546685808, 2687467: 14215279982275301032, 2687468: 14215279982165960380, 2687469: 14215279981077496421, 2687470: 14215280005848827175, 2687471: 14215280004980134601, 2687472: 14215279982012074358, 2687473: 14215279993737211019, 2687474: 14215280005851733438, 2687475: 14215280005141367274, 2687476: 14215280005027850549, 2687477: 14215279982244377109, 2687478: 14215280005843282550, 2687479: 14215280004683877565, 2687480: 14215280004944002243, 2687481: 14215280005141129043, 2687482: 14215279993738234220, 2687483: 14215280005038123832, 2687484: 14215280005140478253, 2687485: 14215280004981401816, 2687486: 14215280004943395013, 2687487: 14215279981953799259, 2687488: 14215280005650039995, 2687489: 14215279982014350565, 2687490: 14215280005881039261, 2687491: 14215280004928876975, 2687492: 14215280005832330887, 2687493: 14215280016995769654, 2687494: 14215279981959811125, 2687495: 14215280005057490296, 2687496: 14215280004673312534, 2687497: 14215279982267390265, 2687498: 14215279993788847180, 2687499: 14215280005425039533, 2687500: 14215279993819972871, 2687501: 14215280005823021169, 2687502: 14215280004672665011, 2687503: 14215279982264896121, 2687504: 14215280004670554080, 2687505: 14215279982203411590, 2687506: 14215280017230983570, 2687507: 14215279982246738021, 2687508: 14215279993796011239, 2687509: 14215280017739183931, 2687510: 14215279982280347257, 2687511: 14215279993737062374, 2687512: 14215280005848370216, 2687513: 14215280005643970356, 2687514: 14215279982241829200, 2687515: 14215279981091034521, 2687516: 14215280005401518460, 2687517: 14215280005871618010, 2687518: 14215280005601309734, 2687519: 14215280005868027302, 2687520: 14215280005872857420, 2687521: 14215279981278336594, 2687522: 14215279993744205454, 2687523: 14215280005832934191, 2687524: 14215279981918383142, 2687525: 14215280004927065192, 2687526: 14215279981279121258, 2687527: 14215280017040872308, 2687528: 14215279981282308749, 2687529: 14215279993791785473, 2687530: 14215279981930449370, 2687531: 14215279994859874981, 2687532: 14215279993815131476, 2687533: 14215279980995520310, 2687534: 14215279980216847709, 2687535: 14215280018586660863} import pandas as pd please, let me know if you require more data. Note the number of rows varies. Thanks |
Did you have the change to replicate the issue? thanks |
I haven't had time yet. I'll let you know when I do. |
I'm trying to use the MLPRegressor model to learn a batch (learn_many, pred_many) of dataframes with variable dimensions in the number of rows, however the number of columns is 2 (x) and target y of only one.
If I configure the model as:
I got this error:
How should I modify the above model to suite my data? Should I put in inside the loop to control each time the number of rows?
The text was updated successfully, but these errors were encountered: