42-ai / bootcamp_python Goto Github PK
View Code? Open in Web Editor NEWBootcamp to learn Python for Machine Learning
License: Other
Bootcamp to learn Python for Machine Learning
License: Other
Scope has to be defined
curl - class Sessions, regex : re lib
django
[le sujet ou une solution]Reverse 00 and 01
bash build.sh && pip install ./dist/42ai-1.0.0.tar.gz
Noticed the pdfs are ~8mb which is a lot for a text file, and sometimes slow to open: I suggest to compress them with any free online tool.
For instance here
Cheers! 🐍
in ex00 of day01,
If the idea is to reuse the dictionnary of ex06 in day00, in order to match the meal types between the 2 exercises, the 3 keys in recipes_list (dict) of ex00 day01 should be "starter", "lunch", "dessert" instead of "starter", "main_course", "dessert"
To avoid misunderstanding (the forbidden func of this exercice is 'None') add Forbidden library : Numpy
"You will also be able to install packages via pip using this script."
Vous voulez dire qu'on devrait par le même installer.sh pouvoir appeler pip ? Selon quelle syntaxe ? Tout argument qui n'est pas "install-python" appelle pip3 [mon_argument]
?
For divisions,
in Python3 it seems there is no operator such as div and rdiv, it should be truediv and rtruediv instead
Dans l'énoncé, on demande "a function that takes 2 numbers as parameters" mais on ne sait pas comment traiter les float (si par exemple on essaye python operations.py 10.5 3). Perso, je considère qu'on attend 2 int en paramètres :)
Description of day --
Notion 1, Notion 2, ...
How to install and link python in the $PATH
export ....
install ....
celluloid has to be explain a bit more
IANAL
MIT license covers this software and associated documentation files
but the repository only contains documents. Also one could argue sparse pieces of source code in these documents is not software.
You may consider using a Creative Commons license like CC-BY-SA.
And why not tell that included source code is in public domain so anyone can use it? In a tutorial, source code will be copied without following the license, so better to ease the task legally.
If you include pdf build scripts, these indeed will be software though.
function that returns and object
function that returns an object
Turnin direcctory : | ex00 |
Files to turn in : | *.py |
Forbidden function : | None |
Remarks : | n/a |
Description of the exercice
print("Code example")
This branch the tools of the pool:
OLLEw
with OLLEh
in example.\n
has to be written at the end.Return the functional part.
)prep_time
should be in minuteslist
used as a variable change it with listy
TO REVIEW:
Has to remove this folder. Now pdfBuilder is another repo.
Scope has to be defined
We have really bad feedbacks concerning this exercice we have to change it to make it simpler
from_shape(shape, value) : une variable taille et une valeur.
La valeur par default dans le prototype.
==> from_shape(shape, value=0) : une variable taille et une valeur. ()
Notions:
Maybe it would be necessary to add visual examples (pictures of plots) and to write shorter explanations.
In the outputs:
npc.from_iterable(range(5)) should be on a new line
"You have handle the error if the arg passed in add_recipe is not a recipe."
->
"You will have to handle the error if the arg passed in add_recipe is not a recipe."
On the last line of the ex00 desciption
"...and also to keep the first line as header is headers is True."
Seems it should be:
"...and also to keep the first line as header is True."
$> python exec.py "Hello World!"
!DLROw OLLEw
$> python exec.py "Hello" "my Friend"
DNEIRf YM OLLEw
devrait être
$> python exec.py "Hello World!"
!DLROw OLLEh
$> python exec.py "Hello" "my Friend"
DNEIRf YM OLLEh
(h plutôt que w)
There is version control markers at the end of the day01 pdf
<<<<<<< HEAD
Check out the dir function.
=======
WARNING: YOU WILL HAVE TO MODIFY THE INSTANCES ATTRIBUTES IN ORDER TO
FIX THEM.
>>>>>>> dev
0.02307969707897584
) to 0.01935634328358209
.sp.where(2162)
is not in the dataset and sp.when('Atlanta')
olympic games took place in 1996, neither in 1903 nor 2042.mathplotlin.pyplot.hist()
) screenshots for more clarity. All images must be put in an assets
directory at the root of the day folder.feature
from ML and data science terminology can be a little bit confusing at the beginning.mathplotlin.pyplot.hist()
) screenshots for more clarity. All images must be put in an assets
directory at the root of the day folder.Haven't been tested
Notions:
The links
https://docs.python.org/en/3/library/datetime.html#datetime.datetime
https://docs.python.org/en/3/library/datetime.html#datetime.datetime
The 2 links given are the same and return a 404 error
this :
https://docs.python.org/3/library/datetime.html
seems to be the correct link for datetime
Notions:
create a readme for the repo
And remove the file PYTHON2019.md
We also want to give credits to the contributors and the beta-testers.
import recipe
34.0
Hi,
In the Conda automated install topic, there is this line :
echo "export PATH=$MINICONDA_PATH:$PATH" >> ~/.zshrc
The thing is that if you have a PATH like:
/bar:/my/folder/with space/:/foo
the sourcing will fail because of invalid format of the variable (it expands environment variable).
Replacing double quotes with single should resolve this issue.
Hope it helps !
Edit:
My bad, it creates other issues.
But escaping the $ of $PATH should resolve the issue.
Le sujet nous donne :
function prototype
def generator(text, sep=None, option=None):
'''Option is an optionnal arg, sep is mandatory'''
The sep argument is noted as sep=None which in my understanding contradict
the statement that "sep is mandatory".
Also, optionnal => optional
Apparently some confusion on what text_analyzer should do when the number of arguments is greater than 1.
Examples
text_analyzer("this is the first sentence.", "this is a second sentence.").
"Write a program to display the string above right-aligned with '-' padding and a total length of
42 characters: "
L exemple d'output donne pour "python kata03.py | wc -c" donne 42 pour resultat
me semble incorrect, selon moi le resultat attendu devrait etre 43 (42 char + \n)
➜ ex05 python kata03.py | cat -e
--------------------------The right format$
➜ ex05 python kata03.py | wc -c
43
Je ne suis pas sur de moi sur celle la mais je vous invite a check
First assign your self to the related issue.
In order to create content for the piscine you will have to create a branch with the following template : day/XX/phaseY
(where XX is the number of the day and Y the related Phase)
The day folder will have the following architecture :
└── day00
├── day00.md
├── ex00
│ └── ex00.md
├── ex01
│ └── ex01.md
└── ex02
└── ex02.md
Turn-in directory is set to ex00 instead of ex01 on the .pdf.
add
radd
sub
rsub
truediv
rtruediv
mul
rmul
str
repr
Dans l'exemple, la même ligne de commande donne 2 comportements différents:
$> ./installer.sh install-python
[v] python is installed.
$> ./installer.sh install-python
Python is already installed, do you want to reinstall it ?
In the subject it s written : • length : size of the vector
But length seems to be "number of coords in vector"
Thank you
D'ou sort Loadjson ?
Sous class de CsvReader ?
from csvreader import CsvReader
if name == "main":
with Loadjson('good.csv') as file:
data = file.getdata()
header = file.getheader()
python exec.py "Hello" "my Friend" | cat -e
DNEIRf YM OLLEw$
'w' instead of 'h'
We have to create a list a of general rules and add them to all day[xx].md files.
day03 ex02:permorm
; did you mean perform
?
day03 ex03: "(.arange ?)" qui flotte dans le doute
day04 ex06: pourrait avoir des page-end afin de mieux organiser les diagrammes et leurs titres
day04 ex07: "BONUS: Your functions can also accept a list of numerical variables, and output comparison plots for each feature against different"...
Dans l'exo 10 du day 00, il est demandé de faire une fonction ft_progress(list)
. Mettre list
comme nom de variable redéfinie le nom built-in list
.
Notions:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.