MLVisualizationTools 0.7.5__py3-none-any.whl → 0.7.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,15 +6,9 @@ import pandas as pd
6
6
  # The modified file was moved to train.csv
7
7
  # All operations performed are standard preprocessing
8
8
 
9
- # noinspection PyProtectedMember
10
- try:
11
- pd.set_option('future.no_silent_downcasting', True) #removes downcasting errors
12
- except pd._config.config.OptionError:
13
- pass #This is fine - will throw dep warning on new version without it
14
-
15
9
  def main():
16
10
  df = pd.read_csv(fileloader('examples/Datasets/Titanic/train_orig.csv'))
17
- df.drop(['PassengerId', 'Name', 'Ticket', 'Cabin'], axis=1, inplace=True) #these cols don't have much useful data
11
+ df = df.drop(['PassengerId', 'Name', 'Ticket', 'Cabin'], axis=1) #these cols don't have much useful data
18
12
  df['Age'] = df['Age'].fillna(df['Age'].mean()) #this data has lots of nan values
19
13
  df = df[df['Embarked'].notna()] #this col is only missing two values
20
14
  df["Embarked"] = df["Embarked"].replace({"C": 0, "S": 1, "Q": 2}) #numerical values are better for training
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MLVisualizationTools
3
- Version: 0.7.5
3
+ Version: 0.7.7
4
4
  Summary: A set of functions and demos to make machine learning projects easier to understand through effective visualizations.
5
5
  Home-page: https://github.com/RobertJN64/MLVisualizationTools
6
6
  Author: Robert Nies
@@ -9,12 +9,11 @@ License: MIT
9
9
  Classifier: Programming Language :: Python
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: 3 :: Only
12
- Classifier: Programming Language :: Python :: 3.8
13
- Classifier: Programming Language :: Python :: 3.9
14
- Classifier: Programming Language :: Python :: 3.10
15
12
  Classifier: Programming Language :: Python :: 3.11
16
13
  Classifier: Programming Language :: Python :: 3.12
17
- Requires-Python: >=3.8
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Programming Language :: Python :: 3.14
16
+ Requires-Python: >=3.11
18
17
  Description-Content-Type: text/markdown
19
18
  License-File: LICENSE
20
19
  Requires-Dist: pandas
@@ -18,7 +18,7 @@ MLVisualizationTools/examples/MatplotlibDemo.py,sha256=g627uDa2Oq1uJMWbk8BlOFBC3
18
18
  MLVisualizationTools/examples/RemoveFeatureDemo.py,sha256=Qn5oC8OhXu4QpbpE43NnISTYLKs44IHVJ5oHudn0ovw,811
19
19
  MLVisualizationTools/examples/SklearnDemo.py,sha256=X9IlM9ccS0GB0m2dZW2XnVVSR5rT9dEClrGG_QaXas8,1453
20
20
  MLVisualizationTools/examples/TrainTitanicModel.py,sha256=tV8wkV9lOFpJvXfqQS9-NsZpH8gTAMzetUK4kIE6egM,1832
21
- MLVisualizationTools/examples/Datasets/Titanic/TitanicDemoPreprocess.py,sha256=bL6cbyrNKNhC8OZqDn79wOfakRRtC0B_RilLLWVj70Y,1192
21
+ MLVisualizationTools/examples/Datasets/Titanic/TitanicDemoPreprocess.py,sha256=xR8bqY7TuOv5vofsYFMSg7GOivqeWxw0PTORRgL3Rng,948
22
22
  MLVisualizationTools/examples/Datasets/Titanic/train.csv,sha256=sFEDxBbwjkjPMADFFO7uLCBpsFCGC4Dtqo-6zO74y0A,22848
23
23
  MLVisualizationTools/examples/Datasets/Titanic/train_orig.csv,sha256=SkN_3gX-UmThcBpzh6xvt1OTdyuji7LJxWZAWvWvS9c,60302
24
24
  MLVisualizationTools/examples/Models/titanicmodel.keras,sha256=W8ZMJvuiRS_rlqW3oOpZIrxIAZizYqL0ACXOWWyNb_M,22319
@@ -31,8 +31,8 @@ MLVisualizationTools/express/DashModelVisualizer.py,sha256=ZMmsO8PxQ4KP9eI9XXo_s
31
31
  MLVisualizationTools/express/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
32
  MLVisualizationTools/theme_assets/dark_assets/darktheme.css,sha256=oUDm4B38eZZdCgW19eaikIFtPCYy6lW3xMrHH62NIKs,9473
33
33
  MLVisualizationTools/theme_assets/light_assets/lighttheme.css,sha256=WZtoP8pxv2EX_L9UMt99XuL-glzLlc_oBI2P-QK7AyY,82
34
- mlvisualizationtools-0.7.5.dist-info/licenses/LICENSE,sha256=_51uDCYkBuFe8igxf5GL1MeYy_U9yux8fwvXLRHDOdM,1050
35
- mlvisualizationtools-0.7.5.dist-info/METADATA,sha256=chF3H_EyuC0E6TjCJDvEVpbdnZO2KRwJ3QH3OnrR07w,6566
36
- mlvisualizationtools-0.7.5.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
37
- mlvisualizationtools-0.7.5.dist-info/top_level.txt,sha256=lOdCZd0Sb0J6Cf_--kCquNmij5HuY6bPjyaAa0JzguM,21
38
- mlvisualizationtools-0.7.5.dist-info/RECORD,,
34
+ mlvisualizationtools-0.7.7.dist-info/licenses/LICENSE,sha256=_51uDCYkBuFe8igxf5GL1MeYy_U9yux8fwvXLRHDOdM,1050
35
+ mlvisualizationtools-0.7.7.dist-info/METADATA,sha256=BkaIi-PS9GHi7CGk_M6KzMRVYxv9f9XyYHKxl8XmoOA,6518
36
+ mlvisualizationtools-0.7.7.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
37
+ mlvisualizationtools-0.7.7.dist-info/top_level.txt,sha256=lOdCZd0Sb0J6Cf_--kCquNmij5HuY6bPjyaAa0JzguM,21
38
+ mlvisualizationtools-0.7.7.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (77.0.3)
2
+ Generator: setuptools (84.2.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5